mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 07:58:07 +02:00
nvk: Implement EnumerateInstanceVersion
This is required for future Vulkan versions. The common code also calls it for validating Vulkan versions. May as well implement it now. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
parent
a0d521d268
commit
c5775c7ed6
1 changed files with 7 additions and 0 deletions
|
|
@ -2,6 +2,13 @@
|
|||
|
||||
#include "nvk_physical_device.h"
|
||||
|
||||
VKAPI_ATTR VkResult VKAPI_CALL
|
||||
nvk_EnumerateInstanceVersion(uint32_t *pApiVersion)
|
||||
{
|
||||
*pApiVersion = VK_MAKE_VERSION(1, 0, VK_HEADER_VERSION);
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
static const struct vk_instance_extension_table instance_extensions = {
|
||||
.KHR_get_physical_device_properties2 = true,
|
||||
.EXT_debug_report = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue