v3dv/format: Add support for VK_KHR_format_feature_flags2
VK_KHR_format_feature_flags2 is mostly about define a new 64-bit VkFormatFeatureFlagBits2KHR format feature flag type, as 29 bits of the 32-bit VkFormatFeatureFlagBits are already in use. So all the bits from VkFormatFeatureFlagBits are being replicated, and most of the work here consist on switch to the new flags. From the new (not replicated from VkFormatFeatureFlagBits) flag bits, we don't support VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT_KHR or VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT_KHR, as right now we require the format on the shader for doing the read and stores. We use now VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT_KHR, but only applying it for depth formats. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16718>
This commit is contained in:

committed by
Marge Bot

parent
11a0ea76a2
commit
746287d221
@@ -474,7 +474,7 @@ Vulkan 1.3 -- all DONE: anv, radv, lvp
|
||||
|
||||
VK_KHR_copy_commands2 DONE (anv, lvp, radv, tu, v3dv)
|
||||
VK_KHR_dynamic_rendering DONE (anv, lvp, radv)
|
||||
VK_KHR_format_feature_flags2 DONE (anv, radv, tu)
|
||||
VK_KHR_format_feature_flags2 DONE (anv, radv, tu, v3dv)
|
||||
VK_KHR_maintenance4 DONE (anv, radv, tu)
|
||||
VK_KHR_shader_non_semantic_info DONE (anv, radv, tu, v3dv)
|
||||
VK_KHR_shader_terminate_invocation DONE (anv, radv, tu)
|
||||
|
Reference in New Issue
Block a user