mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Skip unbounded descriptor ranges tests when they're unsupported.
They are unsupported if the Vulkan descriptor indexing extension is not available; on MoltenVK it is known to be buggy, so it is disabled.
This commit is contained in:
parent
711ce4e65d
commit
60e0246436
Notes:
Alexandre Julliard
2024-01-24 22:55:37 +01: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/545
@ -36861,6 +36861,12 @@ static void test_unbounded_resource_arrays(void)
|
||||
command_list = context.list;
|
||||
queue = context.queue;
|
||||
|
||||
if (get_resource_binding_tier(device) < D3D12_RESOURCE_BINDING_TIER_2)
|
||||
{
|
||||
skip("Device doesn't support resource binding tier 2.\n");
|
||||
goto done;
|
||||
}
|
||||
|
||||
memset(&root_signature_desc, 0, sizeof(root_signature_desc));
|
||||
root_signature_desc.NumParameters = ARRAY_SIZE(root_parameters);
|
||||
root_signature_desc.pParameters = root_parameters;
|
||||
@ -37021,6 +37027,12 @@ static void test_unbounded_samplers(void)
|
||||
command_list = context.list;
|
||||
queue = context.queue;
|
||||
|
||||
if (get_resource_binding_tier(device) < D3D12_RESOURCE_BINDING_TIER_2)
|
||||
{
|
||||
skip("Device doesn't support resource binding tier 2.\n");
|
||||
goto done;
|
||||
}
|
||||
|
||||
root_signature_desc.NumParameters = ARRAY_SIZE(root_parameters);
|
||||
root_signature_desc.Flags = 0;
|
||||
root_signature_desc.NumStaticSamplers = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user