yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
69cb6e8f3
master
1// shared-modifier.hlsl 2//TEST:REFLECTION:-profile ps_5_0 -target hlsl -no-codegen 3 4// Confirm that we expose the `shared` modifier in reflection data. 5 6Texture2D t ; 7sharedSamplerState s ; 8 9float4 main ( float2 uv : UV ) : SV_Target 10{ 11return t . Sample ( s , uv ); 12}