mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests/d3d12: Ensure stream output BufferFilledSizeLocation is always valid.
This commit is contained in:
parent
42d369d595
commit
cc1877dadb
Notes:
Alexandre Julliard
2024-05-22 23:00:11 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/815
@ -30793,7 +30793,7 @@ static void test_domain_shader_inputs(void)
|
|||||||
bug_if(is_mvk_device(context.device))
|
bug_if(is_mvk_device(context.device))
|
||||||
ok(hr == S_OK, "Got unexpected hr %#x.\n", hr);
|
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);
|
D3D12_RESOURCE_FLAG_NONE, D3D12_RESOURCE_STATE_STREAM_OUT);
|
||||||
sobv.BufferLocation = ID3D12Resource_GetGPUVirtualAddress(so_buffer);
|
sobv.BufferLocation = ID3D12Resource_GetGPUVirtualAddress(so_buffer);
|
||||||
sobv.SizeInBytes = 1024;
|
sobv.SizeInBytes = 1024;
|
||||||
@ -30978,7 +30978,7 @@ static void test_domain_shader_one_patch_constant_input(void)
|
|||||||
bug_if(is_mvk_device(context.device))
|
bug_if(is_mvk_device(context.device))
|
||||||
ok(hr == S_OK, "Got unexpected hr %#x.\n", hr);
|
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);
|
D3D12_RESOURCE_FLAG_NONE, D3D12_RESOURCE_STATE_STREAM_OUT);
|
||||||
sobv.BufferLocation = ID3D12Resource_GetGPUVirtualAddress(so_buffer);
|
sobv.BufferLocation = ID3D12Resource_GetGPUVirtualAddress(so_buffer);
|
||||||
sobv.SizeInBytes = 1024;
|
sobv.SizeInBytes = 1024;
|
||||||
|
Loading…
Reference in New Issue
Block a user