blob: a1182fb6b0fbfbba8a3284bef9fed2fcfd8999fd [file] [log] [blame]
steve-lunarg68f2c142016-07-26 08:57:53 -06001SamplerState g_sSamp : register(s0);
2
3Texture2DMS <float4> g_tTex2dmsf4;
4Texture2DMSArray <float4> g_tTex2dmsf4a;
5
6struct PS_OUTPUT
7{
8 float4 Color : SV_Target0;
9 float Depth : SV_Depth;
10};
11
steve-lunargd4d0b292017-04-26 08:31:56 -060012PS_OUTPUT main(int sample : SAMPLE)
steve-lunarg68f2c142016-07-26 08:57:53 -060013{
14 PS_OUTPUT psout;
15
steve-lunargd4d0b292017-04-26 08:31:56 -060016 float2 r00 = g_tTex2dmsf4.GetSamplePosition(sample);
17 float2 r01 = g_tTex2dmsf4a.GetSamplePosition(sample);
steve-lunarg68f2c142016-07-26 08:57:53 -060018
19 psout.Color = 1.0;
20 psout.Depth = 1.0;
21
22 return psout;
23}