SPIRV NonUniformResourceIndex - NonUniform Decoration missing for the array index variable #6010
Labels
goal:quality & productivity
Quality issues and issues that impact our productivity coding day to day inside slang
kind:bug
something doesn't work like it should
Milestone
The output of the array access get currentlly the nonUniform decoration instead of the input index.
I attached two version of the fragment shader. The first version produces an invalid shader output because some drivers assumes that the index is uniform. The second shader variant works as expected.
Fragment shader
Fragment spriv-dis
Workaround Fragment Shader
workaround spriv-dis
The text was updated successfully, but these errors were encountered: