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_5_0 -target hlsl -no-codegen 2 3// Confirm that we register a shader as sample-rate when 4// it declares (not necessarly *uses*) a `sample` qualified input 5 6struct PSInput 7{ 8float4 extra : EXTRA ; 9 samplefloat4 color : COLOR ; 10}; 11 12float4 main ( PSInput input ) : SV_Target 13{ 14return input . extra + input . color ; 15}