lavapipe: advertise VK_EXT_multisampled_render_to_single_sampled

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17705>
This commit is contained in:
Mike Blumenkrantz 2022-07-22 01:05:21 -04:00 committed by Marge Bot
parent f2d5ff1c3a
commit 27c97dc0d1
3 changed files with 9 additions and 1 deletions

View File

@ -558,6 +558,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_EXT_memory_budget DONE (anv, radv, tu)
VK_EXT_memory_priority DONE (radv)
VK_EXT_multi_draw DONE (anv, lvp, radv)
VK_EXT_multisampled_render_to_single_sampled DONE (lvp)
VK_EXT_non_seamless_cube_map DONE (anv, lvp, radv)
VK_EXT_pci_bus_info DONE (anv, radv)
VK_EXT_physical_device_drm DONE (anv, radv, tu, v3dv)

View File

@ -10,3 +10,4 @@ VK_EXT_non_seamless_cube_map on RADV, ANV, lavapipe
VK_EXT_border_color_swizzle on lavapipe, ANV, turnip, RADV
VK_EXT_shader_module_identifier on RADV
variablePointers on lavapipe
VK_EXT_multisampled_render_to_single_sampled on lavapipe

View File

@ -155,6 +155,7 @@ static const struct vk_device_extension_table lvp_device_extensions_supported =
.EXT_image_robustness = true,
.EXT_index_type_uint8 = true,
.EXT_inline_uniform_block = true,
.EXT_multisampled_render_to_single_sampled = true,
.EXT_multi_draw = true,
.EXT_non_seamless_cube_map = true,
.EXT_pipeline_creation_feedback = true,
@ -805,7 +806,12 @@ VKAPI_ATTR void VKAPI_CALL lvp_GetPhysicalDeviceFeatures2(
}
break;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_FEATURES_EXT: {
VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT *features =
(VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT *)ext;
features->multisampledRenderToSingleSampled = true;
break;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT: {
VkPhysicalDeviceIndexTypeUint8FeaturesEXT *features =
(VkPhysicalDeviceIndexTypeUint8FeaturesEXT *)ext;