};
static const VkExtensionProperties device_extensions[] = {
+ {
+ .extensionName = VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME,
+ .specVersion = 1,
+ },
{
.extensionName = VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME,
.specVersion = 1,
vk_foreach_struct(ext, pMemoryRequirements->pNext) {
switch (ext->sType) {
+ case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS_KHR: {
+ VkMemoryDedicatedRequirementsKHR *requirements = (void *)ext;
+ requirements->prefersDedicatedAllocation = VK_FALSE;
+ requirements->requiresDedicatedAllocation = VK_FALSE;
+ break;
+ }
+
default:
anv_debug_ignored_stype(ext->sType);
break;
vk_foreach_struct(ext, pMemoryRequirements->pNext) {
switch (ext->sType) {
+ case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS_KHR: {
+ VkMemoryDedicatedRequirementsKHR *requirements = (void *)ext;
+ requirements->prefersDedicatedAllocation = VK_FALSE;
+ requirements->requiresDedicatedAllocation = VK_FALSE;
+ break;
+ }
+
default:
anv_debug_ignored_stype(ext->sType);
break;
MAX_API_VERSION = 1.0
SUPPORTED_EXTENSIONS = [
+ 'VK_KHR_dedicated_allocation',
'VK_KHR_descriptor_update_template',
'VK_KHR_get_memory_requirements2',
'VK_KHR_get_physical_device_properties2',