steve-lunarg | 68f2c14 | 2016-07-26 08:57:53 -0600 | [diff] [blame] | 1 | SamplerState g_sSamp : register(s0); |
| 2 | |
| 3 | Texture2DMS <float4> g_tTex2dmsf4; |
| 4 | Texture2DMSArray <float4> g_tTex2dmsf4a; |
| 5 | |
| 6 | struct PS_OUTPUT |
| 7 | { |
| 8 | float4 Color : SV_Target0; |
| 9 | float Depth : SV_Depth; |
| 10 | }; |
| 11 | |
steve-lunarg | d4d0b29 | 2017-04-26 08:31:56 -0600 | [diff] [blame] | 12 | PS_OUTPUT main(int sample : SAMPLE) |
steve-lunarg | 68f2c14 | 2016-07-26 08:57:53 -0600 | [diff] [blame] | 13 | { |
| 14 | PS_OUTPUT psout; |
| 15 | |
steve-lunarg | d4d0b29 | 2017-04-26 08:31:56 -0600 | [diff] [blame] | 16 | float2 r00 = g_tTex2dmsf4.GetSamplePosition(sample); |
| 17 | float2 r01 = g_tTex2dmsf4a.GetSamplePosition(sample); |
steve-lunarg | 68f2c14 | 2016-07-26 08:57:53 -0600 | [diff] [blame] | 18 | |
| 19 | psout.Color = 1.0; |
| 20 | psout.Depth = 1.0; |
| 21 | |
| 22 | return psout; |
| 23 | } |