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
- Shader Graph's Simple Noise node preview is black when no Active Targets are selected
- AudioSource starts playing at full volume when AudioMixerGroup is unloaded
- Audio fails to play in the WebGL Player when its clips are played in the Timeline
- Create Node Menu is not closing and “NullReferenceException: Object reference not set to an instance of an object” error is thrown when Shader Graph window is closed
- Assert error is thrown when the Editor language is set to one of the experimental ones in an HDRP project
Add comment