2016-07-26 17:57:53 +03:00
|
|
|
SamplerState g_sSamp : register(s0);
|
|
|
|
|
|
|
|
Texture2DMS <float4> g_tTex2dmsf4;
|
|
|
|
Texture2DMSArray <float4> g_tTex2dmsf4a;
|
|
|
|
|
|
|
|
struct PS_OUTPUT
|
|
|
|
{
|
|
|
|
float4 Color : SV_Target0;
|
|
|
|
float Depth : SV_Depth;
|
|
|
|
};
|
|
|
|
|
2017-04-26 17:31:56 +03:00
|
|
|
PS_OUTPUT main(int sample : SAMPLE)
|
2016-07-26 17:57:53 +03:00
|
|
|
{
|
|
|
|
PS_OUTPUT psout;
|
|
|
|
|
2017-04-26 17:31:56 +03:00
|
|
|
float2 r00 = g_tTex2dmsf4.GetSamplePosition(sample);
|
|
|
|
float2 r01 = g_tTex2dmsf4a.GetSamplePosition(sample);
|
2016-07-26 17:57:53 +03:00
|
|
|
|
|
|
|
psout.Color = 1.0;
|
|
|
|
psout.Depth = 1.0;
|
|
|
|
|
|
|
|
return psout;
|
|
|
|
}
|