|
|
|
@ -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 111
|
|
|
|
|
#define VK_HEADER_VERSION 123
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#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,
|
|
|
|
@ -351,6 +353,10 @@ typedef enum VkStructureType {
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT = 1000102000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT = 1000102001,
|
|
|
|
|
VK_STRUCTURE_TYPE_HDR_METADATA_EXT = 1000105000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES_KHR = 1000108000,
|
|
|
|
|
VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO_KHR = 1000108001,
|
|
|
|
|
VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO_KHR = 1000108002,
|
|
|
|
|
VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO_KHR = 1000108003,
|
|
|
|
|
VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2_KHR = 1000109000,
|
|
|
|
|
VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2_KHR = 1000109001,
|
|
|
|
|
VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2_KHR = 1000109002,
|
|
|
|
@ -437,11 +443,13 @@ typedef enum VkStructureType {
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT = 1000170000,
|
|
|
|
|
VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT = 1000170001,
|
|
|
|
|
VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT = 1000174000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES_KHR = 1000175000,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR = 1000177000,
|
|
|
|
|
VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT = 1000178000,
|
|
|
|
|
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,
|
|
|
|
@ -463,7 +471,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,
|
|
|
|
@ -480,6 +488,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,
|
|
|
|
@ -503,7 +516,20 @@ 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,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES,
|
|
|
|
|
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES,
|
|
|
|
|
VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT = VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT,
|
|
|
|
@ -539,6 +565,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,
|
|
|
|
@ -823,6 +850,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,
|
|
|
|
@ -1169,6 +1210,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),
|
|
|
|
@ -1201,6 +1243,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),
|
|
|
|
@ -1282,6 +1325,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),
|
|
|
|
@ -1466,6 +1510,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;
|
|
|
|
@ -1619,6 +1665,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;
|
|
|
|
|
|
|
|
|
@ -1629,11 +1679,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 {
|
|
|
|
@ -1706,7 +1764,16 @@ typedef enum VkDescriptorPoolCreateFlagBits {
|
|
|
|
|
} VkDescriptorPoolCreateFlagBits;
|
|
|
|
|
typedef VkFlags VkDescriptorPoolCreateFlags;
|
|
|
|
|
typedef VkFlags VkDescriptorPoolResetFlags;
|
|
|
|
|
|
|
|
|
|
typedef enum VkFramebufferCreateFlagBits {
|
|
|
|
|
VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR = 0x00000001,
|
|
|
|
|
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 {
|
|
|
|
@ -1802,7 +1869,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;
|
|
|
|
@ -5018,7 +5086,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 {
|
|
|
|
@ -5141,7 +5209,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;
|
|
|
|
@ -5164,7 +5232,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"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -5180,7 +5248,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;
|
|
|
|
|
|
|
|
|
@ -5245,7 +5313,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;
|
|
|
|
|
|
|
|
|
@ -5523,12 +5591,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;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -5599,6 +5669,43 @@ VKAPI_ATTR void VKAPI_CALL vkUpdateDescriptorSetWithTemplateKHR(
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_KHR_imageless_framebuffer 1
|
|
|
|
|
#define VK_KHR_IMAGELESS_FRAMEBUFFER_SPEC_VERSION 1
|
|
|
|
|
#define VK_KHR_IMAGELESS_FRAMEBUFFER_EXTENSION_NAME "VK_KHR_imageless_framebuffer"
|
|
|
|
|
typedef struct VkPhysicalDeviceImagelessFramebufferFeaturesKHR {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkBool32 imagelessFramebuffer;
|
|
|
|
|
} VkPhysicalDeviceImagelessFramebufferFeaturesKHR;
|
|
|
|
|
|
|
|
|
|
typedef struct VkFramebufferAttachmentImageInfoKHR {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
const void* pNext;
|
|
|
|
|
VkImageCreateFlags flags;
|
|
|
|
|
VkImageUsageFlags usage;
|
|
|
|
|
uint32_t width;
|
|
|
|
|
uint32_t height;
|
|
|
|
|
uint32_t layerCount;
|
|
|
|
|
uint32_t viewFormatCount;
|
|
|
|
|
const VkFormat* pViewFormats;
|
|
|
|
|
} VkFramebufferAttachmentImageInfoKHR;
|
|
|
|
|
|
|
|
|
|
typedef struct VkFramebufferAttachmentsCreateInfoKHR {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
const void* pNext;
|
|
|
|
|
uint32_t attachmentImageInfoCount;
|
|
|
|
|
const VkFramebufferAttachmentImageInfoKHR* pAttachmentImageInfos;
|
|
|
|
|
} VkFramebufferAttachmentsCreateInfoKHR;
|
|
|
|
|
|
|
|
|
|
typedef struct VkRenderPassAttachmentBeginInfoKHR {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
const void* pNext;
|
|
|
|
|
uint32_t attachmentCount;
|
|
|
|
|
const VkImageView* pAttachments;
|
|
|
|
|
} VkRenderPassAttachmentBeginInfoKHR;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_KHR_create_renderpass2 1
|
|
|
|
|
#define VK_KHR_CREATE_RENDERPASS_2_SPEC_VERSION 1
|
|
|
|
|
#define VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME "VK_KHR_create_renderpass2"
|
|
|
|
@ -5991,7 +6098,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;
|
|
|
|
|
|
|
|
|
@ -6095,6 +6202,17 @@ VKAPI_ATTR void VKAPI_CALL vkCmdDrawIndexedIndirectCountKHR(
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_KHR_shader_subgroup_extended_types 1
|
|
|
|
|
#define VK_KHR_SHADER_SUBGROUP_EXTENDED_TYPES_SPEC_VERSION 1
|
|
|
|
|
#define VK_KHR_SHADER_SUBGROUP_EXTENDED_TYPES_EXTENSION_NAME "VK_KHR_shader_subgroup_extended_types"
|
|
|
|
|
typedef struct VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkBool32 shaderSubgroupExtendedTypes;
|
|
|
|
|
} VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_KHR_8bit_storage 1
|
|
|
|
|
#define VK_KHR_8BIT_STORAGE_SPEC_VERSION 1
|
|
|
|
|
#define VK_KHR_8BIT_STORAGE_EXTENSION_NAME "VK_KHR_8bit_storage"
|
|
|
|
@ -6138,9 +6256,10 @@ typedef enum VkDriverIdKHR {
|
|
|
|
|
VK_DRIVER_ID_ARM_PROPRIETARY_KHR = 9,
|
|
|
|
|
VK_DRIVER_ID_GOOGLE_SWIFTSHADER_KHR = 10,
|
|
|
|
|
VK_DRIVER_ID_GGP_PROPRIETARY_KHR = 11,
|
|
|
|
|
VK_DRIVER_ID_BROADCOM_PROPRIETARY_KHR = 12,
|
|
|
|
|
VK_DRIVER_ID_BEGIN_RANGE_KHR = VK_DRIVER_ID_AMD_PROPRIETARY_KHR,
|
|
|
|
|
VK_DRIVER_ID_END_RANGE_KHR = VK_DRIVER_ID_GGP_PROPRIETARY_KHR,
|
|
|
|
|
VK_DRIVER_ID_RANGE_SIZE_KHR = (VK_DRIVER_ID_GGP_PROPRIETARY_KHR - VK_DRIVER_ID_AMD_PROPRIETARY_KHR + 1),
|
|
|
|
|
VK_DRIVER_ID_END_RANGE_KHR = VK_DRIVER_ID_BROADCOM_PROPRIETARY_KHR,
|
|
|
|
|
VK_DRIVER_ID_RANGE_SIZE_KHR = (VK_DRIVER_ID_BROADCOM_PROPRIETARY_KHR - VK_DRIVER_ID_AMD_PROPRIETARY_KHR + 1),
|
|
|
|
|
VK_DRIVER_ID_MAX_ENUM_KHR = 0x7FFFFFFF
|
|
|
|
|
} VkDriverIdKHR;
|
|
|
|
|
typedef struct VkConformanceVersionKHR {
|
|
|
|
@ -6162,28 +6281,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;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -6260,6 +6389,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
|
|
|
|
@ -6379,7 +6601,7 @@ VKAPI_ATTR void VKAPI_CALL vkDebugReportMessageEXT(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_IMG_filter_cubic 1
|
|
|
|
|
#define VK_IMG_FILTER_CUBIC_SPEC_VERSION 2
|
|
|
|
|
#define VK_IMG_FILTER_CUBIC_SPEC_VERSION 1
|
|
|
|
|
#define VK_IMG_FILTER_CUBIC_EXTENSION_NAME "VK_IMG_filter_cubic"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -6606,7 +6828,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);
|
|
|
|
@ -6783,7 +7005,7 @@ typedef struct VkExportMemoryAllocateInfoNV {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_validation_flags 1
|
|
|
|
|
#define VK_EXT_VALIDATION_FLAGS_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_VALIDATION_FLAGS_SPEC_VERSION 2
|
|
|
|
|
#define VK_EXT_VALIDATION_FLAGS_EXTENSION_NAME "VK_EXT_validation_flags"
|
|
|
|
|
|
|
|
|
|
typedef enum VkValidationCheckEXT {
|
|
|
|
@ -6813,6 +7035,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"
|
|
|
|
@ -6831,7 +7064,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 {
|
|
|
|
@ -7463,7 +7696,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;
|
|
|
|
@ -7647,7 +7880,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 {
|
|
|
|
@ -8230,6 +8463,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,
|
|
|
|
@ -8249,15 +8491,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,
|
|
|
|
@ -8525,7 +8758,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;
|
|
|
|
@ -8542,7 +8775,7 @@ typedef struct VkPipelineRepresentativeFragmentTestStateCreateInfoNV {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_filter_cubic 1
|
|
|
|
|
#define VK_EXT_FILTER_CUBIC_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_FILTER_CUBIC_SPEC_VERSION 2
|
|
|
|
|
#define VK_EXT_FILTER_CUBIC_EXTENSION_NAME "VK_EXT_filter_cubic"
|
|
|
|
|
typedef struct VkPhysicalDeviceImageViewImageFormatInfoEXT {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
@ -8629,6 +8862,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"
|
|
|
|
@ -8668,7 +8917,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;
|
|
|
|
@ -8858,7 +9107,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;
|
|
|
|
@ -8927,13 +9176,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;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -9175,6 +9424,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"
|
|
|
|
@ -9262,15 +9566,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;
|
|
|
|
|
|
|
|
|
@ -9436,7 +9741,7 @@ typedef struct VkPhysicalDeviceYcbcrImageArraysFeaturesEXT {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_headless_surface 1
|
|
|
|
|
#define VK_EXT_HEADLESS_SURFACE_SPEC_VERSION 0
|
|
|
|
|
#define VK_EXT_HEADLESS_SURFACE_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_HEADLESS_SURFACE_EXTENSION_NAME "VK_EXT_headless_surface"
|
|
|
|
|
typedef VkFlags VkHeadlessSurfaceCreateFlagsEXT;
|
|
|
|
|
typedef struct VkHeadlessSurfaceCreateInfoEXT {
|
|
|
|
@ -9456,6 +9761,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"
|
|
|
|
@ -9475,6 +9830,53 @@ VKAPI_ATTR void VKAPI_CALL vkResetQueryPoolEXT(
|
|
|
|
|
uint32_t queryCount);
|
|
|
|
|
#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"
|
|
|
|
|
typedef struct VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkBool32 shaderDemoteToHelperInvocation;
|
|
|
|
|
} VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_EXT_texel_buffer_alignment 1
|
|
|
|
|
#define VK_EXT_TEXEL_BUFFER_ALIGNMENT_SPEC_VERSION 1
|
|
|
|
|
#define VK_EXT_TEXEL_BUFFER_ALIGNMENT_EXTENSION_NAME "VK_EXT_texel_buffer_alignment"
|
|
|
|
|
typedef struct VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkBool32 texelBufferAlignment;
|
|
|
|
|
} VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT;
|
|
|
|
|
|
|
|
|
|
typedef struct VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT {
|
|
|
|
|
VkStructureType sType;
|
|
|
|
|
void* pNext;
|
|
|
|
|
VkDeviceSize storageTexelBufferOffsetAlignmentBytes;
|
|
|
|
|
VkBool32 storageTexelBufferOffsetSingleTexelAlignment;
|
|
|
|
|
VkDeviceSize uniformTexelBufferOffsetAlignmentBytes;
|
|
|
|
|
VkBool32 uniformTexelBufferOffsetSingleTexelAlignment;
|
|
|
|
|
} VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VK_GOOGLE_user_type 1
|
|
|
|
|
#define VK_GOOGLE_USER_TYPE_SPEC_VERSION 1
|
|
|
|
|
#define VK_GOOGLE_USER_TYPE_EXTENSION_NAME "VK_GOOGLE_user_type"
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|