Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
2022.3.0f1
6000.2.0a1
6000.3.0a1
6000.4.0a1
6000.5.0a1
Issue ID
UUM-126860
Regression
No
Shaders read from the buffer unconditionally
Steps to reproduce:
- Create a new Unity project
- Copy the attached compute shader to the Assets folder
- Inspect the compiled code for Vulkan, Metal, or OpenGL ES
\\
Actual results:
The read from _BufferB happens unconditionally, leading to undefined behaviour.
Expected results:
The read from _BufferB should happen only if the condition (_BufferA[tid] < _BufferBLength) is satisfied.
\\
Reproducible with versions:
6000.5.0a1, 6000.4.0a1, 6000.3.0a1, 6000.2.0a1, 2022.3.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment