nvk: Advertise VK_KHR_maintenance10
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38094>
This commit is contained in:
Faith Ekstrand 2025-10-27 12:21:14 -04:00
parent 268a1db7cc
commit a9e0adc679
3 changed files with 11 additions and 2 deletions

View file

@ -557,7 +557,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_KHR_maintenance7 DONE (anv, hk, lvp, nvk, panvk/v10+, radv, tu, vn)
VK_KHR_maintenance8 DONE (anv, hk, lvp, nvk, panvk/v10+, radv, tu)
VK_KHR_maintenance9 DONE (anv, hk, lvp, nvk, panvk, radv)
VK_KHR_maintenance10 DONE (anv)
VK_KHR_maintenance10 DONE (anv, nvk)
VK_KHR_performance_query DONE (anv, radv/gfx10.3+, tu, v3dv)
VK_KHR_pipeline_binary DONE (radv)
VK_KHR_pipeline_executable_properties DONE (anv, hk, nvk, panvk, hasvk, radv, tu, v3dv)

View file

@ -6,4 +6,4 @@ VK_KHR_present_id on HoneyKrisp
VK_KHR_present_id2 on HoneyKrisp
VK_KHR_present_wait on HoneyKrisp
VK_KHR_present_wait2 on HoneyKrisp
VK_KHR_maintenance10 on ANV
VK_KHR_maintenance10 on ANV, NVK

View file

@ -149,6 +149,7 @@ nvk_get_device_extensions(const struct nvk_instance *instance,
.KHR_maintenance7 = true,
.KHR_maintenance8 = true,
.KHR_maintenance9 = true,
.KHR_maintenance10 = true,
.KHR_map_memory2 = true,
.KHR_multiview = true,
.KHR_pipeline_executable_properties = true,
@ -486,6 +487,9 @@ nvk_get_device_features(const struct nv_device_info *info,
/* VK_KHR_maintenance9 */
.maintenance9 = true,
/* VK_KHR_maintenance10 */
.maintenance10 = true,
/* VK_KHR_pipeline_executable_properties */
.pipelineExecutableInfo = true,
@ -1117,6 +1121,11 @@ nvk_get_device_properties(const struct nvk_instance *instance,
.defaultVertexAttributeValue =
VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ZERO_KHR,
/* VK_KHR_maintenance10 */
.rgba4OpaqueBlackSwizzled = true,
.resolveSrgbFormatAppliesTransferFunction = true,
.resolveSrgbFormatSupportsTransferFunctionControl = true,
/* VK_EXT_legacy_vertex_attributes */
.nativeUnalignedPerformance = true,