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 basic reflection info can be output 4 5float4 use ( float4 val ) { return val ; }; 6float4 use ( Texture2D t , SamplerState s ) { return t . Sample ( s , 0.0 ); } 7 8Texture2D t ; 9SamplerState s ; 10 11cbuffer C 12{ 13float c ; 14} 15 16float4 main () : SV_Target 17{ 18return use ( t , s ) + use ( c ); 19}