From cc1877dadbc3476751a1946086b78a904228e0ee Mon Sep 17 00:00:00 2001 From: Conor McCarthy Date: Sat, 20 Apr 2024 15:19:57 +1000 Subject: [PATCH] tests/d3d12: Ensure stream output BufferFilledSizeLocation is always valid. --- tests/d3d12.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/d3d12.c b/tests/d3d12.c index 1100b80b..acd263c9 100644 --- a/tests/d3d12.c +++ b/tests/d3d12.c @@ -30793,7 +30793,7 @@ static void test_domain_shader_inputs(void) bug_if(is_mvk_device(context.device)) ok(hr == S_OK, "Got unexpected hr %#x.\n", hr); - so_buffer = create_default_buffer(context.device, 1024, + so_buffer = create_default_buffer(context.device, 2048, D3D12_RESOURCE_FLAG_NONE, D3D12_RESOURCE_STATE_STREAM_OUT); sobv.BufferLocation = ID3D12Resource_GetGPUVirtualAddress(so_buffer); sobv.SizeInBytes = 1024; @@ -30978,7 +30978,7 @@ static void test_domain_shader_one_patch_constant_input(void) bug_if(is_mvk_device(context.device)) ok(hr == S_OK, "Got unexpected hr %#x.\n", hr); - so_buffer = create_default_buffer(context.device, 1024, + so_buffer = create_default_buffer(context.device, 2048, D3D12_RESOURCE_FLAG_NONE, D3D12_RESOURCE_STATE_STREAM_OUT); sobv.BufferLocation = ID3D12Resource_GetGPUVirtualAddress(so_buffer); sobv.SizeInBytes = 1024;