nvk: Trivially expose three VK_GOOGLE extensions

This patch exposes support for the following three extensions:

 * VK_GOOGLE_decorate_string
 * VK_GOOGLE_hlsl_functionality1
 * VK_GOOGLE_user_type

There's nothing for the driver to do; it's all handled in spirv_to_nir.

Signed-off-by: Valentine Burley <valentine.burley@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28155>
This commit is contained in:
Valentine Burley 2024-03-13 15:26:20 +01:00 committed by Marge Bot
parent b2719a73c1
commit c83dcd4967
2 changed files with 6 additions and 3 deletions

View file

@ -631,9 +631,9 @@ Khronos extensions that are not part of any Vulkan version:
VK_EXT_ycbcr_image_arrays DONE (anv, hasvk, lvp, nvk, radv)
VK_ANDROID_external_memory_android_hardware_buffer DONE (anv, radv, vn)
VK_ANDROID_native_buffer DONE (anv, radv, tu, v3dv, vn)
VK_GOOGLE_decorate_string DONE (anv, hasvk, lvp, radv)
VK_GOOGLE_hlsl_functionality1 DONE (anv, hasvk, lvp, radv)
VK_GOOGLE_user_type DONE (anv, hasvk, radv)
VK_GOOGLE_decorate_string DONE (anv, hasvk, lvp, nvk, radv)
VK_GOOGLE_hlsl_functionality1 DONE (anv, hasvk, lvp, nvk, radv)
VK_GOOGLE_user_type DONE (anv, hasvk, nvk, radv)
VK_IMG_filter_cubic DONE (tu/a650)
VK_NV_compute_shader_derivatives DONE (anv, hasvk, radv)
VK_EXT_acquire_drm_display DONE (anv, nvk, radv, tu, v3dv)

View file

@ -229,6 +229,9 @@ nvk_get_device_extensions(const struct nvk_instance *instance,
.EXT_vertex_input_dynamic_state = true,
.EXT_ycbcr_2plane_444_formats = true,
.EXT_ycbcr_image_arrays = true,
.GOOGLE_decorate_string = true,
.GOOGLE_hlsl_functionality1 = true,
.GOOGLE_user_type = true,
.NV_shader_sm_builtins = true,
};
}