=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: tests: Skip stencil shader resource view tests on Windows AMD drivers.
Alexandre Julliard
julliard at winehq.org
Mon Dec 17 12:29:00 CST 2018
Module: vkd3d
Branch: master
Commit: 128dadaac1a5b9ef8c743a476753f84c19b994c9
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=128dadaac1a5b9ef8c743a476753f84c19b994c9
Author: Józef Kucia <jkucia at codeweavers.com>
Date: Thu Dec 13 10:28:42 2018 +0100
tests: Skip stencil shader resource view tests on Windows AMD drivers.
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
tests/d3d12.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/tests/d3d12.c b/tests/d3d12.c
index 7fe54c9..7d67de2 100644
--- a/tests/d3d12.c
+++ b/tests/d3d12.c
@@ -14689,6 +14689,8 @@ static void test_depth_stencil_sampling(void)
for (i = 0; i < ARRAY_SIZE(tests); ++i)
{
+ vkd3d_test_set_context("Test %u", i);
+
reset_command_list(command_list, context.allocator);
init_depth_stencil(&ds, device, context.render_target_desc.Width,
@@ -14753,6 +14755,13 @@ static void test_depth_stencil_sampling(void)
destroy_depth_stencil(&ds);
continue;
}
+ if (is_amd_device(device))
+ {
+ skip("Reads from depth/stencil shader resource views return stale values on some AMD drivers.\n");
+ destroy_depth_stencil(&ds);
+ continue;
+ }
+
srv_desc.Format = tests[i].stencil_view_format;
srv_desc.Texture2D.PlaneSlice = 1;
ID3D12Device_CreateShaderResourceView(device, texture, &srv_desc, srv_cpu_handle);
@@ -14791,6 +14800,7 @@ static void test_depth_stencil_sampling(void)
destroy_depth_stencil(&ds);
}
+ vkd3d_test_set_context(NULL);
ID3D12Resource_Release(cb);
ID3D12DescriptorHeap_Release(srv_heap);
More information about the wine-cvs
mailing list