vk: Fix build on linux CI using outdated SDK

This commit is contained in:
kd-11 2026-04-28 01:24:24 +03:00 committed by kd-11
parent ed7f1aa17c
commit 41e6cbbb5a

View file

@ -40,6 +40,19 @@
constexpr VkDriverId VK_DRIVER_ID_MESA_HONEYKRISP = static_cast<VkDriverId>(26);
#endif
#if VK_HEADER_VERSION < 332
#define VK_EXT_shader_uniform_buffer_unsized_array 1
#define VK_EXT_SHADER_UNIFORM_BUFFER_UNSIZED_ARRAY_SPEC_VERSION 1
#define VK_EXT_SHADER_UNIFORM_BUFFER_UNSIZED_ARRAY_EXTENSION_NAME "VK_EXT_shader_uniform_buffer_unsized_array"
typedef struct VkPhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 shaderUniformBufferUnsizedArray;
} VkPhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT;
constexpr VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_UNIFORM_BUFFER_UNSIZED_ARRAY_FEATURES_EXT = static_cast<VkStructureType>(1000642000);
#endif
#define DECLARE_VK_FUNCTION_HEADER 1
#include "VKProcTable.h"