shader-slang / slang

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

CPP/CUDA/Metal target crashes with use of GLSL shader inputs #4377

Closed ArielG-NV closed 2 weeks ago

ArielG-NV commented 2 weeks ago

kIROp_GlobalVariableShadowingGlobalParameterDecoration is applied on some GlobalVar's when using GLSL syntax to define objects.

As a result introduceExplicitGlobalContext fails due to the function never handling/expecting IRDecoration on a GlobalVar.