venus: Enable VK_EXT_tooling_info

Implement it locally with the common implementation.

Signed-off-by: Chad Versace <chadversary@chromium.org>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18000>
This commit is contained in:
Chad Versace 2022-08-10 17:49:46 -07:00 committed by Marge Bot
parent 2bf2a05312
commit 6d0c86c777
3 changed files with 8 additions and 0 deletions

View file

@ -493,6 +493,7 @@ Vulkan 1.3 -- all DONE: anv, radv, lvp
VK_EXT_shader_demote_to_helper_invocation DONE (anv, lvp, radv, tu, vn)
VK_EXT_subgroup_size_control DONE (anv, lvp, radv, tu, vn)
VK_EXT_texel_buffer_alignment DONE (anv, lvp, radv, tu, v3dv, vn)
VK_EXT_tooling_info DONE (anv, vn)
VK_EXT_ycbcr_2plane_444_formats DONE (vn)
Khronos extensions that are not part of any Vulkan version:

View file

@ -290,6 +290,11 @@ vn_device_fix_create_info(const struct vn_device *dev,
block_exts[block_count++] = VK_EXT_PHYSICAL_DEVICE_DRM_EXTENSION_NAME;
}
if (app_exts->EXT_tooling_info) {
/* see vn_physical_device_get_native_extensions */
block_exts[block_count++] = VK_EXT_TOOLING_INFO_EXTENSION_NAME;
}
assert(extra_count <= ARRAY_SIZE(extra_exts));
assert(block_count <= ARRAY_SIZE(block_exts));

View file

@ -1009,6 +1009,8 @@ vn_physical_device_get_native_extensions(
#endif /* ANDROID */
exts->EXT_physical_device_drm = true;
/* use common implementation */
exts->EXT_tooling_info = true;
}
static void