HLSL: Tests: Add subset of flattened opaque test to legalize results.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user