HLSL Tests: Fix two tests to be valid under FXC.

This commit is contained in:
John Kessenich
2017-07-31 01:19:26 -06:00
parent 318a379b1f
commit fda6edcbad
4 changed files with 529 additions and 370 deletions

View File

@@ -1,8 +1,8 @@
struct STRUCT_WITH_NO_BUILTIN_INTERSTAGE_IO
{
float m0_array[2];
int m1;
float m0_array[2] : mysemA;
int m1 : mysemB;
};
struct PS_IN
@@ -26,6 +26,9 @@ void main(triangle PS_IN tin[3], inout TriangleStream <GS_OUT> ts )
o.psIn.pos = float4(1,2,3,4);
o.psIn.tc = float2(5,6);
o.contains_no_builtin_io.m0_array[0] = 2.3;
o.contains_no_builtin_io.m0_array[1] = 2.3;
o.contains_no_builtin_io.m1 = 2;
ts.Append(o);
}