• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1SamplerState       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
12PS_OUTPUT main(int sample : SAMPLE)
13{
14   PS_OUTPUT psout;
15
16   float2 r00 = g_tTex2dmsf4.GetSamplePosition(sample);
17   float2 r01 = g_tTex2dmsf4a.GetSamplePosition(sample);
18
19   psout.Color = 1.0;
20   psout.Depth = 1.0;
21
22   return psout;
23}
24