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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Add comment