From: Giovanni Mascellani gmascellani@codeweavers.com
They are unsupported if the Vulkan descriptor indexing extension is not available; on MoltenVK it is known to be buggy, so it is disabled. --- tests/d3d12.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/tests/d3d12.c b/tests/d3d12.c index 07e0fec12..5c8d9fb10 100644 --- a/tests/d3d12.c +++ b/tests/d3d12.c @@ -36748,6 +36748,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; @@ -36908,6 +36914,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;