Matteo Bruni : d3dcompiler/tests: Always expect failure in test_reflection_desc_ps_output() on d3d10.
Alexandre Julliard
julliard at winehq.org
Tue Oct 13 15:42:03 CDT 2020
Module: wine
Branch: master
Commit: 4ced409adb110ed5e12e91b0d452029e184c87b4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4ced409adb110ed5e12e91b0d452029e184c87b4
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Tue Oct 13 11:05:37 2020 +0200
d3dcompiler/tests: Always expect failure in test_reflection_desc_ps_output() on d3d10.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49950
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3dcompiler_43/tests/reflection.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/dlls/d3dcompiler_43/tests/reflection.c b/dlls/d3dcompiler_43/tests/reflection.c
index 362e070ede..bc802f016a 100644
--- a/dlls/d3dcompiler_43/tests/reflection.c
+++ b/dlls/d3dcompiler_43/tests/reflection.c
@@ -1010,22 +1010,21 @@ static void test_reflection_desc_ps_output(void)
{
const DWORD *blob;
D3D11_SIGNATURE_PARAMETER_DESC desc;
- BOOL d3d10;
}
tests[] =
{
{test_reflection_desc_ps_output_blob_0,
- {"SV_Target", 3, 3, D3D_NAME_TARGET, D3D_REGISTER_COMPONENT_FLOAT32, 0xf, 0, 0}, TRUE},
+ {"SV_Target", 3, 3, D3D_NAME_TARGET, D3D_REGISTER_COMPONENT_FLOAT32, 0xf, 0, 0}},
{test_reflection_desc_ps_output_blob_1,
- {"SV_DepthLessEqual", 0, 0xffffffff, D3D_NAME_DEPTH_LESS_EQUAL, D3D_REGISTER_COMPONENT_FLOAT32, 0x1, 0xe, 0}, FALSE},
+ {"SV_DepthLessEqual", 0, 0xffffffff, D3D_NAME_DEPTH_LESS_EQUAL, D3D_REGISTER_COMPONENT_FLOAT32, 0x1, 0xe, 0}},
{test_reflection_desc_ps_output_blob_2,
- {"SV_DepthGreaterEqual", 0, 0xffffffff, D3D11_NAME_DEPTH_GREATER_EQUAL, D3D_REGISTER_COMPONENT_FLOAT32, 0x1, 0xe, 0}, FALSE},
+ {"SV_DepthGreaterEqual", 0, 0xffffffff, D3D11_NAME_DEPTH_GREATER_EQUAL, D3D_REGISTER_COMPONENT_FLOAT32, 0x1, 0xe, 0}},
{test_reflection_desc_ps_output_blob_3,
- {"sV_DePtH", 0, 0xffffffff, D3D_NAME_DEPTH, D3D_REGISTER_COMPONENT_FLOAT32, 0x1, 0xe, 0}, FALSE},
+ {"sV_DePtH", 0, 0xffffffff, D3D_NAME_DEPTH, D3D_REGISTER_COMPONENT_FLOAT32, 0x1, 0xe, 0}},
{test_reflection_desc_ps_output_blob_4,
- {"SV_Depth", 0, 0xffffffff, D3D_NAME_DEPTH, D3D_REGISTER_COMPONENT_FLOAT32, 0x1, 0xe, 0}, TRUE},
+ {"SV_Depth", 0, 0xffffffff, D3D_NAME_DEPTH, D3D_REGISTER_COMPONENT_FLOAT32, 0x1, 0xe, 0}},
{test_reflection_desc_ps_output_blob_5,
- {"SV_COVERAGE", 0, 0xffffffff, D3D_NAME_COVERAGE, D3D_REGISTER_COMPONENT_UINT32, 0x1, 0xe, 0}, FALSE},
+ {"SV_COVERAGE", 0, 0xffffffff, D3D_NAME_COVERAGE, D3D_REGISTER_COMPONENT_UINT32, 0x1, 0xe, 0}},
};
HRESULT hr;
ULONG count;
@@ -1038,7 +1037,7 @@ static void test_reflection_desc_ps_output(void)
for (i = 0; i < ARRAY_SIZE(tests); ++i)
{
hr = call_reflect(tests[i].blob, tests[i].blob[6], &IID_ID3D11ShaderReflection, (void **)&ref11);
- if (!D3D_COMPILER_VERSION && !tests[i].d3d10)
+ if (!D3D_COMPILER_VERSION)
{
todo_wine ok(hr == E_INVALIDARG, "(%u): got unexpected hr %x.\n", i, hr);
if (SUCCEEDED(hr))
More information about the wine-cvs
mailing list