yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
5b0c50763
master
1//TEST_IGNORE_FILE 2//TEST:REFLECTION:-profile ps_4_0 -target hlsl 3 4// Confirm that we handle uniforms at global scope 5 6 7float4 u ; 8 9Texture2D t ; 10SamplerState s ; 11 12cbuffer CB 13{ 14float4 v ; 15} 16 17float4 w ; 18 19float4 main () : SV_Target 20{ 21return u + v + w + t . Sample ( s , u . xy ); 22}