Module: vkd3d Branch: master Commit: fd416b492c4ac4fa0fddc3470a724624463995b6 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/fd416b492c4ac4fa0fddc3470a7246...
Author: Conor McCarthy cmccarthy@codeweavers.com Date: Sat Apr 20 15:20:38 2024 +1000
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);