mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
nvk: Expose VK_EXT_surface/swapchain_maintenance1
Passes dEQP-VK.wsi.*.maintenance1.*. Signed-off-by: Valentine Burley <valentine.burley@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28203>
This commit is contained in:
parent
547636dc43
commit
68e93cce5e
2 changed files with 9 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ static const struct vk_instance_extension_table instance_extensions = {
|
|||
.KHR_get_surface_capabilities2 = true,
|
||||
.KHR_surface = true,
|
||||
.KHR_surface_protected_capabilities = true,
|
||||
.EXT_surface_maintenance1 = true,
|
||||
#endif
|
||||
#ifdef VK_USE_PLATFORM_WAYLAND_KHR
|
||||
.KHR_wayland_surface = true,
|
||||
|
|
|
|||
|
|
@ -119,7 +119,6 @@ nvk_get_device_extensions(const struct nvk_instance *instance,
|
|||
.KHR_multiview = true,
|
||||
.KHR_pipeline_executable_properties = true,
|
||||
.KHR_pipeline_library = true,
|
||||
|
||||
#ifdef NVK_USE_WSI_PLATFORM
|
||||
/* Hide these behind dri configs for now since we cannot implement it
|
||||
* reliably on all surfaces yet. There is no surface capability query
|
||||
|
|
@ -221,6 +220,9 @@ nvk_get_device_extensions(const struct nvk_instance *instance,
|
|||
.EXT_shader_subgroup_vote = true,
|
||||
.EXT_shader_viewport_index_layer = info->cls_eng3d >= MAXWELL_B,
|
||||
.EXT_subgroup_size_control = true,
|
||||
#ifdef NVK_USE_WSI_PLATFORM
|
||||
.EXT_swapchain_maintenance1 = true,
|
||||
#endif
|
||||
.EXT_texel_buffer_alignment = true,
|
||||
.EXT_tooling_info = true,
|
||||
.EXT_transform_feedback = true,
|
||||
|
|
@ -506,6 +508,11 @@ nvk_get_device_features(const struct nv_device_info *info,
|
|||
/* VK_EXT_image_sliced_view_of_3d */
|
||||
.imageSlicedViewOf3D = true,
|
||||
|
||||
#ifdef NVK_USE_WSI_PLATFORM
|
||||
/* VK_EXT_swapchain_maintenance1 */
|
||||
.swapchainMaintenance1 = true,
|
||||
#endif
|
||||
|
||||
/* VK_EXT_image_view_min_lod */
|
||||
.minLod = true,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue