tests: Insert UAV barrier between ClearUAV() commands.

Fixes a bunch of test failures on RADV.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2018-11-28 18:51:19 +01:00 committed by Alexandre Julliard
parent e91bfb882d
commit 93d2bb2d5d
1 changed files with 3 additions and 0 deletions

View File

@ -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),