mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
tests/d3d12: Set the descriptor heaps for the draw call in test_graphics_uav_counters().
This commit is contained in:
parent
dcc715b4d1
commit
23881bad7a
Notes:
Alexandre Julliard
2024-05-22 23:00:11 +02: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/815
@ -23962,6 +23962,7 @@ static void test_graphics_uav_counters(void)
|
|||||||
ID3D12GraphicsCommandList_RSSetViewports(command_list, 1, &context.viewport);
|
ID3D12GraphicsCommandList_RSSetViewports(command_list, 1, &context.viewport);
|
||||||
ID3D12GraphicsCommandList_RSSetScissorRects(command_list, 1, &context.scissor_rect);
|
ID3D12GraphicsCommandList_RSSetScissorRects(command_list, 1, &context.scissor_rect);
|
||||||
ID3D12GraphicsCommandList_SetGraphicsRootSignature(command_list, context.root_signature);
|
ID3D12GraphicsCommandList_SetGraphicsRootSignature(command_list, context.root_signature);
|
||||||
|
ID3D12GraphicsCommandList_SetDescriptorHeaps(command_list, 1, &gpu_heap);
|
||||||
ID3D12GraphicsCommandList_SetGraphicsRootDescriptorTable(command_list, 0,
|
ID3D12GraphicsCommandList_SetGraphicsRootDescriptorTable(command_list, 0,
|
||||||
ID3D12DescriptorHeap_GetGPUDescriptorHandleForHeapStart(gpu_heap));
|
ID3D12DescriptorHeap_GetGPUDescriptorHandleForHeapStart(gpu_heap));
|
||||||
ID3D12GraphicsCommandList_SetPipelineState(command_list, context.pipeline_state);
|
ID3D12GraphicsCommandList_SetPipelineState(command_list, context.pipeline_state);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user