yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
69cb6e8f3
master
1//TEST:REFLECTION:-profile ps_4_0 -target hlsl -no-codegen 2 3// Confirm that shader parameters in imported modules get reflected properly. 4 5__import reflect_imported_code ; 6 7Texture2D t ; 8SamplerState s ; 9 10cbuffer C 11{ 12float c ; 13} 14 15float4 main () : SV_Target 16{ 17return use ( t , s_i ) 18+ use ( c ) 19+ use ( t_i , s ) 20+ use ( c_i ); 21}