Loop getting optimized out in mesh shader #3401
Labels
goal:client support
Needed to support a slang use case
kind:bug
something doesn't work like it should
priority:high
required for next milestone
Milestone
When declaring a simple loop to output data from a mesh shader, the loop completely disappears when outputting glsl code (probably also for other targets, but I can't read spriv-asm and nothing is shown on screen).
Example modified from the test cases:
To test, i compiled this on the commandline with:
slangc.exe test.slang -profile sm_6_6 -target glsl -entry meshMain -capability spirv_1_5 -o test.glsl
The text was updated successfully, but these errors were encountered: