tu: 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/28236>
This commit is contained in:
Valentine Burley 2024-03-13 15:35:25 +01:00 committed by Marge Bot
parent 05b9e0dfed
commit 98ae874344
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, nvk, radv)
VK_GOOGLE_hlsl_functionality1 DONE (anv, hasvk, lvp, nvk, radv)
VK_GOOGLE_user_type DONE (anv, hasvk, nvk, radv)
VK_GOOGLE_decorate_string DONE (anv, hasvk, lvp, nvk, radv, tu)
VK_GOOGLE_hlsl_functionality1 DONE (anv, hasvk, lvp, nvk, radv, tu)
VK_GOOGLE_user_type DONE (anv, hasvk, nvk, radv, tu)
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

@ -287,6 +287,9 @@ get_device_extensions(const struct tu_physical_device *device,
.ANDROID_native_buffer = true,
#endif
.ARM_rasterization_order_attachment_access = true,
.GOOGLE_decorate_string = true,
.GOOGLE_hlsl_functionality1 = true,
.GOOGLE_user_type = true,
.IMG_filter_cubic = device->info->a6xx.has_tex_filter_cubic,
.VALVE_mutable_descriptor_type = true,
} };