d3dcompiler/tests: Add a couple more tests for complex initializers.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9501c6e691
commit
bfe12dc5dd
|
@ -594,6 +594,18 @@ static void test_fail(IDirect3DDevice9 *device, IDirect3DVertexBuffer9 *qquad_ge
|
||||||
" float2 x = 45s;\n"
|
" float2 x = 45s;\n"
|
||||||
" return float4(x.x, x.y, 0, 0);\n"
|
" return float4(x.x, x.y, 0, 0);\n"
|
||||||
"}",
|
"}",
|
||||||
|
|
||||||
|
"float4 test(float2 pos: TEXCOORD0) : COLOR\n"
|
||||||
|
"{\n"
|
||||||
|
" struct { int b,c; } x = {0};\n"
|
||||||
|
" return y;\n"
|
||||||
|
"}",
|
||||||
|
|
||||||
|
"float4 test(float2 pos: TEXCOORD0) : COLOR\n"
|
||||||
|
"{\n"
|
||||||
|
" struct {} x = {};\n"
|
||||||
|
" return y;\n"
|
||||||
|
"}",
|
||||||
};
|
};
|
||||||
|
|
||||||
ID3D10Blob *compiled, *errors;
|
ID3D10Blob *compiled, *errors;
|
||||||
|
|
Loading…
Reference in New Issue