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
- Keywords on Material Variants aren't automatically saved when changed on original Material through Shader Graph
- Light Probes get baked when calling LightProbes.Tetrahedralize
- Shadows flicker and cause visual artifacts when modifying a GameObject's bounds using Swizzle (Y Mask) and Sine Time nodes
- [WebGL] Frame rate drops by 5-20 fps when moving cursor or touch input in the Player
- Light bleeds when using box shaped spotlight with specific Emission Range values
Add comment