shader-slang / slang

Making it easier to work with shaders
MIT License
1.78k stars 159 forks source link

Fix cuda/cpp/metal crash when using GLSL shader inputs #4378

Closed ArielG-NV closed 2 weeks ago

ArielG-NV commented 2 weeks ago

fixes: #4377 Decorations were not expected as an input, this causes a crash since there is no 'context pointer' for a decoration use site.

Previously layout(location = 0) in highp vec4 a_position; caused a crash, now it does not.