anv: enable direct descriptors on platforms with extended bindless offset

Aka. DG2

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21645>
This commit is contained in:
Lionel Landwerlin 2023-02-24 23:11:07 +02:00 committed by Marge Bot
parent 26e2436823
commit 96c33fb027

View file

@ -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. * to !uses_ex_bso when all the infrastructure is built up.
*/ */
device->indirect_descriptors = device->indirect_descriptors =
true || !device->uses_ex_bso ||
driQueryOptionb(&instance->dri_options, "force_indirect_descriptors"); driQueryOptionb(&instance->dri_options, "force_indirect_descriptors");
/* Check if we can read the GPU timestamp register from the CPU */ /* Check if we can read the GPU timestamp register from the CPU */