From 23881bad7a655f02a6d2f20406d5c0d5bbb88e91 Mon Sep 17 00:00:00 2001 From: Conor McCarthy Date: Tue, 21 May 2024 00:23:53 +1000 Subject: [PATCH] tests/d3d12: Set the descriptor heaps for the draw call in test_graphics_uav_counters(). --- tests/d3d12.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/d3d12.c b/tests/d3d12.c index 2c044322..376538ee 100644 --- a/tests/d3d12.c +++ b/tests/d3d12.c @@ -23962,6 +23962,7 @@ static void test_graphics_uav_counters(void) ID3D12GraphicsCommandList_RSSetViewports(command_list, 1, &context.viewport); ID3D12GraphicsCommandList_RSSetScissorRects(command_list, 1, &context.scissor_rect); ID3D12GraphicsCommandList_SetGraphicsRootSignature(command_list, context.root_signature); + ID3D12GraphicsCommandList_SetDescriptorHeaps(command_list, 1, &gpu_heap); ID3D12GraphicsCommandList_SetGraphicsRootDescriptorTable(command_list, 0, ID3D12DescriptorHeap_GetGPUDescriptorHandleForHeapStart(gpu_heap)); ID3D12GraphicsCommandList_SetPipelineState(command_list, context.pipeline_state);