lavapipe: VK_EXT_border_color_swizzle

Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16992>
This commit is contained in:
Mike Blumenkrantz
2022-06-11 09:51:54 -04:00
committed by Marge Bot
parent 4c5f7b86ec
commit efa58f6b47
3 changed files with 10 additions and 0 deletions

View File

@@ -529,6 +529,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_KHR_win32_surface DONE (lvp) VK_KHR_win32_surface DONE (lvp)
VK_KHR_xcb_surface DONE (anv, lvp, radv, tu, v3dv, vn) VK_KHR_xcb_surface DONE (anv, lvp, radv, tu, v3dv, vn)
VK_KHR_xlib_surface DONE (anv, lvp, radv, tu, v3dv, vn) VK_KHR_xlib_surface DONE (anv, lvp, radv, tu, v3dv, vn)
VK_EXT_border_color_swizzle DONE (lvp)
VK_EXT_buffer_device_address DONE (radv) VK_EXT_buffer_device_address DONE (radv)
VK_EXT_calibrated_timestamps DONE (anv, lvp, radv) VK_EXT_calibrated_timestamps DONE (anv, lvp, radv)
VK_EXT_color_write_enable DONE (anv, lvp, radv, v3dv) VK_EXT_color_write_enable DONE (anv, lvp, radv, v3dv)

View File

@@ -7,3 +7,4 @@ vertexAttributeInstanceRateZeroDivisor support for lavapipe
panfrost Valhall support (conformant OpenGL ES 3.1 on Mali-G57) panfrost Valhall support (conformant OpenGL ES 3.1 on Mali-G57)
VK_EXT_primitives_generated_query on RADV VK_EXT_primitives_generated_query on RADV
VK_EXT_non_seamless_cube_map on RADV, ANV VK_EXT_non_seamless_cube_map on RADV, ANV
VK_EXT_border_color_swizzle on lavapipe

View File

@@ -139,6 +139,7 @@ static const struct vk_device_extension_table lvp_device_extensions_supported =
.KHR_vulkan_memory_model = true, .KHR_vulkan_memory_model = true,
.KHR_zero_initialize_workgroup_memory = true, .KHR_zero_initialize_workgroup_memory = true,
.EXT_4444_formats = true, .EXT_4444_formats = true,
.EXT_border_color_swizzle = true,
.EXT_calibrated_timestamps = true, .EXT_calibrated_timestamps = true,
.EXT_color_write_enable = true, .EXT_color_write_enable = true,
.EXT_conditional_rendering = true, .EXT_conditional_rendering = true,
@@ -766,6 +767,13 @@ VKAPI_ATTR void VKAPI_CALL lvp_GetPhysicalDeviceFeatures2(
features->primitivesGeneratedQueryWithNonZeroStreams = true; features->primitivesGeneratedQueryWithNonZeroStreams = true;
break; break;
} }
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT: {
VkPhysicalDeviceBorderColorSwizzleFeaturesEXT *features =
(VkPhysicalDeviceBorderColorSwizzleFeaturesEXT *)ext;
features->borderColorSwizzle = true;
features->borderColorSwizzleFromImage = true;
break;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT: { case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT: {
VkPhysicalDeviceLineRasterizationFeaturesEXT *features = VkPhysicalDeviceLineRasterizationFeaturesEXT *features =
(VkPhysicalDeviceLineRasterizationFeaturesEXT *)ext; (VkPhysicalDeviceLineRasterizationFeaturesEXT *)ext;