From cbce3a8631116ec10895e6c9c4a00b89b051f6b0 Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Wed, 9 Apr 2025 15:12:15 +0200 Subject: [PATCH] tests/shader_runner: Always set descriptor heaps. --- tests/shader_runner_d3d12.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/shader_runner_d3d12.c b/tests/shader_runner_d3d12.c index 1ace3dde..52d38248 100644 --- a/tests/shader_runner_d3d12.c +++ b/tests/shader_runner_d3d12.c @@ -396,6 +396,7 @@ static bool d3d12_runner_dispatch(struct shader_runner *r, unsigned int x, unsig add_pso(test_context, pso); ID3D12GraphicsCommandList_SetComputeRootSignature(command_list, root_signature); + ID3D12GraphicsCommandList_SetDescriptorHeaps(command_list, 1, &runner->heap); if (runner->r.uniform_count) ID3D12GraphicsCommandList_SetComputeRoot32BitConstants(command_list, uniform_index, runner->r.uniform_count, runner->r.uniforms, 0);