From fd416b492c4ac4fa0fddc3470a724624463995b6 Mon Sep 17 00:00:00 2001 From: Conor McCarthy Date: Sat, 20 Apr 2024 15:20:38 +1000 Subject: [PATCH] tests/d3d12: Use get_cpu_sampler_handle() for the sampler heap in test_unbounded_samplers(). --- tests/d3d12.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/d3d12.c b/tests/d3d12.c index acd263c9..31d6a86e 100644 --- a/tests/d3d12.c +++ b/tests/d3d12.c @@ -37440,7 +37440,7 @@ static void test_unbounded_samplers(void) sampler_desc.AddressU = (i & 1) ? D3D12_TEXTURE_ADDRESS_MODE_CLAMP : D3D12_TEXTURE_ADDRESS_MODE_WRAP; sampler_desc.AddressV = (i & 2) ? D3D12_TEXTURE_ADDRESS_MODE_CLAMP : D3D12_TEXTURE_ADDRESS_MODE_WRAP; sampler_desc.AddressW = D3D12_TEXTURE_ADDRESS_MODE_WRAP; - ID3D12Device_CreateSampler(device, &sampler_desc, get_cpu_descriptor_handle(&context, sampler_heap, i)); + ID3D12Device_CreateSampler(device, &sampler_desc, get_cpu_sampler_handle(&context, sampler_heap, i)); } ID3D12GraphicsCommandList_SetComputeRootSignature(command_list, context.root_signature);