=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: tests: Insert UAV barrier between ClearUAV() commands.

Alexandre Julliard julliard at winehq.org
Thu Nov 29 15:06:29 CST 2018


Module: vkd3d
Branch: master
Commit: 93d2bb2d5dd2077a02cd54c9ef21e2ade4add662
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=93d2bb2d5dd2077a02cd54c9ef21e2ade4add662

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Wed Nov 28 18:51:19 2018 +0100

tests: Insert UAV barrier between ClearUAV() commands.

Fixes a bunch of test failures on RADV.

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 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/d3d12.c b/tests/d3d12.c
index 42fb24c..d108117 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),




More information about the wine-cvs mailing list