mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
vulkan: Add KHR_swapchain_maintenance1 promotions.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37157>
This commit is contained in:
parent
974dba2afe
commit
11195eb8de
8 changed files with 15 additions and 7 deletions
|
|
@ -692,6 +692,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
|
|||
.KHR_storage_buffer_storage_class = true,
|
||||
#ifdef RADV_USE_WSI_PLATFORM
|
||||
.KHR_swapchain = true,
|
||||
.KHR_swapchain_maintenance1 = true,
|
||||
.KHR_swapchain_mutable_format = true,
|
||||
#endif
|
||||
.KHR_synchronization2 = true,
|
||||
|
|
@ -1304,7 +1305,7 @@ radv_physical_device_get_features(const struct radv_physical_device *pdev, struc
|
|||
.imageSlicedViewOf3D = true,
|
||||
|
||||
#ifdef RADV_USE_WSI_PLATFORM
|
||||
/* VK_EXT_swapchain_maintenance1 */
|
||||
/* VK_KHR_swapchain_maintenance1 */
|
||||
.swapchainMaintenance1 = true,
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -126,6 +126,7 @@ hk_get_device_extensions(const struct hk_instance *instance,
|
|||
.KHR_timeline_semaphore = true,
|
||||
#ifdef HK_USE_WSI_PLATFORM
|
||||
.KHR_swapchain = true,
|
||||
.KHR_swapchain_maintenance1 = true,
|
||||
.KHR_swapchain_mutable_format = true,
|
||||
#endif
|
||||
.KHR_synchronization2 = true,
|
||||
|
|
@ -543,7 +544,7 @@ hk_get_device_features(
|
|||
.imageSlicedViewOf3D = false,
|
||||
|
||||
#ifdef HK_USE_WSI_PLATFORM
|
||||
/* VK_EXT_swapchain_maintenance1 */
|
||||
/* VK_KHR_swapchain_maintenance1 */
|
||||
.swapchainMaintenance1 = true,
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -190,6 +190,7 @@ get_device_extensions(const struct v3dv_physical_device *device,
|
|||
.KHR_workgroup_memory_explicit_layout = true,
|
||||
#ifdef V3DV_USE_WSI_PLATFORM
|
||||
.KHR_swapchain = true,
|
||||
.KHR_swapchain_maintenance1 = true,
|
||||
.KHR_swapchain_mutable_format = true,
|
||||
.KHR_incremental_present = true,
|
||||
.KHR_present_id2 = true,
|
||||
|
|
@ -508,7 +509,7 @@ get_features(const struct v3dv_physical_device *physical_device,
|
|||
.maintenance5 = true,
|
||||
|
||||
#ifdef V3DV_USE_WSI_PLATFORM
|
||||
/* VK_EXT_swapchain_maintenance1 */
|
||||
/* VK_KHR_swapchain_maintenance1 */
|
||||
.swapchainMaintenance1 = true,
|
||||
|
||||
/* VK_KHR_present_id2 */
|
||||
|
|
|
|||
|
|
@ -247,6 +247,7 @@ get_device_extensions(const struct tu_physical_device *device,
|
|||
.KHR_storage_buffer_storage_class = true,
|
||||
#ifdef TU_USE_WSI_PLATFORM
|
||||
.KHR_swapchain = true,
|
||||
.KHR_swapchain_maintenance1 = true,
|
||||
.KHR_swapchain_mutable_format = true,
|
||||
#endif
|
||||
.KHR_synchronization2 = true,
|
||||
|
|
@ -773,7 +774,7 @@ tu_get_features(struct tu_physical_device *pdevice,
|
|||
features->shaderReplicatedComposites = true;
|
||||
|
||||
#ifdef TU_USE_WSI_PLATFORM
|
||||
/* VK_EXT_swapchain_maintenance1 */
|
||||
/* VK_KHR_swapchain_maintenance1 */
|
||||
features->swapchainMaintenance1 = true;
|
||||
|
||||
/* VK_KHR_present_id2 */
|
||||
|
|
|
|||
|
|
@ -192,6 +192,7 @@ static const struct vk_device_extension_table lvp_device_extensions_supported =
|
|||
.KHR_storage_buffer_storage_class = true,
|
||||
#ifdef LVP_USE_WSI_PLATFORM
|
||||
.KHR_swapchain = true,
|
||||
.KHR_swapchain_maintenance1 = true,
|
||||
.KHR_swapchain_mutable_format = true,
|
||||
#endif
|
||||
.KHR_synchronization2 = true,
|
||||
|
|
@ -827,7 +828,7 @@ lvp_get_features(const struct lvp_physical_device *pdevice,
|
|||
#endif
|
||||
|
||||
#ifdef LVP_USE_WSI_PLATFORM
|
||||
/* VK_EXT_swapchain_maintenance1 */
|
||||
/* VK_KHR_swapchain_maintenance1 */
|
||||
.swapchainMaintenance1 = true,
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -247,6 +247,7 @@ get_device_extensions(const struct anv_physical_device *device,
|
|||
.KHR_storage_buffer_storage_class = true,
|
||||
#ifdef ANV_USE_WSI_PLATFORM
|
||||
.KHR_swapchain = true,
|
||||
.KHR_swapchain_maintenance1 = true,
|
||||
.KHR_swapchain_mutable_format = true,
|
||||
#endif
|
||||
.KHR_synchronization2 = true,
|
||||
|
|
@ -915,7 +916,7 @@ get_features(const struct anv_physical_device *pdevice,
|
|||
.shaderQuadControl = true,
|
||||
|
||||
#ifdef ANV_USE_WSI_PLATFORM
|
||||
/* VK_EXT_swapchain_maintenance1 */
|
||||
/* VK_KHR_swapchain_maintenance1 */
|
||||
.swapchainMaintenance1 = true,
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -195,6 +195,7 @@ nvk_get_device_extensions(const struct nvk_instance *instance,
|
|||
.KHR_storage_buffer_storage_class = true,
|
||||
#ifdef NVK_USE_WSI_PLATFORM
|
||||
.KHR_swapchain = true,
|
||||
.KHR_swapchain_maintenance1 = true,
|
||||
.KHR_swapchain_mutable_format = true,
|
||||
#endif
|
||||
.KHR_synchronization2 = true,
|
||||
|
|
@ -658,7 +659,7 @@ nvk_get_device_features(const struct nv_device_info *info,
|
|||
.imageSlicedViewOf3D = true,
|
||||
|
||||
#ifdef NVK_USE_WSI_PLATFORM
|
||||
/* VK_EXT_swapchain_maintenance1 */
|
||||
/* VK_KHR_swapchain_maintenance1 */
|
||||
.swapchainMaintenance1 = true,
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -1181,6 +1181,7 @@ vn_physical_device_get_native_extensions(
|
|||
exts->KHR_present_wait = true;
|
||||
exts->KHR_present_wait2 = true;
|
||||
exts->KHR_swapchain = true;
|
||||
exts->KHR_swapchain_maintenance1 = true;
|
||||
exts->KHR_swapchain_mutable_format = true;
|
||||
exts->EXT_hdr_metadata = true;
|
||||
exts->EXT_swapchain_maintenance1 = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue