Zebediah Figura : d3dcompiler/tests: Add a couple more tests for complex initializers.
Alexandre Julliard
julliard at winehq.org
Fri Aug 9 14:49:32 CDT 2019
Module: wine
Branch: master
Commit: bfe12dc5dde70855034ce4388c51a8cd017ee134
URL: https://source.winehq.org/git/wine.git/?a=commit;h=bfe12dc5dde70855034ce4388c51a8cd017ee134
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Fri Aug 9 09:52:48 2019 -0500
d3dcompiler/tests: Add a couple more tests for complex initializers.
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3dcompiler_43/tests/hlsl.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/dlls/d3dcompiler_43/tests/hlsl.c b/dlls/d3dcompiler_43/tests/hlsl.c
index cef9b4d..9f696ee 100644
--- a/dlls/d3dcompiler_43/tests/hlsl.c
+++ b/dlls/d3dcompiler_43/tests/hlsl.c
@@ -594,6 +594,18 @@ static void test_fail(IDirect3DDevice9 *device, IDirect3DVertexBuffer9 *qquad_ge
" float2 x = 45s;\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;
More information about the wine-cvs
mailing list