Search Issue Tracker
Not Reproducible
Votes
0
Found in
2018.4
2019.3
2019.3.10f1
2020.1
2020.2
Issue ID
1247430
Regression
No
HLSL cc compute shader fails to correctly generate uv texture to imageLoad code
How to reproduce:
1. Open attached project "TestXY.zip"
2. In Project window, double-click on "test.compute" file and observe line 12 and 13
3. In Inspector window, click on "Show compiled code"
4. Observe line 17 and 18 of the opened window ("Compiled-test-.shader")
Expected result: at the end .x is picked
u_xlat0.x = imageLoad(outputTexture, ivec2(gl_GlobalInvocationID.xy)).x;
u_xlat0.y = imageLoad(outputTexture2, ivec2(gl_GlobalInvocationID.xy)).x;
Actual result: at the end .x and .y are picked
u_xlat0.x = imageLoad(outputTexture, ivec2(gl_GlobalInvocationID.xy)).x;
u_xlat0.y = imageLoad(outputTexture2, ivec2(gl_GlobalInvocationID.xy)).y;
Reproducible with: 2018.4.23f1, 2019.3.13f1, 2020.1.0b9, 2020.2.0a11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Add comment