Update for Vulkan-Docs 1.2.174
This commit is contained in:
105
registry/vk.xml
105
registry/vk.xml
@@ -130,8 +130,8 @@ branch of the member gitlab server.
|
||||
<type category="define">#define <name>VK_MAKE_VERSION</name>(major, minor, patch) \
|
||||
((((uint32_t)(major)) << 22) | (((uint32_t)(minor)) << 12) | ((uint32_t)(patch)))</type>
|
||||
<type category="define">#define <name>VK_VERSION_MAJOR</name>(version) ((uint32_t)(version) >> 22)</type>
|
||||
<type category="define">#define <name>VK_VERSION_MINOR</name>(version) (((uint32_t)(version) >> 12) & 0x3ff)</type>
|
||||
<type category="define">#define <name>VK_VERSION_PATCH</name>(version) ((uint32_t)(version) & 0xfff)</type>
|
||||
<type category="define">#define <name>VK_VERSION_MINOR</name>(version) (((uint32_t)(version) >> 12) & 0x3FFU)</type>
|
||||
<type category="define">#define <name>VK_VERSION_PATCH</name>(version) ((uint32_t)(version) & 0xFFFU)</type>
|
||||
|
||||
<type category="define">// DEPRECATED: This define has been removed. Specific version defines (e.g. VK_API_VERSION_1_0), or the VK_MAKE_VERSION macro, should be used instead.
|
||||
//#define <name>VK_API_VERSION</name> <type>VK_MAKE_VERSION</type>(1, 0, 0) // Patch version should always be set to 0</type>
|
||||
@@ -142,24 +142,44 @@ branch of the member gitlab server.
|
||||
<type category="define">// Vulkan 1.2 version number
|
||||
#define <name>VK_API_VERSION_1_2</name> <type>VK_MAKE_VERSION</type>(1, 2, 0)// Patch version should always be set to 0</type>
|
||||
<type category="define">// Version of this file
|
||||
#define <name>VK_HEADER_VERSION</name> 173</type>
|
||||
#define <name>VK_HEADER_VERSION</name> 174</type>
|
||||
<type category="define" requires="VK_HEADER_VERSION">// Complete version of this file
|
||||
#define <name>VK_HEADER_VERSION_COMPLETE</name> <type>VK_MAKE_VERSION</type>(1, 2, VK_HEADER_VERSION)</type>
|
||||
|
||||
<type category="define">
|
||||
#define <name>VK_DEFINE_HANDLE</name>(object) typedef struct object##_T* object;</type>
|
||||
|
||||
<type category="define" name="VK_DEFINE_NON_DISPATCHABLE_HANDLE">
|
||||
#if !defined(VK_DEFINE_NON_DISPATCHABLE_HANDLE)
|
||||
#if defined(__LP64__) || defined(_WIN64) || (defined(__x86_64__) && !defined(__ILP32__) ) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__)
|
||||
#define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef struct object##_T *object;
|
||||
#else
|
||||
#define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef uint64_t object;
|
||||
#endif
|
||||
<type category="define" name="VK_USE_64_BIT_PTR_DEFINES">
|
||||
#ifndef VK_USE_64_BIT_PTR_DEFINES
|
||||
#if defined(__LP64__) || defined(_WIN64) || (defined(__x86_64__) && !defined(__ILP32__) ) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__)
|
||||
#define VK_USE_64_BIT_PTR_DEFINES 1
|
||||
#else
|
||||
#define VK_USE_64_BIT_PTR_DEFINES 0
|
||||
#endif
|
||||
#endif</type>
|
||||
<type category="define" requires="VK_USE_64_BIT_PTR_DEFINES" name="VK_DEFINE_NON_DISPATCHABLE_HANDLE">
|
||||
#ifndef VK_DEFINE_NON_DISPATCHABLE_HANDLE
|
||||
#if (VK_USE_64_BIT_PTR_DEFINES==1)
|
||||
#define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef struct object##_T *object;
|
||||
#else
|
||||
#define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef uint64_t object;
|
||||
#endif
|
||||
#endif</type>
|
||||
<type category="define" requires="VK_DEFINE_NON_DISPATCHABLE_HANDLE" name="VK_NULL_HANDLE">
|
||||
#ifndef VK_DEFINE_NON_DISPATCHABLE_HANDLE
|
||||
#if (VK_USE_64_BIT_PTR_DEFINES==1)
|
||||
#if __cplusplus >= 201103L
|
||||
#define VK_NULL_HANDLE nullptr
|
||||
#else
|
||||
#define VK_NULL_HANDLE ((void*)0)
|
||||
#endif
|
||||
#else
|
||||
#define VK_NULL_HANDLE 0ULL
|
||||
#endif
|
||||
#endif
|
||||
#ifndef VK_NULL_HANDLE
|
||||
#define VK_NULL_HANDLE 0
|
||||
#endif</type>
|
||||
|
||||
<type category="define">
|
||||
#define <name>VK_NULL_HANDLE</name> 0</type>
|
||||
|
||||
<type category="basetype">struct <name>ANativeWindow</name>;</type>
|
||||
<type category="basetype">struct <name>AHardwareBuffer</name>;</type>
|
||||
@@ -5290,34 +5310,34 @@ typedef void <name>CAMetalLayer</name>;
|
||||
<comment>Vulkan enumerant (token) definitions</comment>
|
||||
|
||||
<enums name="API Constants" comment="Vulkan hardcoded constants - not an enumerated type, part of the header boilerplate">
|
||||
<enum value="256" name="VK_MAX_PHYSICAL_DEVICE_NAME_SIZE"/>
|
||||
<enum value="16" name="VK_UUID_SIZE"/>
|
||||
<enum value="8" name="VK_LUID_SIZE"/>
|
||||
<enum name="VK_LUID_SIZE_KHR" alias="VK_LUID_SIZE"/>
|
||||
<enum value="256" name="VK_MAX_EXTENSION_NAME_SIZE"/>
|
||||
<enum value="256" name="VK_MAX_DESCRIPTION_SIZE"/>
|
||||
<enum value="32" name="VK_MAX_MEMORY_TYPES"/>
|
||||
<enum value="16" name="VK_MAX_MEMORY_HEAPS" comment="The maximum number of unique memory heaps, each of which supporting 1 or more memory types"/>
|
||||
<enum value="1000.0f" name="VK_LOD_CLAMP_NONE"/>
|
||||
<enum value="(~0U)" name="VK_REMAINING_MIP_LEVELS"/>
|
||||
<enum value="(~0U)" name="VK_REMAINING_ARRAY_LAYERS"/>
|
||||
<enum value="(~0ULL)" name="VK_WHOLE_SIZE"/>
|
||||
<enum value="(~0U)" name="VK_ATTACHMENT_UNUSED"/>
|
||||
<enum value="1" name="VK_TRUE"/>
|
||||
<enum value="0" name="VK_FALSE"/>
|
||||
<enum value="(~0U)" name="VK_QUEUE_FAMILY_IGNORED"/>
|
||||
<enum value="(~0U-1)" name="VK_QUEUE_FAMILY_EXTERNAL"/>
|
||||
<enum name="VK_QUEUE_FAMILY_EXTERNAL_KHR" alias="VK_QUEUE_FAMILY_EXTERNAL"/>
|
||||
<enum value="(~0U-2)" name="VK_QUEUE_FAMILY_FOREIGN_EXT"/>
|
||||
<enum value="(~0U)" name="VK_SUBPASS_EXTERNAL"/>
|
||||
<enum value="32" name="VK_MAX_DEVICE_GROUP_SIZE"/>
|
||||
<enum name="VK_MAX_DEVICE_GROUP_SIZE_KHR" alias="VK_MAX_DEVICE_GROUP_SIZE"/>
|
||||
<enum value="256" name="VK_MAX_DRIVER_NAME_SIZE"/>
|
||||
<enum name="VK_MAX_DRIVER_NAME_SIZE_KHR" alias="VK_MAX_DRIVER_NAME_SIZE"/>
|
||||
<enum value="256" name="VK_MAX_DRIVER_INFO_SIZE"/>
|
||||
<enum name="VK_MAX_DRIVER_INFO_SIZE_KHR" alias="VK_MAX_DRIVER_INFO_SIZE"/>
|
||||
<enum value="(~0U)" name="VK_SHADER_UNUSED_KHR"/>
|
||||
<enum name="VK_SHADER_UNUSED_NV" alias="VK_SHADER_UNUSED_KHR"/>
|
||||
<enum type="uint32_t" value="256" name="VK_MAX_PHYSICAL_DEVICE_NAME_SIZE"/>
|
||||
<enum type="uint32_t" value="16" name="VK_UUID_SIZE"/>
|
||||
<enum type="uint32_t" value="8" name="VK_LUID_SIZE"/>
|
||||
<enum name="VK_LUID_SIZE_KHR" alias="VK_LUID_SIZE"/>
|
||||
<enum type="uint32_t" value="256" name="VK_MAX_EXTENSION_NAME_SIZE"/>
|
||||
<enum type="uint32_t" value="256" name="VK_MAX_DESCRIPTION_SIZE"/>
|
||||
<enum type="uint32_t" value="32" name="VK_MAX_MEMORY_TYPES"/>
|
||||
<enum type="uint32_t" value="16" name="VK_MAX_MEMORY_HEAPS" comment="The maximum number of unique memory heaps, each of which supporting 1 or more memory types"/>
|
||||
<enum type="float" value="1000.0F" name="VK_LOD_CLAMP_NONE"/>
|
||||
<enum type="uint32_t" value="(~0U)" name="VK_REMAINING_MIP_LEVELS"/>
|
||||
<enum type="uint32_t" value="(~0U)" name="VK_REMAINING_ARRAY_LAYERS"/>
|
||||
<enum type="uint64_t" value="(~0ULL)" name="VK_WHOLE_SIZE"/>
|
||||
<enum type="uint32_t" value="(~0U)" name="VK_ATTACHMENT_UNUSED"/>
|
||||
<enum type="uint32_t" value="1" name="VK_TRUE"/>
|
||||
<enum type="uint32_t" value="0" name="VK_FALSE"/>
|
||||
<enum type="uint32_t" value="(~0U)" name="VK_QUEUE_FAMILY_IGNORED"/>
|
||||
<enum type="uint32_t" value="(~1U)" name="VK_QUEUE_FAMILY_EXTERNAL"/>
|
||||
<enum name="VK_QUEUE_FAMILY_EXTERNAL_KHR" alias="VK_QUEUE_FAMILY_EXTERNAL"/>
|
||||
<enum type="uint32_t" value="(~2U)" name="VK_QUEUE_FAMILY_FOREIGN_EXT"/>
|
||||
<enum type="uint32_t" value="(~0U)" name="VK_SUBPASS_EXTERNAL"/>
|
||||
<enum type="uint32_t" value="32" name="VK_MAX_DEVICE_GROUP_SIZE"/>
|
||||
<enum name="VK_MAX_DEVICE_GROUP_SIZE_KHR" alias="VK_MAX_DEVICE_GROUP_SIZE"/>
|
||||
<enum type="uint32_t" value="256" name="VK_MAX_DRIVER_NAME_SIZE"/>
|
||||
<enum name="VK_MAX_DRIVER_NAME_SIZE_KHR" alias="VK_MAX_DRIVER_NAME_SIZE"/>
|
||||
<enum type="uint32_t" value="256" name="VK_MAX_DRIVER_INFO_SIZE"/>
|
||||
<enum name="VK_MAX_DRIVER_INFO_SIZE_KHR" alias="VK_MAX_DRIVER_INFO_SIZE"/>
|
||||
<enum type="uint32_t" value="(~0U)" name="VK_SHADER_UNUSED_KHR"/>
|
||||
<enum name="VK_SHADER_UNUSED_NV" alias="VK_SHADER_UNUSED_KHR"/>
|
||||
</enums>
|
||||
|
||||
<comment>
|
||||
@@ -9596,7 +9616,9 @@ typedef void <name>CAMetalLayer</name>;
|
||||
<require comment="Header boilerplate">
|
||||
<type name="vk_platform"/>
|
||||
<type name="VK_DEFINE_HANDLE"/>
|
||||
<type name="VK_USE_64_BIT_PTR_DEFINES"/>
|
||||
<type name="VK_DEFINE_NON_DISPATCHABLE_HANDLE"/>
|
||||
<type name="VK_NULL_HANDLE"/>
|
||||
</require>
|
||||
<require comment="Fundamental types used by many commands and structures">
|
||||
<type name="VkBool32"/>
|
||||
@@ -9643,7 +9665,6 @@ typedef void <name>CAMetalLayer</name>;
|
||||
<enum name="VK_SUBPASS_EXTERNAL"/>
|
||||
<enum name="VK_TRUE"/>
|
||||
<enum name="VK_WHOLE_SIZE"/>
|
||||
<type name="VK_NULL_HANDLE"/>
|
||||
<type name="VkPipelineCacheHeaderVersion"/>
|
||||
</require>
|
||||
<require comment="Device initialization">
|
||||
|
||||
Reference in New Issue
Block a user