|
|
|
@ -1,10 +1,6 @@
|
|
|
|
|
#ifndef VULKAN_CORE_H_
|
|
|
|
|
#define VULKAN_CORE_H_ 1
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
** Copyright (c) 2015-2019 The Khronos Group Inc.
|
|
|
|
|
**
|
|
|
|
@ -27,6 +23,11 @@ extern "C" {
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_VERSION_1_0 1
|
|
|
|
|
#include "vk_platform.h"
|
|
|
|
@ -43,7 +44,7 @@ extern "C" {
|
|
|
|
|
#define VK_VERSION_MINOR(version) (((uint32_t)(version) >> 12) & 0x3ff)
|
|
|
|
|
#define VK_VERSION_PATCH(version) ((uint32_t)(version) & 0xfff)
|
|
|
|
|
// Version of this file
|
|
|
|
|
#define VK_HEADER_VERSION 114
|
|
|
|
|
#define VK_HEADER_VERSION 121
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_NULL_HANDLE 0
|
|
|
|
@ -307,6 +308,7 @@ typedef enum VkStructureType {
|
|
|
|
|
VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV = 1000058000,
|
|
|
|
|
VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT = 1000061000,
|
|
|
|
|
VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN = 1000062000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES_EXT = 1000066000,
|
|
|
|
|
VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT = 1000067000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT = 1000067001,
|
|
|
|
|
VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR = 1000073000,
|
|
|
|
@ -327,7 +329,7 @@ typedef enum VkStructureType {
|
|
|
|
|
VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT = 1000081000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT = 1000081001,
|
|
|
|
|
VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT = 1000081002,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR = 1000082000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES_KHR = 1000082000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR = 1000084000,
|
|
|
|
|
VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX = 1000086000,
|
|
|
|
|
VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX = 1000086001,
|
|
|
|
@ -446,6 +448,7 @@ typedef enum VkStructureType {
|
|
|
|
|
VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT = 1000178001,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT = 1000178002,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES_KHR = 1000180000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD = 1000183000,
|
|
|
|
|
VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT = 1000184000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD = 1000185000,
|
|
|
|
|
VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD = 1000189000,
|
|
|
|
@ -467,7 +470,7 @@ typedef enum VkStructureType {
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV = 1000205002,
|
|
|
|
|
VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV = 1000206000,
|
|
|
|
|
VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV = 1000206001,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS2_FEATURES_INTEL = 1000209000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL = 1000209000,
|
|
|
|
|
VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO_INTEL = 1000210000,
|
|
|
|
|
VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL = 1000210001,
|
|
|
|
|
VK_STRUCTURE_TYPE_PERFORMANCE_MARKER_INFO_INTEL = 1000210002,
|
|
|
|
@ -484,6 +487,11 @@ typedef enum VkStructureType {
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT = 1000218001,
|
|
|
|
|
VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT = 1000218002,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT = 1000221000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES_EXT = 1000225000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT = 1000225001,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES_EXT = 1000225002,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD = 1000227000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD = 1000229000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT = 1000237000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT = 1000238000,
|
|
|
|
|
VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT = 1000238001,
|
|
|
|
@ -507,7 +515,17 @@ typedef enum VkStructureType {
|
|
|
|
|
VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT = 1000255002,
|
|
|
|
|
VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT = 1000255001,
|
|
|
|
|
VK_STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXT = 1000256000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT = 1000259000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT = 1000259001,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT = 1000259002,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT = 1000261000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT = 1000265000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR = 1000269000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR = 1000269001,
|
|
|
|
|
VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHR = 1000269002,
|
|
|
|
|
VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHR = 1000269003,
|
|
|
|
|
VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR = 1000269004,
|
|
|
|
|
VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR = 1000269005,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT = 1000276000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT = 1000281000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES_EXT = 1000281001,
|
|
|
|
@ -546,6 +564,7 @@ typedef enum VkStructureType {
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO,
|
|
|
|
|
VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES_KHR = VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES,
|
|
|
|
|
VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES_KHR,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES,
|
|
|
|
|
VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO,
|
|
|
|
|
VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES2_EXT = VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT,
|
|
|
|
@ -830,6 +849,20 @@ typedef enum VkFormat {
|
|
|
|
|
VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG = 1000054005,
|
|
|
|
|
VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG = 1000054006,
|
|
|
|
|
VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG = 1000054007,
|
|
|
|
|
VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK_EXT = 1000066000,
|
|
|
|
|
VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK_EXT = 1000066001,
|
|
|
|
|
VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK_EXT = 1000066002,
|
|
|
|
|
VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK_EXT = 1000066003,
|
|
|
|
|
VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK_EXT = 1000066004,
|
|
|
|
|
VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK_EXT = 1000066005,
|
|
|
|
|
VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK_EXT = 1000066006,
|
|
|
|
|
VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK_EXT = 1000066007,
|
|
|
|
|
VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK_EXT = 1000066008,
|
|
|
|
|
VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK_EXT = 1000066009,
|
|
|
|
|
VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK_EXT = 1000066010,
|
|
|
|
|
VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK_EXT = 1000066011,
|
|
|
|
|
VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK_EXT = 1000066012,
|
|
|
|
|
VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK_EXT = 1000066013,
|
|
|
|
|
VK_FORMAT_G8B8G8R8_422_UNORM_KHR = VK_FORMAT_G8B8G8R8_422_UNORM,
|
|
|
|
|
VK_FORMAT_B8G8R8G8_422_UNORM_KHR = VK_FORMAT_B8G8R8G8_422_UNORM,
|
|
|
|
|
VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM_KHR = VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM,
|
|
|
|
@ -1176,6 +1209,7 @@ typedef enum VkDynamicState {
|
|
|
|
|
VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV = 1000164004,
|
|
|
|
|
VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV = 1000164006,
|
|
|
|
|
VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV = 1000205001,
|
|
|
|
|
VK_DYNAMIC_STATE_LINE_STIPPLE_EXT = 1000259000,
|
|
|
|
|
VK_DYNAMIC_STATE_BEGIN_RANGE = VK_DYNAMIC_STATE_VIEWPORT,
|
|
|
|
|
VK_DYNAMIC_STATE_END_RANGE = VK_DYNAMIC_STATE_STENCIL_REFERENCE,
|
|
|
|
|
VK_DYNAMIC_STATE_RANGE_SIZE = (VK_DYNAMIC_STATE_STENCIL_REFERENCE - VK_DYNAMIC_STATE_VIEWPORT + 1),
|
|
|
|
@ -1208,6 +1242,7 @@ typedef enum VkSamplerAddressMode {
|
|
|
|
|
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE = 2,
|
|
|
|
|
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER = 3,
|
|
|
|
|
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE = 4,
|
|
|
|
|
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE_KHR = VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE,
|
|
|
|
|
VK_SAMPLER_ADDRESS_MODE_BEGIN_RANGE = VK_SAMPLER_ADDRESS_MODE_REPEAT,
|
|
|
|
|
VK_SAMPLER_ADDRESS_MODE_END_RANGE = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER,
|
|
|
|
|
VK_SAMPLER_ADDRESS_MODE_RANGE_SIZE = (VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER - VK_SAMPLER_ADDRESS_MODE_REPEAT + 1),
|
|
|
|
@ -1289,6 +1324,7 @@ typedef enum VkIndexType {
|
|
|
|
|
VK_INDEX_TYPE_UINT16 = 0,
|
|
|
|
|
VK_INDEX_TYPE_UINT32 = 1,
|
|
|
|
|
VK_INDEX_TYPE_NONE_NV = 1000165000,
|
|
|
|
|
VK_INDEX_TYPE_UINT8_EXT = 1000265000,
|
|
|
|
|
VK_INDEX_TYPE_BEGIN_RANGE = VK_INDEX_TYPE_UINT16,
|
|
|
|
|
VK_INDEX_TYPE_END_RANGE = VK_INDEX_TYPE_UINT32,
|
|
|
|
|
VK_INDEX_TYPE_RANGE_SIZE = (VK_INDEX_TYPE_UINT32 - VK_INDEX_TYPE_UINT16 + 1),
|
|
|
|
@ -1473,6 +1509,8 @@ typedef enum VkMemoryPropertyFlagBits {
|
|
|
|
|
VK_MEMORY_PROPERTY_HOST_CACHED_BIT = 0x00000008,
|
|
|
|
|
VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT = 0x00000010,
|
|
|
|
|
VK_MEMORY_PROPERTY_PROTECTED_BIT = 0x00000020,
|
|
|
|
|
VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD = 0x00000040,
|
|
|
|
|
VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD = 0x00000080,
|
|
|
|
|
VK_MEMORY_PROPERTY_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
|
|
|
|
|
} VkMemoryPropertyFlagBits;
|
|
|
|
|
typedef VkFlags VkMemoryPropertyFlags;
|
|
|
|
@ -1626,6 +1664,10 @@ typedef enum VkImageViewCreateFlagBits {
|
|
|
|
|
VK_IMAGE_VIEW_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
|
|
|
|
|
} VkImageViewCreateFlagBits;
|
|
|
|
|
typedef VkFlags VkImageViewCreateFlags;
|
|
|
|
|
|
|
|
|
|
typedef enum VkShaderModuleCreateFlagBits {
|
|
|
|
|
VK_SHADER_MODULE_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
|
|
|
|
|
} VkShaderModuleCreateFlagBits;
|
|
|
|
|
typedef VkFlags VkShaderModuleCreateFlags;
|
|
|
|
|
typedef VkFlags VkPipelineCacheCreateFlags;
|
|
|
|
|
|
|
|
|
@ -1636,11 +1678,19 @@ typedef enum VkPipelineCreateFlagBits {
|
|
|
|
|
VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT = 0x00000008,
|
|
|
|
|
VK_PIPELINE_CREATE_DISPATCH_BASE = 0x00000010,
|
|
|
|
|
VK_PIPELINE_CREATE_DEFER_COMPILE_BIT_NV = 0x00000020,
|
|
|
|
|
VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR = 0x00000040,
|
|
|
|
|
VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR = 0x00000080,
|
|
|
|
|
VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR = VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT,
|
|
|
|
|
VK_PIPELINE_CREATE_DISPATCH_BASE_KHR = VK_PIPELINE_CREATE_DISPATCH_BASE,
|
|
|
|
|
VK_PIPELINE_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
|
|
|
|
|
} VkPipelineCreateFlagBits;
|
|
|
|
|
typedef VkFlags VkPipelineCreateFlags;
|
|
|
|
|
|
|
|
|
|
typedef enum VkPipelineShaderStageCreateFlagBits {
|
|
|
|
|
VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT_EXT = 0x00000001,
|
|
|
|
|
VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT_EXT = 0x00000002,
|
|
|
|
|
VK_PIPELINE_SHADER_STAGE_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
|
|
|
|
|
} VkPipelineShaderStageCreateFlagBits;
|
|
|
|
|
typedef VkFlags VkPipelineShaderStageCreateFlags;
|
|
|
|
|
|
|
|
|
|
typedef enum VkShaderStageFlagBits {
|
|
|
|
@ -1719,6 +1769,10 @@ typedef enum VkFramebufferCreateFlagBits {
|
|
|
|
|
VK_FRAMEBUFFER_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
|
|
|
|
|
} VkFramebufferCreateFlagBits;
|
|
|
|
|
typedef VkFlags VkFramebufferCreateFlags;
|
|
|
|
|
|
|
|
|
|
typedef enum VkRenderPassCreateFlagBits {
|
|
|
|
|
VK_RENDER_PASS_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
|
|
|
|
|
} VkRenderPassCreateFlagBits;
|
|
|
|
|
typedef VkFlags VkRenderPassCreateFlags;
|
|
|
|
|
|
|
|
|
|
typedef enum VkAttachmentDescriptionFlagBits {
|
|
|
|
@ -1814,7 +1868,8 @@ typedef VkFlags VkCommandBufferResetFlags;
|
|
|
|
|
typedef enum VkStencilFaceFlagBits {
|
|
|
|
|
VK_STENCIL_FACE_FRONT_BIT = 0x00000001,
|
|
|
|
|
VK_STENCIL_FACE_BACK_BIT = 0x00000002,
|
|
|
|
|
VK_STENCIL_FRONT_AND_BACK = 0x00000003,
|
|
|
|
|
VK_STENCIL_FACE_FRONT_AND_BACK = 0x00000003,
|
|
|
|
|
VK_STENCIL_FRONT_AND_BACK = VK_STENCIL_FACE_FRONT_AND_BACK,
|
|
|
|
|
VK_STENCIL_FACE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
|
|
|
|
|
} VkStencilFaceFlagBits;
|
|
|
|
|
typedef VkFlags VkStencilFaceFlags;
|
|
|
|
@ -5030,7 +5085,7 @@ VKAPI_ATTR VkResult VKAPI_CALL vkAcquireNextImage2KHR(
|
|
|
|
|
#define VK_KHR_display 1
|
|
|
|
|
VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDisplayKHR)
|
|
|
|
|
VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDisplayModeKHR)
|
|
|
|
|
#define VK_KHR_DISPLAY_SPEC_VERSION 21
|
|
|
|
|
#define VK_KHR_DISPLAY_SPEC_VERSION 23
|
|
|
|
|
#define VK_KHR_DISPLAY_EXTENSION_NAME "VK_KHR_display"
|
|
|
|
|
|
|
|
|
|
typedef enum VkDisplayPlaneAlphaFlagBitsKHR {
|
|
|
|
@ -5153,7 +5208,7 @@ VKAPI_ATTR VkResult VKAPI_CALL vkCreateDisplayPlaneSurfaceKHR(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_KHR_display_swapchain 1
|
|
|
|
|
#define VK_KHR_DISPLAY_SWAPCHAIN_SPEC_VERSION 9
|
|
|
|
|
#define VK_KHR_DISPLAY_SWAPCHAIN_SPEC_VERSION 10
|
|
|
|
|
#define VK_KHR_DISPLAY_SWAPCHAIN_EXTENSION_NAME "VK_KHR_display_swapchain"
|
|
|
|
|
typedef struct VkDisplayPresentInfoKHR {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
@ -5176,7 +5231,7 @@ VKAPI_ATTR VkResult VKAPI_CALL vkCreateSharedSwapchainsKHR(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_KHR_sampler_mirror_clamp_to_edge 1
|
|
|
|
|
#define VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_SPEC_VERSION 1
|
|
|
|
|
#define VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_SPEC_VERSION 3
|
|
|
|
|
#define VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_EXTENSION_NAME "VK_KHR_sampler_mirror_clamp_to_edge"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -5192,7 +5247,7 @@ typedef VkPhysicalDeviceMultiviewProperties VkPhysicalDeviceMultiviewPropertiesK
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_KHR_get_physical_device_properties2 1
|
|
|
|
|
#define VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_SPEC_VERSION 1
|
|
|
|
|
#define VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_SPEC_VERSION 2
|
|
|
|
|
#define VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME "VK_KHR_get_physical_device_properties2"
|
|
|
|
|
typedef VkPhysicalDeviceFeatures2 VkPhysicalDeviceFeatures2KHR;
|
|
|
|
|
|
|
|
|
@ -5257,7 +5312,7 @@ VKAPI_ATTR void VKAPI_CALL vkGetPhysicalDeviceSparseImageFormatProperties2KHR(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_KHR_device_group 1
|
|
|
|
|
#define VK_KHR_DEVICE_GROUP_SPEC_VERSION 3
|
|
|
|
|
#define VK_KHR_DEVICE_GROUP_SPEC_VERSION 4
|
|
|
|
|
#define VK_KHR_DEVICE_GROUP_EXTENSION_NAME "VK_KHR_device_group"
|
|
|
|
|
typedef VkPeerMemoryFeatureFlags VkPeerMemoryFeatureFlagsKHR;
|
|
|
|
|
|
|
|
|
@ -5535,12 +5590,14 @@ VKAPI_ATTR void VKAPI_CALL vkCmdPushDescriptorSetWithTemplateKHR(
|
|
|
|
|
#define VK_KHR_shader_float16_int8 1
|
|
|
|
|
#define VK_KHR_SHADER_FLOAT16_INT8_SPEC_VERSION 1
|
|
|
|
|
#define VK_KHR_SHADER_FLOAT16_INT8_EXTENSION_NAME "VK_KHR_shader_float16_int8"
|
|
|
|
|
typedef struct VkPhysicalDeviceFloat16Int8FeaturesKHR {
|
|
|
|
|
typedef struct VkPhysicalDeviceShaderFloat16Int8FeaturesKHR {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkBool32 shaderFloat16;
|
|
|
|
|
VkBool32 shaderInt8;
|
|
|
|
|
} VkPhysicalDeviceFloat16Int8FeaturesKHR;
|
|
|
|
|
} VkPhysicalDeviceShaderFloat16Int8FeaturesKHR;
|
|
|
|
|
|
|
|
|
|
typedef VkPhysicalDeviceShaderFloat16Int8FeaturesKHR VkPhysicalDeviceFloat16Int8FeaturesKHR;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -6040,7 +6097,7 @@ typedef struct VkImageFormatListCreateInfoKHR {
|
|
|
|
|
#define VK_KHR_sampler_ycbcr_conversion 1
|
|
|
|
|
typedef VkSamplerYcbcrConversion VkSamplerYcbcrConversionKHR;
|
|
|
|
|
|
|
|
|
|
#define VK_KHR_SAMPLER_YCBCR_CONVERSION_SPEC_VERSION 1
|
|
|
|
|
#define VK_KHR_SAMPLER_YCBCR_CONVERSION_SPEC_VERSION 14
|
|
|
|
|
#define VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME "VK_KHR_sampler_ycbcr_conversion"
|
|
|
|
|
typedef VkSamplerYcbcrModelConversion VkSamplerYcbcrModelConversionKHR;
|
|
|
|
|
|
|
|
|
@ -6212,28 +6269,38 @@ typedef struct VkPhysicalDeviceDriverPropertiesKHR {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_KHR_shader_float_controls 1
|
|
|
|
|
#define VK_KHR_SHADER_FLOAT_CONTROLS_SPEC_VERSION 1
|
|
|
|
|
#define VK_KHR_SHADER_FLOAT_CONTROLS_SPEC_VERSION 4
|
|
|
|
|
#define VK_KHR_SHADER_FLOAT_CONTROLS_EXTENSION_NAME "VK_KHR_shader_float_controls"
|
|
|
|
|
|
|
|
|
|
typedef enum VkShaderFloatControlsIndependenceKHR {
|
|
|
|
|
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY_KHR = 0,
|
|
|
|
|
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL_KHR = 1,
|
|
|
|
|
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE_KHR = 2,
|
|
|
|
|
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_BEGIN_RANGE_KHR = VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY_KHR,
|
|
|
|
|
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_END_RANGE_KHR = VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE_KHR,
|
|
|
|
|
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_RANGE_SIZE_KHR = (VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE_KHR - VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY_KHR + 1),
|
|
|
|
|
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_MAX_ENUM_KHR = 0x7FFFFFFF
|
|
|
|
|
} VkShaderFloatControlsIndependenceKHR;
|
|
|
|
|
typedef struct VkPhysicalDeviceFloatControlsPropertiesKHR {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkBool32 separateDenormSettings;
|
|
|
|
|
VkBool32 separateRoundingModeSettings;
|
|
|
|
|
VkBool32 shaderSignedZeroInfNanPreserveFloat16;
|
|
|
|
|
VkBool32 shaderSignedZeroInfNanPreserveFloat32;
|
|
|
|
|
VkBool32 shaderSignedZeroInfNanPreserveFloat64;
|
|
|
|
|
VkBool32 shaderDenormPreserveFloat16;
|
|
|
|
|
VkBool32 shaderDenormPreserveFloat32;
|
|
|
|
|
VkBool32 shaderDenormPreserveFloat64;
|
|
|
|
|
VkBool32 shaderDenormFlushToZeroFloat16;
|
|
|
|
|
VkBool32 shaderDenormFlushToZeroFloat32;
|
|
|
|
|
VkBool32 shaderDenormFlushToZeroFloat64;
|
|
|
|
|
VkBool32 shaderRoundingModeRTEFloat16;
|
|
|
|
|
VkBool32 shaderRoundingModeRTEFloat32;
|
|
|
|
|
VkBool32 shaderRoundingModeRTEFloat64;
|
|
|
|
|
VkBool32 shaderRoundingModeRTZFloat16;
|
|
|
|
|
VkBool32 shaderRoundingModeRTZFloat32;
|
|
|
|
|
VkBool32 shaderRoundingModeRTZFloat64;
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkShaderFloatControlsIndependenceKHR denormBehaviorIndependence;
|
|
|
|
|
VkShaderFloatControlsIndependenceKHR roundingModeIndependence;
|
|
|
|
|
VkBool32 shaderSignedZeroInfNanPreserveFloat16;
|
|
|
|
|
VkBool32 shaderSignedZeroInfNanPreserveFloat32;
|
|
|
|
|
VkBool32 shaderSignedZeroInfNanPreserveFloat64;
|
|
|
|
|
VkBool32 shaderDenormPreserveFloat16;
|
|
|
|
|
VkBool32 shaderDenormPreserveFloat32;
|
|
|
|
|
VkBool32 shaderDenormPreserveFloat64;
|
|
|
|
|
VkBool32 shaderDenormFlushToZeroFloat16;
|
|
|
|
|
VkBool32 shaderDenormFlushToZeroFloat32;
|
|
|
|
|
VkBool32 shaderDenormFlushToZeroFloat64;
|
|
|
|
|
VkBool32 shaderRoundingModeRTEFloat16;
|
|
|
|
|
VkBool32 shaderRoundingModeRTEFloat32;
|
|
|
|
|
VkBool32 shaderRoundingModeRTEFloat64;
|
|
|
|
|
VkBool32 shaderRoundingModeRTZFloat16;
|
|
|
|
|
VkBool32 shaderRoundingModeRTZFloat32;
|
|
|
|
|
VkBool32 shaderRoundingModeRTZFloat64;
|
|
|
|
|
} VkPhysicalDeviceFloatControlsPropertiesKHR;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -6310,6 +6377,99 @@ typedef struct VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_KHR_pipeline_executable_properties 1
|
|
|
|
|
#define VK_KHR_PIPELINE_EXECUTABLE_PROPERTIES_SPEC_VERSION 1
|
|
|
|
|
#define VK_KHR_PIPELINE_EXECUTABLE_PROPERTIES_EXTENSION_NAME "VK_KHR_pipeline_executable_properties"
|
|
|
|
|
|
|
|
|
|
typedef enum VkPipelineExecutableStatisticFormatKHR {
|
|
|
|
|
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR = 0,
|
|
|
|
|
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR = 1,
|
|
|
|
|
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR = 2,
|
|
|
|
|
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR = 3,
|
|
|
|
|
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BEGIN_RANGE_KHR = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR,
|
|
|
|
|
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_END_RANGE_KHR = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR,
|
|
|
|
|
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_RANGE_SIZE_KHR = (VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR - VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR + 1),
|
|
|
|
|
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_MAX_ENUM_KHR = 0x7FFFFFFF
|
|
|
|
|
} VkPipelineExecutableStatisticFormatKHR;
|
|
|
|
|
typedef struct VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkBool32 pipelineExecutableInfo;
|
|
|
|
|
} VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR;
|
|
|
|
|
|
|
|
|
|
typedef struct VkPipelineInfoKHR {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
const void* pNext;
|
|
|
|
|
VkPipeline pipeline;
|
|
|
|
|
} VkPipelineInfoKHR;
|
|
|
|
|
|
|
|
|
|
typedef struct VkPipelineExecutablePropertiesKHR {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkShaderStageFlags stages;
|
|
|
|
|
char name[VK_MAX_DESCRIPTION_SIZE];
|
|
|
|
|
char description[VK_MAX_DESCRIPTION_SIZE];
|
|
|
|
|
uint32_t subgroupSize;
|
|
|
|
|
} VkPipelineExecutablePropertiesKHR;
|
|
|
|
|
|
|
|
|
|
typedef struct VkPipelineExecutableInfoKHR {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
const void* pNext;
|
|
|
|
|
VkPipeline pipeline;
|
|
|
|
|
uint32_t executableIndex;
|
|
|
|
|
} VkPipelineExecutableInfoKHR;
|
|
|
|
|
|
|
|
|
|
typedef union VkPipelineExecutableStatisticValueKHR {
|
|
|
|
|
VkBool32 b32;
|
|
|
|
|
int64_t i64;
|
|
|
|
|
uint64_t u64;
|
|
|
|
|
double f64;
|
|
|
|
|
} VkPipelineExecutableStatisticValueKHR;
|
|
|
|
|
|
|
|
|
|
typedef struct VkPipelineExecutableStatisticKHR {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
char name[VK_MAX_DESCRIPTION_SIZE];
|
|
|
|
|
char description[VK_MAX_DESCRIPTION_SIZE];
|
|
|
|
|
VkPipelineExecutableStatisticFormatKHR format;
|
|
|
|
|
VkPipelineExecutableStatisticValueKHR value;
|
|
|
|
|
} VkPipelineExecutableStatisticKHR;
|
|
|
|
|
|
|
|
|
|
typedef struct VkPipelineExecutableInternalRepresentationKHR {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
char name[VK_MAX_DESCRIPTION_SIZE];
|
|
|
|
|
char description[VK_MAX_DESCRIPTION_SIZE];
|
|
|
|
|
VkBool32 isText;
|
|
|
|
|
size_t dataSize;
|
|
|
|
|
void* pData;
|
|
|
|
|
} VkPipelineExecutableInternalRepresentationKHR;
|
|
|
|
|
|
|
|
|
|
typedef VkResult (VKAPI_PTR *PFN_vkGetPipelineExecutablePropertiesKHR)(VkDevice device, const VkPipelineInfoKHR* pPipelineInfo, uint32_t* pExecutableCount, VkPipelineExecutablePropertiesKHR* pProperties);
|
|
|
|
|
typedef VkResult (VKAPI_PTR *PFN_vkGetPipelineExecutableStatisticsKHR)(VkDevice device, const VkPipelineExecutableInfoKHR* pExecutableInfo, uint32_t* pStatisticCount, VkPipelineExecutableStatisticKHR* pStatistics);
|
|
|
|
|
typedef VkResult (VKAPI_PTR *PFN_vkGetPipelineExecutableInternalRepresentationsKHR)(VkDevice device, const VkPipelineExecutableInfoKHR* pExecutableInfo, uint32_t* pInternalRepresentationCount, VkPipelineExecutableInternalRepresentationKHR* pInternalRepresentations);
|
|
|
|
|
|
|
|
|
|
#ifndef VK_NO_PROTOTYPES
|
|
|
|
|
VKAPI_ATTR VkResult VKAPI_CALL vkGetPipelineExecutablePropertiesKHR(
|
|
|
|
|
VkDevice device,
|
|
|
|
|
const VkPipelineInfoKHR* pPipelineInfo,
|
|
|
|
|
uint32_t* pExecutableCount,
|
|
|
|
|
VkPipelineExecutablePropertiesKHR* pProperties);
|
|
|
|
|
|
|
|
|
|
VKAPI_ATTR VkResult VKAPI_CALL vkGetPipelineExecutableStatisticsKHR(
|
|
|
|
|
VkDevice device,
|
|
|
|
|
const VkPipelineExecutableInfoKHR* pExecutableInfo,
|
|
|
|
|
uint32_t* pStatisticCount,
|
|
|
|
|
VkPipelineExecutableStatisticKHR* pStatistics);
|
|
|
|
|
|
|
|
|
|
VKAPI_ATTR VkResult VKAPI_CALL vkGetPipelineExecutableInternalRepresentationsKHR(
|
|
|
|
|
VkDevice device,
|
|
|
|
|
const VkPipelineExecutableInfoKHR* pExecutableInfo,
|
|
|
|
|
uint32_t* pInternalRepresentationCount,
|
|
|
|
|
VkPipelineExecutableInternalRepresentationKHR* pInternalRepresentations);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_debug_report 1
|
|
|
|
|
VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDebugReportCallbackEXT)
|
|
|
|
|
#define VK_EXT_DEBUG_REPORT_SPEC_VERSION 9
|
|
|
|
@ -6656,7 +6816,7 @@ VKAPI_ATTR uint32_t VKAPI_CALL vkGetImageViewHandleNVX(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_AMD_draw_indirect_count 1
|
|
|
|
|
#define VK_AMD_DRAW_INDIRECT_COUNT_SPEC_VERSION 1
|
|
|
|
|
#define VK_AMD_DRAW_INDIRECT_COUNT_SPEC_VERSION 2
|
|
|
|
|
#define VK_AMD_DRAW_INDIRECT_COUNT_EXTENSION_NAME "VK_AMD_draw_indirect_count"
|
|
|
|
|
typedef void (VKAPI_PTR *PFN_vkCmdDrawIndirectCountAMD)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride);
|
|
|
|
|
typedef void (VKAPI_PTR *PFN_vkCmdDrawIndexedIndirectCountAMD)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride);
|
|
|
|
@ -6863,6 +7023,17 @@ typedef struct VkValidationFlagsEXT {
|
|
|
|
|
#define VK_EXT_SHADER_SUBGROUP_VOTE_EXTENSION_NAME "VK_EXT_shader_subgroup_vote"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_texture_compression_astc_hdr 1
|
|
|
|
|
#define VK_EXT_TEXTURE_COMPRESSION_ASTC_HDR_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_TEXTURE_COMPRESSION_ASTC_HDR_EXTENSION_NAME "VK_EXT_texture_compression_astc_hdr"
|
|
|
|
|
typedef struct VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
const void* pNext;
|
|
|
|
|
VkBool32 textureCompressionASTC_HDR;
|
|
|
|
|
} VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_astc_decode_mode 1
|
|
|
|
|
#define VK_EXT_ASTC_DECODE_MODE_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_ASTC_DECODE_MODE_EXTENSION_NAME "VK_EXT_astc_decode_mode"
|
|
|
|
@ -6881,7 +7052,7 @@ typedef struct VkPhysicalDeviceASTCDecodeFeaturesEXT {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_conditional_rendering 1
|
|
|
|
|
#define VK_EXT_CONDITIONAL_RENDERING_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_CONDITIONAL_RENDERING_SPEC_VERSION 2
|
|
|
|
|
#define VK_EXT_CONDITIONAL_RENDERING_EXTENSION_NAME "VK_EXT_conditional_rendering"
|
|
|
|
|
|
|
|
|
|
typedef enum VkConditionalRenderingFlagBitsEXT {
|
|
|
|
@ -7513,7 +7684,7 @@ typedef struct VkPipelineRasterizationDepthClipStateCreateInfoEXT {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_hdr_metadata 1
|
|
|
|
|
#define VK_EXT_HDR_METADATA_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_HDR_METADATA_SPEC_VERSION 2
|
|
|
|
|
#define VK_EXT_HDR_METADATA_EXTENSION_NAME "VK_EXT_hdr_metadata"
|
|
|
|
|
typedef struct VkXYColorEXT {
|
|
|
|
|
float x;
|
|
|
|
@ -7697,7 +7868,7 @@ VKAPI_ATTR void VKAPI_CALL vkSubmitDebugUtilsMessageEXT(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_sampler_filter_minmax 1
|
|
|
|
|
#define VK_EXT_SAMPLER_FILTER_MINMAX_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_SAMPLER_FILTER_MINMAX_SPEC_VERSION 2
|
|
|
|
|
#define VK_EXT_SAMPLER_FILTER_MINMAX_EXTENSION_NAME "VK_EXT_sampler_filter_minmax"
|
|
|
|
|
|
|
|
|
|
typedef enum VkSamplerReductionModeEXT {
|
|
|
|
@ -8280,6 +8451,15 @@ VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkAccelerationStructureNV)
|
|
|
|
|
#define VK_NV_RAY_TRACING_EXTENSION_NAME "VK_NV_ray_tracing"
|
|
|
|
|
#define VK_SHADER_UNUSED_NV (~0U)
|
|
|
|
|
|
|
|
|
|
typedef enum VkAccelerationStructureTypeNV {
|
|
|
|
|
VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NV = 0,
|
|
|
|
|
VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_NV = 1,
|
|
|
|
|
VK_ACCELERATION_STRUCTURE_TYPE_BEGIN_RANGE_NV = VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NV,
|
|
|
|
|
VK_ACCELERATION_STRUCTURE_TYPE_END_RANGE_NV = VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_NV,
|
|
|
|
|
VK_ACCELERATION_STRUCTURE_TYPE_RANGE_SIZE_NV = (VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_NV - VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NV + 1),
|
|
|
|
|
VK_ACCELERATION_STRUCTURE_TYPE_MAX_ENUM_NV = 0x7FFFFFFF
|
|
|
|
|
} VkAccelerationStructureTypeNV;
|
|
|
|
|
|
|
|
|
|
typedef enum VkRayTracingShaderGroupTypeNV {
|
|
|
|
|
VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_NV = 0,
|
|
|
|
|
VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_NV = 1,
|
|
|
|
@ -8299,15 +8479,6 @@ typedef enum VkGeometryTypeNV {
|
|
|
|
|
VK_GEOMETRY_TYPE_MAX_ENUM_NV = 0x7FFFFFFF
|
|
|
|
|
} VkGeometryTypeNV;
|
|
|
|
|
|
|
|
|
|
typedef enum VkAccelerationStructureTypeNV {
|
|
|
|
|
VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NV = 0,
|
|
|
|
|
VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_NV = 1,
|
|
|
|
|
VK_ACCELERATION_STRUCTURE_TYPE_BEGIN_RANGE_NV = VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NV,
|
|
|
|
|
VK_ACCELERATION_STRUCTURE_TYPE_END_RANGE_NV = VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_NV,
|
|
|
|
|
VK_ACCELERATION_STRUCTURE_TYPE_RANGE_SIZE_NV = (VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_NV - VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NV + 1),
|
|
|
|
|
VK_ACCELERATION_STRUCTURE_TYPE_MAX_ENUM_NV = 0x7FFFFFFF
|
|
|
|
|
} VkAccelerationStructureTypeNV;
|
|
|
|
|
|
|
|
|
|
typedef enum VkCopyAccelerationStructureModeNV {
|
|
|
|
|
VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_NV = 0,
|
|
|
|
|
VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_NV = 1,
|
|
|
|
@ -8575,7 +8746,7 @@ VKAPI_ATTR VkResult VKAPI_CALL vkCompileDeferredNV(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_NV_representative_fragment_test 1
|
|
|
|
|
#define VK_NV_REPRESENTATIVE_FRAGMENT_TEST_SPEC_VERSION 1
|
|
|
|
|
#define VK_NV_REPRESENTATIVE_FRAGMENT_TEST_SPEC_VERSION 2
|
|
|
|
|
#define VK_NV_REPRESENTATIVE_FRAGMENT_TEST_EXTENSION_NAME "VK_NV_representative_fragment_test"
|
|
|
|
|
typedef struct VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
@ -8679,6 +8850,22 @@ VKAPI_ATTR void VKAPI_CALL vkCmdWriteBufferMarkerAMD(
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_AMD_pipeline_compiler_control 1
|
|
|
|
|
#define VK_AMD_PIPELINE_COMPILER_CONTROL_SPEC_VERSION 1
|
|
|
|
|
#define VK_AMD_PIPELINE_COMPILER_CONTROL_EXTENSION_NAME "VK_AMD_pipeline_compiler_control"
|
|
|
|
|
|
|
|
|
|
typedef enum VkPipelineCompilerControlFlagBitsAMD {
|
|
|
|
|
VK_PIPELINE_COMPILER_CONTROL_FLAG_BITS_MAX_ENUM_AMD = 0x7FFFFFFF
|
|
|
|
|
} VkPipelineCompilerControlFlagBitsAMD;
|
|
|
|
|
typedef VkFlags VkPipelineCompilerControlFlagsAMD;
|
|
|
|
|
typedef struct VkPipelineCompilerControlCreateInfoAMD {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
const void* pNext;
|
|
|
|
|
VkPipelineCompilerControlFlagsAMD compilerControlFlags;
|
|
|
|
|
} VkPipelineCompilerControlCreateInfoAMD;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_calibrated_timestamps 1
|
|
|
|
|
#define VK_EXT_CALIBRATED_TIMESTAMPS_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME "VK_EXT_calibrated_timestamps"
|
|
|
|
@ -8718,7 +8905,7 @@ VKAPI_ATTR VkResult VKAPI_CALL vkGetCalibratedTimestampsEXT(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_AMD_shader_core_properties 1
|
|
|
|
|
#define VK_AMD_SHADER_CORE_PROPERTIES_SPEC_VERSION 1
|
|
|
|
|
#define VK_AMD_SHADER_CORE_PROPERTIES_SPEC_VERSION 2
|
|
|
|
|
#define VK_AMD_SHADER_CORE_PROPERTIES_EXTENSION_NAME "VK_AMD_shader_core_properties"
|
|
|
|
|
typedef struct VkPhysicalDeviceShaderCorePropertiesAMD {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
@ -8908,7 +9095,7 @@ typedef struct VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_NV_shader_image_footprint 1
|
|
|
|
|
#define VK_NV_SHADER_IMAGE_FOOTPRINT_SPEC_VERSION 1
|
|
|
|
|
#define VK_NV_SHADER_IMAGE_FOOTPRINT_SPEC_VERSION 2
|
|
|
|
|
#define VK_NV_SHADER_IMAGE_FOOTPRINT_EXTENSION_NAME "VK_NV_shader_image_footprint"
|
|
|
|
|
typedef struct VkPhysicalDeviceShaderImageFootprintFeaturesNV {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
@ -8977,13 +9164,13 @@ VKAPI_ATTR void VKAPI_CALL vkGetQueueCheckpointDataNV(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_INTEL_shader_integer_functions2 1
|
|
|
|
|
#define VK_INTEL_SHADER_INTEGER_FUNCTIONS2_SPEC_VERSION 1
|
|
|
|
|
#define VK_INTEL_SHADER_INTEGER_FUNCTIONS2_EXTENSION_NAME "VK_INTEL_shader_integer_functions2"
|
|
|
|
|
typedef struct VkPhysicalDeviceShaderIntegerFunctions2INTEL {
|
|
|
|
|
#define VK_INTEL_SHADER_INTEGER_FUNCTIONS_2_SPEC_VERSION 1
|
|
|
|
|
#define VK_INTEL_SHADER_INTEGER_FUNCTIONS_2_EXTENSION_NAME "VK_INTEL_shader_integer_functions2"
|
|
|
|
|
typedef struct VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkBool32 shaderIntegerFunctions2;
|
|
|
|
|
} VkPhysicalDeviceShaderIntegerFunctions2INTEL;
|
|
|
|
|
} VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -9225,6 +9412,61 @@ typedef struct VkPhysicalDeviceScalarBlockLayoutFeaturesEXT {
|
|
|
|
|
#define VK_GOOGLE_DECORATE_STRING_EXTENSION_NAME "VK_GOOGLE_decorate_string"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_subgroup_size_control 1
|
|
|
|
|
#define VK_EXT_SUBGROUP_SIZE_CONTROL_SPEC_VERSION 2
|
|
|
|
|
#define VK_EXT_SUBGROUP_SIZE_CONTROL_EXTENSION_NAME "VK_EXT_subgroup_size_control"
|
|
|
|
|
typedef struct VkPhysicalDeviceSubgroupSizeControlFeaturesEXT {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkBool32 subgroupSizeControl;
|
|
|
|
|
VkBool32 computeFullSubgroups;
|
|
|
|
|
} VkPhysicalDeviceSubgroupSizeControlFeaturesEXT;
|
|
|
|
|
|
|
|
|
|
typedef struct VkPhysicalDeviceSubgroupSizeControlPropertiesEXT {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
uint32_t minSubgroupSize;
|
|
|
|
|
uint32_t maxSubgroupSize;
|
|
|
|
|
uint32_t maxComputeWorkgroupSubgroups;
|
|
|
|
|
VkShaderStageFlags requiredSubgroupSizeStages;
|
|
|
|
|
} VkPhysicalDeviceSubgroupSizeControlPropertiesEXT;
|
|
|
|
|
|
|
|
|
|
typedef struct VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
uint32_t requiredSubgroupSize;
|
|
|
|
|
} VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_AMD_shader_core_properties2 1
|
|
|
|
|
#define VK_AMD_SHADER_CORE_PROPERTIES_2_SPEC_VERSION 1
|
|
|
|
|
#define VK_AMD_SHADER_CORE_PROPERTIES_2_EXTENSION_NAME "VK_AMD_shader_core_properties2"
|
|
|
|
|
|
|
|
|
|
typedef enum VkShaderCorePropertiesFlagBitsAMD {
|
|
|
|
|
VK_SHADER_CORE_PROPERTIES_FLAG_BITS_MAX_ENUM_AMD = 0x7FFFFFFF
|
|
|
|
|
} VkShaderCorePropertiesFlagBitsAMD;
|
|
|
|
|
typedef VkFlags VkShaderCorePropertiesFlagsAMD;
|
|
|
|
|
typedef struct VkPhysicalDeviceShaderCoreProperties2AMD {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkShaderCorePropertiesFlagsAMD shaderCoreFeatures;
|
|
|
|
|
uint32_t activeComputeUnitCount;
|
|
|
|
|
} VkPhysicalDeviceShaderCoreProperties2AMD;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_AMD_device_coherent_memory 1
|
|
|
|
|
#define VK_AMD_DEVICE_COHERENT_MEMORY_SPEC_VERSION 1
|
|
|
|
|
#define VK_AMD_DEVICE_COHERENT_MEMORY_EXTENSION_NAME "VK_AMD_device_coherent_memory"
|
|
|
|
|
typedef struct VkPhysicalDeviceCoherentMemoryFeaturesAMD {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkBool32 deviceCoherentMemory;
|
|
|
|
|
} VkPhysicalDeviceCoherentMemoryFeaturesAMD;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_memory_budget 1
|
|
|
|
|
#define VK_EXT_MEMORY_BUDGET_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_MEMORY_BUDGET_EXTENSION_NAME "VK_EXT_memory_budget"
|
|
|
|
@ -9312,15 +9554,16 @@ typedef struct VkImageStencilUsageCreateInfoEXT {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_validation_features 1
|
|
|
|
|
#define VK_EXT_VALIDATION_FEATURES_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_VALIDATION_FEATURES_SPEC_VERSION 2
|
|
|
|
|
#define VK_EXT_VALIDATION_FEATURES_EXTENSION_NAME "VK_EXT_validation_features"
|
|
|
|
|
|
|
|
|
|
typedef enum VkValidationFeatureEnableEXT {
|
|
|
|
|
VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT = 0,
|
|
|
|
|
VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT = 1,
|
|
|
|
|
VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT = 2,
|
|
|
|
|
VK_VALIDATION_FEATURE_ENABLE_BEGIN_RANGE_EXT = VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT,
|
|
|
|
|
VK_VALIDATION_FEATURE_ENABLE_END_RANGE_EXT = VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT,
|
|
|
|
|
VK_VALIDATION_FEATURE_ENABLE_RANGE_SIZE_EXT = (VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT - VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT + 1),
|
|
|
|
|
VK_VALIDATION_FEATURE_ENABLE_END_RANGE_EXT = VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT,
|
|
|
|
|
VK_VALIDATION_FEATURE_ENABLE_RANGE_SIZE_EXT = (VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT - VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT + 1),
|
|
|
|
|
VK_VALIDATION_FEATURE_ENABLE_MAX_ENUM_EXT = 0x7FFFFFFF
|
|
|
|
|
} VkValidationFeatureEnableEXT;
|
|
|
|
|
|
|
|
|
@ -9506,6 +9749,56 @@ VKAPI_ATTR VkResult VKAPI_CALL vkCreateHeadlessSurfaceEXT(
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_line_rasterization 1
|
|
|
|
|
#define VK_EXT_LINE_RASTERIZATION_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_LINE_RASTERIZATION_EXTENSION_NAME "VK_EXT_line_rasterization"
|
|
|
|
|
|
|
|
|
|
typedef enum VkLineRasterizationModeEXT {
|
|
|
|
|
VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT = 0,
|
|
|
|
|
VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT = 1,
|
|
|
|
|
VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT = 2,
|
|
|
|
|
VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT = 3,
|
|
|
|
|
VK_LINE_RASTERIZATION_MODE_BEGIN_RANGE_EXT = VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT,
|
|
|
|
|
VK_LINE_RASTERIZATION_MODE_END_RANGE_EXT = VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT,
|
|
|
|
|
VK_LINE_RASTERIZATION_MODE_RANGE_SIZE_EXT = (VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT - VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT + 1),
|
|
|
|
|
VK_LINE_RASTERIZATION_MODE_MAX_ENUM_EXT = 0x7FFFFFFF
|
|
|
|
|
} VkLineRasterizationModeEXT;
|
|
|
|
|
typedef struct VkPhysicalDeviceLineRasterizationFeaturesEXT {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkBool32 rectangularLines;
|
|
|
|
|
VkBool32 bresenhamLines;
|
|
|
|
|
VkBool32 smoothLines;
|
|
|
|
|
VkBool32 stippledRectangularLines;
|
|
|
|
|
VkBool32 stippledBresenhamLines;
|
|
|
|
|
VkBool32 stippledSmoothLines;
|
|
|
|
|
} VkPhysicalDeviceLineRasterizationFeaturesEXT;
|
|
|
|
|
|
|
|
|
|
typedef struct VkPhysicalDeviceLineRasterizationPropertiesEXT {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
uint32_t lineSubPixelPrecisionBits;
|
|
|
|
|
} VkPhysicalDeviceLineRasterizationPropertiesEXT;
|
|
|
|
|
|
|
|
|
|
typedef struct VkPipelineRasterizationLineStateCreateInfoEXT {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
const void* pNext;
|
|
|
|
|
VkLineRasterizationModeEXT lineRasterizationMode;
|
|
|
|
|
VkBool32 stippledLineEnable;
|
|
|
|
|
uint32_t lineStippleFactor;
|
|
|
|
|
uint16_t lineStipplePattern;
|
|
|
|
|
} VkPipelineRasterizationLineStateCreateInfoEXT;
|
|
|
|
|
|
|
|
|
|
typedef void (VKAPI_PTR *PFN_vkCmdSetLineStippleEXT)(VkCommandBuffer commandBuffer, uint32_t lineStippleFactor, uint16_t lineStipplePattern);
|
|
|
|
|
|
|
|
|
|
#ifndef VK_NO_PROTOTYPES
|
|
|
|
|
VKAPI_ATTR void VKAPI_CALL vkCmdSetLineStippleEXT(
|
|
|
|
|
VkCommandBuffer commandBuffer,
|
|
|
|
|
uint32_t lineStippleFactor,
|
|
|
|
|
uint16_t lineStipplePattern);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_host_query_reset 1
|
|
|
|
|
#define VK_EXT_HOST_QUERY_RESET_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_HOST_QUERY_RESET_EXTENSION_NAME "VK_EXT_host_query_reset"
|
|
|
|
@ -9526,6 +9819,17 @@ VKAPI_ATTR void VKAPI_CALL vkResetQueryPoolEXT(
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_index_type_uint8 1
|
|
|
|
|
#define VK_EXT_INDEX_TYPE_UINT8_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_INDEX_TYPE_UINT8_EXTENSION_NAME "VK_EXT_index_type_uint8"
|
|
|
|
|
typedef struct VkPhysicalDeviceIndexTypeUint8FeaturesEXT {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkBool32 indexTypeUint8;
|
|
|
|
|
} VkPhysicalDeviceIndexTypeUint8FeaturesEXT;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_shader_demote_to_helper_invocation 1
|
|
|
|
|
#define VK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_EXTENSION_NAME "VK_EXT_shader_demote_to_helper_invocation"
|
|
|
|
|