HLSL: Tests: Add subset of flattened opaque test to legalize results.
This commit is contained in:
parent
908813c25d
commit
592e8f0441
4 changed files with 192 additions and 108 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue