tests: Use a UAV barrier between ClearUnorderedAccessViewFloat() and a compute shader.

In an attempt to fix test failures on radv.
This commit is contained in:
Zebediah Figura 2024-03-12 19:13:18 -05:00 committed by Alexandre Julliard
parent 9b0d304f8f
commit a686fa7750
Notes: Alexandre Julliard 2024-03-13 22:16:57 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/712

View File

@ -23171,6 +23171,7 @@ static void test_cs_uav_store(void)
ID3D12GraphicsCommandList_ClearUnorderedAccessViewFloat(command_list,
gpu_descriptor_handle, cpu_descriptor_handle, resource, zero, 0, NULL);
uav_barrier(command_list, resource);
ID3D12GraphicsCommandList_SetPipelineState(command_list, pipeline_state);
ID3D12GraphicsCommandList_SetComputeRootSignature(command_list, root_signature);
@ -23200,6 +23201,7 @@ static void test_cs_uav_store(void)
ID3D12GraphicsCommandList_ClearUnorderedAccessViewFloat(command_list,
gpu_descriptor_handle, cpu_descriptor_handle, resource, zero, 0, NULL);
uav_barrier(command_list, resource);
ID3D12GraphicsCommandList_SetPipelineState(command_list, pipeline_state);
ID3D12GraphicsCommandList_SetComputeRootSignature(command_list, root_signature);
ID3D12GraphicsCommandList_SetComputeRootConstantBufferView(command_list, 1,