[PATCH vkd3d 2/5] tests: Insert UAV barrier between ClearUAV() commands.

Józef Kucia joseph.kucia at gmail.com
Wed Nov 28 11:51:19 CST 2018


From: Józef Kucia <jkucia at codeweavers.com>

Fixes a bunch of test failures on RADV.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
 tests/d3d12.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/d3d12.c b/tests/d3d12.c
index 42fb24cc73d2..d10811715d0d 100644
--- a/tests/d3d12.c
+++ b/tests/d3d12.c
@@ -3956,6 +3956,9 @@ static void test_clear_unordered_access_view(void)
                 get_gpu_descriptor_handle(&context, gpu_heap, 1),
                 get_cpu_descriptor_handle(&context, cpu_heap, 1),
                 buffer, clear_value, 0, NULL);
+
+        uav_barrier(command_list, buffer);
+
         ID3D12GraphicsCommandList_ClearUnorderedAccessViewUint(command_list,
                 get_gpu_descriptor_handle(&context, gpu_heap, 0),
                 get_cpu_descriptor_handle(&context, cpu_heap, 0),
-- 
2.18.1




More information about the wine-devel mailing list