HLSL: Tests: Add subset of flattened opaque test to legalize results.

This commit is contained in:
John Kessenich
2017-10-06 21:01:07 -06:00
parent 908813c25d
commit 592e8f0441
4 changed files with 192 additions and 108 deletions

View File

@@ -23,10 +23,14 @@ struct S2
S1 resources;
};
SamplerState samp;
Texture2D tex;
float4 main(float4 vpos : VPOS) : COLOR0
{
S1 s1;
S2 s2;
s1.s0.ss = samp;
s2.resources = s1;
return float4(0,0,0,0);
return tex.Sample(s2.resources.s0.ss, float2(0.5));
}