blob: 928bdb1c9a7a4f072d906fc2e83b8390e63641af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// shared-modifier.hlsl
//TEST:REFLECTION:-profile ps_5_0 -target hlsl -no-codegen
// Confirm that we expose the `shared` modifier in reflection data.
Texture2D t;
shared SamplerState s;
float4 main(float2 uv : UV) : SV_Target
{
return t.Sample(s, uv);
}
|