bool attachment_vrs_enabled = false;
bool image_float32_atomics = false;
bool vs_prologs = false;
+ bool global_bo_list = false;
/* Check enabled features */
if (pCreateInfo->pEnabledFeatures) {
vs_prologs = true;
break;
}
+ case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES: {
+ const VkPhysicalDeviceVulkan12Features *features = (const void *)ext;
+ if (features->bufferDeviceAddress || features->descriptorIndexing)
+ global_bo_list = true;
+ break;
+ }
default:
break;
}
/* With update after bind we can't attach bo's to the command buffer
* from the descriptor set anymore, so we have to use a global BO list.
*/
- device->use_global_bo_list = (device->instance->perftest_flags & RADV_PERFTEST_BO_LIST) ||
+ device->use_global_bo_list = global_bo_list ||
+ (device->instance->perftest_flags & RADV_PERFTEST_BO_LIST) ||
device->vk.enabled_extensions.EXT_descriptor_indexing ||
device->vk.enabled_extensions.EXT_buffer_device_address ||
device->vk.enabled_extensions.KHR_buffer_device_address ||