shader-slang / slang

Making it easier to work with shaders
MIT License
1.79k stars 160 forks source link

Address glslang ordering requirments for 'derivative_group_*NV' #4323

Closed ArielG-NV closed 4 weeks ago

ArielG-NV commented 4 weeks ago

fixes: #4305

The solution is to emit some layouts after a module source is emitted.

Added to slangs gfx backend code to enable the compute shader derivative extension for testing purposes.

jkwak-work commented 4 weeks ago

Can you enable the last test in "tests/glsl-intrinsic/intrinsic-texture.slang" as a part of this change?