mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
anv: expose VK_KHR_maintenance11
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41334>
This commit is contained in:
parent
8a1c9a614f
commit
0d39d4e99e
1 changed files with 11 additions and 0 deletions
|
|
@ -194,6 +194,7 @@ get_device_extensions(const struct anv_physical_device *device,
|
|||
.KHR_maintenance8 = true,
|
||||
.KHR_maintenance9 = true,
|
||||
.KHR_maintenance10 = true,
|
||||
.KHR_maintenance11 = true,
|
||||
.KHR_map_memory2 = true,
|
||||
.KHR_multiview = true,
|
||||
.KHR_performance_query =
|
||||
|
|
@ -1047,6 +1048,9 @@ get_features(const struct anv_physical_device *pdevice,
|
|||
/* VK_EXT_device_generated_commands */
|
||||
.deviceGeneratedCommands = true,
|
||||
.dynamicGeneratedPipelineLayout = true,
|
||||
|
||||
/* VK_KHR_maintenance11 */
|
||||
.maintenance11 = true,
|
||||
};
|
||||
|
||||
/* The new DOOM and Wolfenstein games require depthBounds without
|
||||
|
|
@ -3171,6 +3175,13 @@ void anv_GetPhysicalDeviceQueueFamilyProperties2(
|
|||
break;
|
||||
}
|
||||
|
||||
case VK_STRUCTURE_TYPE_QUEUE_FAMILY_OPTIMAL_IMAGE_TRANSFER_GRANULARITY_PROPERTIES_KHR: {
|
||||
VkQueueFamilyOptimalImageTransferGranularityPropertiesKHR *prop =
|
||||
(VkQueueFamilyOptimalImageTransferGranularityPropertiesKHR *)ext;
|
||||
prop->optimalImageTransferGranularity = (VkExtent3D){ 1, 1, 1, };
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
vk_debug_ignored_stype(ext->sType);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue