From 96c33fb02704fc80363d3d17c3b2e54f21d09f18 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 24 Feb 2023 23:11:07 +0200 Subject: [PATCH] anv: enable direct descriptors on platforms with extended bindless offset Aka. DG2 Signed-off-by: Lionel Landwerlin Reviewed-by: Kenneth Graunke Part-of: --- src/intel/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 3510691826d..44a591531c0 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1330,7 +1330,7 @@ anv_physical_device_try_create(struct vk_instance *vk_instance, * to !uses_ex_bso when all the infrastructure is built up. */ device->indirect_descriptors = - true || + !device->uses_ex_bso || driQueryOptionb(&instance->dri_options, "force_indirect_descriptors"); /* Check if we can read the GPU timestamp register from the CPU */