Updated Vulkan headers.
This commit is contained in:
parent
132266c1bd
commit
116ddecd1c
24
3rdparty/khronos/vulkan-local/vulkan_beta.h
vendored
24
3rdparty/khronos/vulkan-local/vulkan_beta.h
vendored
@ -53,13 +53,14 @@ typedef struct VkPhysicalDevicePortabilitySubsetPropertiesKHR {
|
||||
|
||||
// VK_AMDX_shader_enqueue is a preprocessor guard. Do not pass it to API calls.
|
||||
#define VK_AMDX_shader_enqueue 1
|
||||
#define VK_AMDX_SHADER_ENQUEUE_SPEC_VERSION 1
|
||||
#define VK_AMDX_SHADER_ENQUEUE_SPEC_VERSION 2
|
||||
#define VK_AMDX_SHADER_ENQUEUE_EXTENSION_NAME "VK_AMDX_shader_enqueue"
|
||||
#define VK_SHADER_INDEX_UNUSED_AMDX (~0U)
|
||||
typedef struct VkPhysicalDeviceShaderEnqueueFeaturesAMDX {
|
||||
VkStructureType sType;
|
||||
void* pNext;
|
||||
VkBool32 shaderEnqueue;
|
||||
VkBool32 shaderMeshEnqueue;
|
||||
} VkPhysicalDeviceShaderEnqueueFeaturesAMDX;
|
||||
|
||||
typedef struct VkPhysicalDeviceShaderEnqueuePropertiesAMDX {
|
||||
@ -70,12 +71,16 @@ typedef struct VkPhysicalDeviceShaderEnqueuePropertiesAMDX {
|
||||
uint32_t maxExecutionGraphShaderPayloadSize;
|
||||
uint32_t maxExecutionGraphShaderPayloadCount;
|
||||
uint32_t executionGraphDispatchAddressAlignment;
|
||||
uint32_t maxExecutionGraphWorkgroupCount[3];
|
||||
uint32_t maxExecutionGraphWorkgroups;
|
||||
} VkPhysicalDeviceShaderEnqueuePropertiesAMDX;
|
||||
|
||||
typedef struct VkExecutionGraphPipelineScratchSizeAMDX {
|
||||
VkStructureType sType;
|
||||
void* pNext;
|
||||
VkDeviceSize size;
|
||||
VkDeviceSize minSize;
|
||||
VkDeviceSize maxSize;
|
||||
VkDeviceSize sizeGranularity;
|
||||
} VkExecutionGraphPipelineScratchSizeAMDX;
|
||||
|
||||
typedef struct VkExecutionGraphPipelineCreateInfoAMDX {
|
||||
@ -118,10 +123,10 @@ typedef struct VkPipelineShaderStageNodeCreateInfoAMDX {
|
||||
typedef VkResult (VKAPI_PTR *PFN_vkCreateExecutionGraphPipelinesAMDX)(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkExecutionGraphPipelineCreateInfoAMDX* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines);
|
||||
typedef VkResult (VKAPI_PTR *PFN_vkGetExecutionGraphPipelineScratchSizeAMDX)(VkDevice device, VkPipeline executionGraph, VkExecutionGraphPipelineScratchSizeAMDX* pSizeInfo);
|
||||
typedef VkResult (VKAPI_PTR *PFN_vkGetExecutionGraphPipelineNodeIndexAMDX)(VkDevice device, VkPipeline executionGraph, const VkPipelineShaderStageNodeCreateInfoAMDX* pNodeInfo, uint32_t* pNodeIndex);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdInitializeGraphScratchMemoryAMDX)(VkCommandBuffer commandBuffer, VkDeviceAddress scratch);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdDispatchGraphAMDX)(VkCommandBuffer commandBuffer, VkDeviceAddress scratch, const VkDispatchGraphCountInfoAMDX* pCountInfo);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdDispatchGraphIndirectAMDX)(VkCommandBuffer commandBuffer, VkDeviceAddress scratch, const VkDispatchGraphCountInfoAMDX* pCountInfo);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdDispatchGraphIndirectCountAMDX)(VkCommandBuffer commandBuffer, VkDeviceAddress scratch, VkDeviceAddress countInfo);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdInitializeGraphScratchMemoryAMDX)(VkCommandBuffer commandBuffer, VkPipeline executionGraph, VkDeviceAddress scratch, VkDeviceSize scratchSize);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdDispatchGraphAMDX)(VkCommandBuffer commandBuffer, VkDeviceAddress scratch, VkDeviceSize scratchSize, const VkDispatchGraphCountInfoAMDX* pCountInfo);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdDispatchGraphIndirectAMDX)(VkCommandBuffer commandBuffer, VkDeviceAddress scratch, VkDeviceSize scratchSize, const VkDispatchGraphCountInfoAMDX* pCountInfo);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdDispatchGraphIndirectCountAMDX)(VkCommandBuffer commandBuffer, VkDeviceAddress scratch, VkDeviceSize scratchSize, VkDeviceAddress countInfo);
|
||||
|
||||
#ifndef VK_NO_PROTOTYPES
|
||||
VKAPI_ATTR VkResult VKAPI_CALL vkCreateExecutionGraphPipelinesAMDX(
|
||||
@ -145,21 +150,26 @@ VKAPI_ATTR VkResult VKAPI_CALL vkGetExecutionGraphPipelineNodeIndexAMDX(
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdInitializeGraphScratchMemoryAMDX(
|
||||
VkCommandBuffer commandBuffer,
|
||||
VkDeviceAddress scratch);
|
||||
VkPipeline executionGraph,
|
||||
VkDeviceAddress scratch,
|
||||
VkDeviceSize scratchSize);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdDispatchGraphAMDX(
|
||||
VkCommandBuffer commandBuffer,
|
||||
VkDeviceAddress scratch,
|
||||
VkDeviceSize scratchSize,
|
||||
const VkDispatchGraphCountInfoAMDX* pCountInfo);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdDispatchGraphIndirectAMDX(
|
||||
VkCommandBuffer commandBuffer,
|
||||
VkDeviceAddress scratch,
|
||||
VkDeviceSize scratchSize,
|
||||
const VkDispatchGraphCountInfoAMDX* pCountInfo);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdDispatchGraphIndirectCountAMDX(
|
||||
VkCommandBuffer commandBuffer,
|
||||
VkDeviceAddress scratch,
|
||||
VkDeviceSize scratchSize,
|
||||
VkDeviceAddress countInfo);
|
||||
#endif
|
||||
|
||||
|
509
3rdparty/khronos/vulkan-local/vulkan_core.h
vendored
509
3rdparty/khronos/vulkan-local/vulkan_core.h
vendored
@ -69,7 +69,7 @@ extern "C" {
|
||||
#define VK_API_VERSION_1_0 VK_MAKE_API_VERSION(0, 1, 0, 0)// Patch version should always be set to 0
|
||||
|
||||
// Version of this file
|
||||
#define VK_HEADER_VERSION 295
|
||||
#define VK_HEADER_VERSION 299
|
||||
|
||||
// Complete version of this file
|
||||
#define VK_HEADER_VERSION_COMPLETE VK_MAKE_API_VERSION(0, 1, 3, VK_HEADER_VERSION)
|
||||
@ -508,10 +508,6 @@ typedef enum VkStructureType {
|
||||
VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR = 1000040005,
|
||||
VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR = 1000040006,
|
||||
VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD = 1000041000,
|
||||
VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR = 1000044006,
|
||||
VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT = 1000044007,
|
||||
VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD = 1000044008,
|
||||
VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX = 1000044009,
|
||||
VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP = 1000049000,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV = 1000050000,
|
||||
VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV = 1000056000,
|
||||
@ -553,6 +549,7 @@ typedef enum VkStructureType {
|
||||
VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT = 1000091003,
|
||||
VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE = 1000092000,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX = 1000097000,
|
||||
VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX = 1000044009,
|
||||
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV = 1000098000,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT = 1000099000,
|
||||
VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT = 1000099001,
|
||||
@ -612,6 +609,7 @@ typedef enum VkStructureType {
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX = 1000134004,
|
||||
#endif
|
||||
VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD = 1000044008,
|
||||
VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT = 1000143000,
|
||||
VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT = 1000143001,
|
||||
VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT = 1000143002,
|
||||
@ -703,6 +701,8 @@ 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_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV = 1000314008,
|
||||
VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV = 1000314009,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL = 1000209000,
|
||||
VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL = 1000210000,
|
||||
VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL = 1000210001,
|
||||
@ -718,11 +718,13 @@ typedef enum VkStructureType {
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT = 1000218000,
|
||||
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_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT = 1000044007,
|
||||
VK_STRUCTURE_TYPE_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR = 1000226000,
|
||||
VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_STATE_CREATE_INFO_KHR = 1000226001,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR = 1000226002,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR = 1000226003,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR = 1000226004,
|
||||
VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR = 1000044006,
|
||||
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_DYNAMIC_RENDERING_LOCAL_READ_FEATURES_KHR = 1000232000,
|
||||
@ -848,8 +850,6 @@ typedef enum VkStructureType {
|
||||
VK_STRUCTURE_TYPE_IMPORT_METAL_IO_SURFACE_INFO_EXT = 1000311009,
|
||||
VK_STRUCTURE_TYPE_EXPORT_METAL_SHARED_EVENT_INFO_EXT = 1000311010,
|
||||
VK_STRUCTURE_TYPE_IMPORT_METAL_SHARED_EVENT_INFO_EXT = 1000311011,
|
||||
VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV = 1000314008,
|
||||
VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV = 1000314009,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_PROPERTIES_EXT = 1000316000,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_DENSITY_MAP_PROPERTIES_EXT = 1000316001,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_FEATURES_EXT = 1000316002,
|
||||
@ -902,6 +902,7 @@ typedef enum VkStructureType {
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT = 1000355000,
|
||||
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLIP_CONTROL_CREATE_INFO_EXT = 1000355001,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT = 1000356000,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_MODE_FIFO_LATEST_READY_FEATURES_EXT = 1000361000,
|
||||
VK_STRUCTURE_TYPE_IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA = 1000364000,
|
||||
VK_STRUCTURE_TYPE_MEMORY_ZIRCON_HANDLE_PROPERTIES_FUCHSIA = 1000364001,
|
||||
VK_STRUCTURE_TYPE_MEMORY_GET_ZIRCON_HANDLE_INFO_FUCHSIA = 1000364002,
|
||||
@ -1143,9 +1144,25 @@ typedef enum VkStructureType {
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV = 1000563000,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT = 1000564000,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV = 1000568000,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_EXT = 1000572000,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_EXT = 1000572001,
|
||||
VK_STRUCTURE_TYPE_GENERATED_COMMANDS_MEMORY_REQUIREMENTS_INFO_EXT = 1000572002,
|
||||
VK_STRUCTURE_TYPE_INDIRECT_EXECUTION_SET_CREATE_INFO_EXT = 1000572003,
|
||||
VK_STRUCTURE_TYPE_GENERATED_COMMANDS_INFO_EXT = 1000572004,
|
||||
VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_EXT = 1000572006,
|
||||
VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_TOKEN_EXT = 1000572007,
|
||||
VK_STRUCTURE_TYPE_WRITE_INDIRECT_EXECUTION_SET_PIPELINE_EXT = 1000572008,
|
||||
VK_STRUCTURE_TYPE_WRITE_INDIRECT_EXECUTION_SET_SHADER_EXT = 1000572009,
|
||||
VK_STRUCTURE_TYPE_INDIRECT_EXECUTION_SET_PIPELINE_INFO_EXT = 1000572010,
|
||||
VK_STRUCTURE_TYPE_INDIRECT_EXECUTION_SET_SHADER_INFO_EXT = 1000572011,
|
||||
VK_STRUCTURE_TYPE_INDIRECT_EXECUTION_SET_SHADER_LAYOUT_INFO_EXT = 1000572012,
|
||||
VK_STRUCTURE_TYPE_GENERATED_COMMANDS_PIPELINE_INFO_EXT = 1000572013,
|
||||
VK_STRUCTURE_TYPE_GENERATED_COMMANDS_SHADER_INFO_EXT = 1000572014,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA = 1000575000,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA = 1000575001,
|
||||
VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA = 1000575002,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_CONTROL_FEATURES_EXT = 1000582000,
|
||||
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLAMP_CONTROL_CREATE_INFO_EXT = 1000582001,
|
||||
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 is a deprecated alias
|
||||
@ -1155,7 +1172,6 @@ typedef enum VkStructureType {
|
||||
VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES,
|
||||
VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO_KHR = VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO,
|
||||
VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_NV = VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD,
|
||||
VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES,
|
||||
@ -1229,6 +1245,7 @@ typedef enum VkStructureType {
|
||||
VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR = VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2,
|
||||
VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR = VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2,
|
||||
VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO,
|
||||
VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_NV = VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD,
|
||||
VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO,
|
||||
VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO_KHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO,
|
||||
VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO_KHR = VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO,
|
||||
@ -1436,6 +1453,8 @@ typedef enum VkObjectType {
|
||||
VK_OBJECT_TYPE_OPTICAL_FLOW_SESSION_NV = 1000464000,
|
||||
VK_OBJECT_TYPE_SHADER_EXT = 1000482000,
|
||||
VK_OBJECT_TYPE_PIPELINE_BINARY_KHR = 1000483000,
|
||||
VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_EXT = 1000572000,
|
||||
VK_OBJECT_TYPE_INDIRECT_EXECUTION_SET_EXT = 1000572001,
|
||||
VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR = VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE,
|
||||
VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR = VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION,
|
||||
VK_OBJECT_TYPE_PRIVATE_DATA_SLOT_EXT = VK_OBJECT_TYPE_PRIVATE_DATA_SLOT,
|
||||
@ -2013,6 +2032,7 @@ typedef enum VkDynamicState {
|
||||
VK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NV = 1000455032,
|
||||
VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT = 1000524000,
|
||||
VK_DYNAMIC_STATE_LINE_STIPPLE_KHR = 1000259000,
|
||||
VK_DYNAMIC_STATE_DEPTH_CLAMP_RANGE_EXT = 1000582000,
|
||||
VK_DYNAMIC_STATE_LINE_STIPPLE_EXT = VK_DYNAMIC_STATE_LINE_STIPPLE_KHR,
|
||||
VK_DYNAMIC_STATE_CULL_MODE_EXT = VK_DYNAMIC_STATE_CULL_MODE,
|
||||
VK_DYNAMIC_STATE_FRONT_FACE_EXT = VK_DYNAMIC_STATE_FRONT_FACE,
|
||||
@ -2248,6 +2268,8 @@ typedef enum VkAccessFlagBits {
|
||||
VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_NV = VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR,
|
||||
VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_NV = VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR,
|
||||
VK_ACCESS_NONE_KHR = VK_ACCESS_NONE,
|
||||
VK_ACCESS_COMMAND_PREPROCESS_READ_BIT_EXT = VK_ACCESS_COMMAND_PREPROCESS_READ_BIT_NV,
|
||||
VK_ACCESS_COMMAND_PREPROCESS_WRITE_BIT_EXT = VK_ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV,
|
||||
VK_ACCESS_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
|
||||
} VkAccessFlagBits;
|
||||
typedef VkFlags VkAccessFlags;
|
||||
@ -2472,6 +2494,7 @@ typedef enum VkPipelineStageFlagBits {
|
||||
VK_PIPELINE_STAGE_TASK_SHADER_BIT_NV = VK_PIPELINE_STAGE_TASK_SHADER_BIT_EXT,
|
||||
VK_PIPELINE_STAGE_MESH_SHADER_BIT_NV = VK_PIPELINE_STAGE_MESH_SHADER_BIT_EXT,
|
||||
VK_PIPELINE_STAGE_NONE_KHR = VK_PIPELINE_STAGE_NONE,
|
||||
VK_PIPELINE_STAGE_COMMAND_PREPROCESS_BIT_EXT = VK_PIPELINE_STAGE_COMMAND_PREPROCESS_BIT_NV,
|
||||
VK_PIPELINE_STAGE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
|
||||
} VkPipelineStageFlagBits;
|
||||
typedef VkFlags VkPipelineStageFlags;
|
||||
@ -2624,8 +2647,6 @@ typedef enum VkPipelineCreateFlagBits {
|
||||
VK_PIPELINE_CREATE_DISPATCH_BASE_BIT = 0x00000010,
|
||||
VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT = 0x00000100,
|
||||
VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT = 0x00000200,
|
||||
VK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR = 0x00200000,
|
||||
VK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT = 0x00400000,
|
||||
VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR = 0x00004000,
|
||||
VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR = 0x00008000,
|
||||
VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR = 0x00010000,
|
||||
@ -2634,6 +2655,8 @@ typedef enum VkPipelineCreateFlagBits {
|
||||
VK_PIPELINE_CREATE_RAY_TRACING_SKIP_AABBS_BIT_KHR = 0x00002000,
|
||||
VK_PIPELINE_CREATE_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR = 0x00080000,
|
||||
VK_PIPELINE_CREATE_DEFER_COMPILE_BIT_NV = 0x00000020,
|
||||
VK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT = 0x00400000,
|
||||
VK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR = 0x00200000,
|
||||
VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR = 0x00000040,
|
||||
VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR = 0x00000080,
|
||||
VK_PIPELINE_CREATE_INDIRECT_BINDABLE_BIT_NV = 0x00040000,
|
||||
@ -2651,12 +2674,12 @@ typedef enum VkPipelineCreateFlagBits {
|
||||
VK_PIPELINE_CREATE_NO_PROTECTED_ACCESS_BIT_EXT = 0x08000000,
|
||||
VK_PIPELINE_CREATE_PROTECTED_ACCESS_ONLY_BIT_EXT = 0x40000000,
|
||||
VK_PIPELINE_CREATE_DISPATCH_BASE = VK_PIPELINE_CREATE_DISPATCH_BASE_BIT,
|
||||
// VK_PIPELINE_RASTERIZATION_STATE_CREATE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR is a deprecated alias
|
||||
VK_PIPELINE_RASTERIZATION_STATE_CREATE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR = VK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR,
|
||||
// VK_PIPELINE_RASTERIZATION_STATE_CREATE_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT is a deprecated alias
|
||||
VK_PIPELINE_RASTERIZATION_STATE_CREATE_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT = VK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT,
|
||||
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_RASTERIZATION_STATE_CREATE_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT is a deprecated alias
|
||||
VK_PIPELINE_RASTERIZATION_STATE_CREATE_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT = VK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT,
|
||||
// VK_PIPELINE_RASTERIZATION_STATE_CREATE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR is a deprecated alias
|
||||
VK_PIPELINE_RASTERIZATION_STATE_CREATE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR = VK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR,
|
||||
VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT_EXT = VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT,
|
||||
VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT_EXT = VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT,
|
||||
VK_PIPELINE_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF
|
||||
@ -6655,6 +6678,7 @@ static const VkPipelineStageFlagBits2 VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR =
|
||||
static const VkPipelineStageFlagBits2 VK_PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT = 0x01000000ULL;
|
||||
static const VkPipelineStageFlagBits2 VK_PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT = 0x00040000ULL;
|
||||
static const VkPipelineStageFlagBits2 VK_PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV = 0x00020000ULL;
|
||||
static const VkPipelineStageFlagBits2 VK_PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXT = 0x00020000ULL;
|
||||
static const VkPipelineStageFlagBits2 VK_PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR = 0x00400000ULL;
|
||||
static const VkPipelineStageFlagBits2 VK_PIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NV = 0x00400000ULL;
|
||||
static const VkPipelineStageFlagBits2 VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR = 0x02000000ULL;
|
||||
@ -6731,6 +6755,8 @@ static const VkAccessFlagBits2 VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_
|
||||
static const VkAccessFlagBits2 VK_ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXT = 0x00100000ULL;
|
||||
static const VkAccessFlagBits2 VK_ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NV = 0x00020000ULL;
|
||||
static const VkAccessFlagBits2 VK_ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NV = 0x00040000ULL;
|
||||
static const VkAccessFlagBits2 VK_ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXT = 0x00020000ULL;
|
||||
static const VkAccessFlagBits2 VK_ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXT = 0x00040000ULL;
|
||||
static const VkAccessFlagBits2 VK_ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR = 0x00800000ULL;
|
||||
static const VkAccessFlagBits2 VK_ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NV = 0x00800000ULL;
|
||||
static const VkAccessFlagBits2 VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR = 0x00200000ULL;
|
||||
@ -7608,6 +7634,7 @@ typedef enum VkPresentModeKHR {
|
||||
VK_PRESENT_MODE_FIFO_RELAXED_KHR = 3,
|
||||
VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR = 1000111000,
|
||||
VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR = 1000111001,
|
||||
VK_PRESENT_MODE_FIFO_LATEST_READY_EXT = 1000361000,
|
||||
VK_PRESENT_MODE_MAX_ENUM_KHR = 0x7FFFFFFF
|
||||
} VkPresentModeKHR;
|
||||
|
||||
@ -8876,38 +8903,6 @@ typedef VkPhysicalDeviceDynamicRenderingFeatures VkPhysicalDeviceDynamicRenderin
|
||||
|
||||
typedef VkCommandBufferInheritanceRenderingInfo VkCommandBufferInheritanceRenderingInfoKHR;
|
||||
|
||||
typedef struct VkRenderingFragmentShadingRateAttachmentInfoKHR {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
VkImageView imageView;
|
||||
VkImageLayout imageLayout;
|
||||
VkExtent2D shadingRateAttachmentTexelSize;
|
||||
} VkRenderingFragmentShadingRateAttachmentInfoKHR;
|
||||
|
||||
typedef struct VkRenderingFragmentDensityMapAttachmentInfoEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
VkImageView imageView;
|
||||
VkImageLayout imageLayout;
|
||||
} VkRenderingFragmentDensityMapAttachmentInfoEXT;
|
||||
|
||||
typedef struct VkAttachmentSampleCountInfoAMD {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
uint32_t colorAttachmentCount;
|
||||
const VkSampleCountFlagBits* pColorAttachmentSamples;
|
||||
VkSampleCountFlagBits depthStencilAttachmentSamples;
|
||||
} VkAttachmentSampleCountInfoAMD;
|
||||
|
||||
typedef VkAttachmentSampleCountInfoAMD VkAttachmentSampleCountInfoNV;
|
||||
|
||||
typedef struct VkMultiviewPerViewAttributesInfoNVX {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
VkBool32 perViewAttributes;
|
||||
VkBool32 perViewAttributesPositionXOnly;
|
||||
} VkMultiviewPerViewAttributesInfoNVX;
|
||||
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdBeginRenderingKHR)(VkCommandBuffer commandBuffer, const VkRenderingInfo* pRenderingInfo);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdEndRenderingKHR)(VkCommandBuffer commandBuffer);
|
||||
|
||||
@ -10282,6 +10277,14 @@ typedef struct VkPhysicalDeviceFragmentShadingRateKHR {
|
||||
VkExtent2D fragmentSize;
|
||||
} VkPhysicalDeviceFragmentShadingRateKHR;
|
||||
|
||||
typedef struct VkRenderingFragmentShadingRateAttachmentInfoKHR {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
VkImageView imageView;
|
||||
VkImageLayout imageLayout;
|
||||
VkExtent2D shadingRateAttachmentTexelSize;
|
||||
} VkRenderingFragmentShadingRateAttachmentInfoKHR;
|
||||
|
||||
typedef VkResult (VKAPI_PTR *PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR)(VkPhysicalDevice physicalDevice, uint32_t* pFragmentShadingRateCount, VkPhysicalDeviceFragmentShadingRateKHR* pFragmentShadingRates);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdSetFragmentShadingRateKHR)(VkCommandBuffer commandBuffer, const VkExtent2D* pFragmentSize, const VkFragmentShadingRateCombinerOpKHR combinerOps[2]);
|
||||
|
||||
@ -10863,27 +10866,12 @@ typedef VkCommandBufferSubmitInfo VkCommandBufferSubmitInfoKHR;
|
||||
|
||||
typedef VkPhysicalDeviceSynchronization2Features VkPhysicalDeviceSynchronization2FeaturesKHR;
|
||||
|
||||
typedef struct VkQueueFamilyCheckpointProperties2NV {
|
||||
VkStructureType sType;
|
||||
void* pNext;
|
||||
VkPipelineStageFlags2 checkpointExecutionStageMask;
|
||||
} VkQueueFamilyCheckpointProperties2NV;
|
||||
|
||||
typedef struct VkCheckpointData2NV {
|
||||
VkStructureType sType;
|
||||
void* pNext;
|
||||
VkPipelineStageFlags2 stage;
|
||||
void* pCheckpointMarker;
|
||||
} VkCheckpointData2NV;
|
||||
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdSetEvent2KHR)(VkCommandBuffer commandBuffer, VkEvent event, const VkDependencyInfo* pDependencyInfo);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdResetEvent2KHR)(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags2 stageMask);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdWaitEvents2KHR)(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, const VkDependencyInfo* pDependencyInfos);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdPipelineBarrier2KHR)(VkCommandBuffer commandBuffer, const VkDependencyInfo* pDependencyInfo);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdWriteTimestamp2KHR)(VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkQueryPool queryPool, uint32_t query);
|
||||
typedef VkResult (VKAPI_PTR *PFN_vkQueueSubmit2KHR)(VkQueue queue, uint32_t submitCount, const VkSubmitInfo2* pSubmits, VkFence fence);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdWriteBufferMarker2AMD)(VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker);
|
||||
typedef void (VKAPI_PTR *PFN_vkGetQueueCheckpointData2NV)(VkQueue queue, uint32_t* pCheckpointDataCount, VkCheckpointData2NV* pCheckpointData);
|
||||
|
||||
#ifndef VK_NO_PROTOTYPES
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdSetEvent2KHR(
|
||||
@ -10917,18 +10905,6 @@ VKAPI_ATTR VkResult VKAPI_CALL vkQueueSubmit2KHR(
|
||||
uint32_t submitCount,
|
||||
const VkSubmitInfo2* pSubmits,
|
||||
VkFence fence);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdWriteBufferMarker2AMD(
|
||||
VkCommandBuffer commandBuffer,
|
||||
VkPipelineStageFlags2 stage,
|
||||
VkBuffer dstBuffer,
|
||||
VkDeviceSize dstOffset,
|
||||
uint32_t marker);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkGetQueueCheckpointData2NV(
|
||||
VkQueue queue,
|
||||
uint32_t* pCheckpointDataCount,
|
||||
VkCheckpointData2NV* pCheckpointData);
|
||||
#endif
|
||||
|
||||
|
||||
@ -11171,6 +11147,9 @@ typedef VkFlags64 VkPipelineCreateFlagBits2KHR;
|
||||
static const VkPipelineCreateFlagBits2KHR VK_PIPELINE_CREATE_2_DISABLE_OPTIMIZATION_BIT_KHR = 0x00000001ULL;
|
||||
static const VkPipelineCreateFlagBits2KHR VK_PIPELINE_CREATE_2_ALLOW_DERIVATIVES_BIT_KHR = 0x00000002ULL;
|
||||
static const VkPipelineCreateFlagBits2KHR VK_PIPELINE_CREATE_2_DERIVATIVE_BIT_KHR = 0x00000004ULL;
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
static const VkPipelineCreateFlagBits2KHR VK_PIPELINE_CREATE_2_EXECUTION_GRAPH_BIT_AMDX = 0x100000000ULL;
|
||||
#endif
|
||||
static const VkPipelineCreateFlagBits2KHR VK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT = 0x400000000ULL;
|
||||
static const VkPipelineCreateFlagBits2KHR VK_PIPELINE_CREATE_2_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR = 0x00000008ULL;
|
||||
static const VkPipelineCreateFlagBits2KHR VK_PIPELINE_CREATE_2_DISPATCH_BASE_BIT_KHR = 0x00000010ULL;
|
||||
@ -11201,6 +11180,7 @@ static const VkPipelineCreateFlagBits2KHR VK_PIPELINE_CREATE_2_PROTECTED_ACCESS_
|
||||
static const VkPipelineCreateFlagBits2KHR VK_PIPELINE_CREATE_2_RAY_TRACING_DISPLACEMENT_MICROMAP_BIT_NV = 0x10000000ULL;
|
||||
static const VkPipelineCreateFlagBits2KHR VK_PIPELINE_CREATE_2_DESCRIPTOR_BUFFER_BIT_EXT = 0x20000000ULL;
|
||||
static const VkPipelineCreateFlagBits2KHR VK_PIPELINE_CREATE_2_CAPTURE_DATA_BIT_KHR = 0x80000000ULL;
|
||||
static const VkPipelineCreateFlagBits2KHR VK_PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_EXT = 0x4000000000ULL;
|
||||
|
||||
typedef VkFlags64 VkBufferUsageFlags2KHR;
|
||||
|
||||
@ -11215,7 +11195,9 @@ static const VkBufferUsageFlagBits2KHR VK_BUFFER_USAGE_2_STORAGE_BUFFER_BIT_KHR
|
||||
static const VkBufferUsageFlagBits2KHR VK_BUFFER_USAGE_2_INDEX_BUFFER_BIT_KHR = 0x00000040ULL;
|
||||
static const VkBufferUsageFlagBits2KHR VK_BUFFER_USAGE_2_VERTEX_BUFFER_BIT_KHR = 0x00000080ULL;
|
||||
static const VkBufferUsageFlagBits2KHR VK_BUFFER_USAGE_2_INDIRECT_BUFFER_BIT_KHR = 0x00000100ULL;
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
static const VkBufferUsageFlagBits2KHR VK_BUFFER_USAGE_2_EXECUTION_GRAPH_SCRATCH_BIT_AMDX = 0x02000000ULL;
|
||||
#endif
|
||||
static const VkBufferUsageFlagBits2KHR VK_BUFFER_USAGE_2_CONDITIONAL_RENDERING_BIT_EXT = 0x00000200ULL;
|
||||
static const VkBufferUsageFlagBits2KHR VK_BUFFER_USAGE_2_SHADER_BINDING_TABLE_BIT_KHR = 0x00000400ULL;
|
||||
static const VkBufferUsageFlagBits2KHR VK_BUFFER_USAGE_2_RAY_TRACING_BIT_NV = 0x00000400ULL;
|
||||
@ -11233,6 +11215,7 @@ static const VkBufferUsageFlagBits2KHR VK_BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUF
|
||||
static const VkBufferUsageFlagBits2KHR VK_BUFFER_USAGE_2_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT = 0x04000000ULL;
|
||||
static const VkBufferUsageFlagBits2KHR VK_BUFFER_USAGE_2_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT = 0x00800000ULL;
|
||||
static const VkBufferUsageFlagBits2KHR VK_BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_EXT = 0x01000000ULL;
|
||||
static const VkBufferUsageFlagBits2KHR VK_BUFFER_USAGE_2_PREPROCESS_BUFFER_BIT_EXT = 0x80000000ULL;
|
||||
|
||||
typedef struct VkPhysicalDeviceMaintenance5FeaturesKHR {
|
||||
VkStructureType sType;
|
||||
@ -12979,6 +12962,13 @@ typedef struct VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX {
|
||||
VkBool32 perViewPositionAllComponents;
|
||||
} VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX;
|
||||
|
||||
typedef struct VkMultiviewPerViewAttributesInfoNVX {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
VkBool32 perViewAttributes;
|
||||
VkBool32 perViewAttributesPositionXOnly;
|
||||
} VkMultiviewPerViewAttributesInfoNVX;
|
||||
|
||||
|
||||
|
||||
// VK_NV_viewport_swizzle is a preprocessor guard. Do not pass it to API calls.
|
||||
@ -13347,6 +13337,14 @@ typedef VkPhysicalDeviceSamplerFilterMinmaxProperties VkPhysicalDeviceSamplerFil
|
||||
#define VK_AMD_mixed_attachment_samples 1
|
||||
#define VK_AMD_MIXED_ATTACHMENT_SAMPLES_SPEC_VERSION 1
|
||||
#define VK_AMD_MIXED_ATTACHMENT_SAMPLES_EXTENSION_NAME "VK_AMD_mixed_attachment_samples"
|
||||
typedef struct VkAttachmentSampleCountInfoAMD {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
uint32_t colorAttachmentCount;
|
||||
const VkSampleCountFlagBits* pColorAttachmentSamples;
|
||||
VkSampleCountFlagBits depthStencilAttachmentSamples;
|
||||
} VkAttachmentSampleCountInfoAMD;
|
||||
|
||||
|
||||
|
||||
// VK_AMD_shader_fragment_mask is a preprocessor guard. Do not pass it to API calls.
|
||||
@ -13526,6 +13524,8 @@ typedef struct VkPipelineCoverageModulationStateCreateInfoNV {
|
||||
const float* pCoverageModulationTable;
|
||||
} VkPipelineCoverageModulationStateCreateInfoNV;
|
||||
|
||||
typedef VkAttachmentSampleCountInfoAMD VkAttachmentSampleCountInfoNV;
|
||||
|
||||
|
||||
|
||||
// VK_NV_fill_rectangle is a preprocessor guard. Do not pass it to API calls.
|
||||
@ -14283,6 +14283,7 @@ VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryHostPointerPropertiesEXT(
|
||||
#define VK_AMD_BUFFER_MARKER_SPEC_VERSION 1
|
||||
#define VK_AMD_BUFFER_MARKER_EXTENSION_NAME "VK_AMD_buffer_marker"
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdWriteBufferMarkerAMD)(VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdWriteBufferMarker2AMD)(VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker);
|
||||
|
||||
#ifndef VK_NO_PROTOTYPES
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdWriteBufferMarkerAMD(
|
||||
@ -14291,6 +14292,13 @@ VKAPI_ATTR void VKAPI_CALL vkCmdWriteBufferMarkerAMD(
|
||||
VkBuffer dstBuffer,
|
||||
VkDeviceSize dstOffset,
|
||||
uint32_t marker);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdWriteBufferMarker2AMD(
|
||||
VkCommandBuffer commandBuffer,
|
||||
VkPipelineStageFlags2 stage,
|
||||
VkBuffer dstBuffer,
|
||||
VkDeviceSize dstOffset,
|
||||
uint32_t marker);
|
||||
#endif
|
||||
|
||||
|
||||
@ -14561,8 +14569,22 @@ typedef struct VkCheckpointDataNV {
|
||||
void* pCheckpointMarker;
|
||||
} VkCheckpointDataNV;
|
||||
|
||||
typedef struct VkQueueFamilyCheckpointProperties2NV {
|
||||
VkStructureType sType;
|
||||
void* pNext;
|
||||
VkPipelineStageFlags2 checkpointExecutionStageMask;
|
||||
} VkQueueFamilyCheckpointProperties2NV;
|
||||
|
||||
typedef struct VkCheckpointData2NV {
|
||||
VkStructureType sType;
|
||||
void* pNext;
|
||||
VkPipelineStageFlags2 stage;
|
||||
void* pCheckpointMarker;
|
||||
} VkCheckpointData2NV;
|
||||
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdSetCheckpointNV)(VkCommandBuffer commandBuffer, const void* pCheckpointMarker);
|
||||
typedef void (VKAPI_PTR *PFN_vkGetQueueCheckpointDataNV)(VkQueue queue, uint32_t* pCheckpointDataCount, VkCheckpointDataNV* pCheckpointData);
|
||||
typedef void (VKAPI_PTR *PFN_vkGetQueueCheckpointData2NV)(VkQueue queue, uint32_t* pCheckpointDataCount, VkCheckpointData2NV* pCheckpointData);
|
||||
|
||||
#ifndef VK_NO_PROTOTYPES
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdSetCheckpointNV(
|
||||
@ -14573,6 +14595,11 @@ VKAPI_ATTR void VKAPI_CALL vkGetQueueCheckpointDataNV(
|
||||
VkQueue queue,
|
||||
uint32_t* pCheckpointDataCount,
|
||||
VkCheckpointDataNV* pCheckpointData);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkGetQueueCheckpointData2NV(
|
||||
VkQueue queue,
|
||||
uint32_t* pCheckpointDataCount,
|
||||
VkCheckpointData2NV* pCheckpointData);
|
||||
#endif
|
||||
|
||||
|
||||
@ -14794,6 +14821,13 @@ typedef struct VkRenderPassFragmentDensityMapCreateInfoEXT {
|
||||
VkAttachmentReference fragmentDensityMapAttachment;
|
||||
} VkRenderPassFragmentDensityMapCreateInfoEXT;
|
||||
|
||||
typedef struct VkRenderingFragmentDensityMapAttachmentInfoEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
VkImageView imageView;
|
||||
VkImageLayout imageLayout;
|
||||
} VkRenderingFragmentDensityMapAttachmentInfoEXT;
|
||||
|
||||
|
||||
|
||||
// VK_EXT_scalar_block_layout is a preprocessor guard. Do not pass it to API calls.
|
||||
@ -17070,6 +17104,18 @@ typedef struct VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT {
|
||||
|
||||
|
||||
|
||||
// VK_EXT_present_mode_fifo_latest_ready is a preprocessor guard. Do not pass it to API calls.
|
||||
#define VK_EXT_present_mode_fifo_latest_ready 1
|
||||
#define VK_EXT_PRESENT_MODE_FIFO_LATEST_READY_SPEC_VERSION 1
|
||||
#define VK_EXT_PRESENT_MODE_FIFO_LATEST_READY_EXTENSION_NAME "VK_EXT_present_mode_fifo_latest_ready"
|
||||
typedef struct VkPhysicalDevicePresentModeFifoLatestReadyFeaturesEXT {
|
||||
VkStructureType sType;
|
||||
void* pNext;
|
||||
VkBool32 presentModeFifoLatestReady;
|
||||
} VkPhysicalDevicePresentModeFifoLatestReadyFeaturesEXT;
|
||||
|
||||
|
||||
|
||||
// VK_HUAWEI_subpass_shading is a preprocessor guard. Do not pass it to API calls.
|
||||
#define VK_HUAWEI_subpass_shading 1
|
||||
#define VK_HUAWEI_SUBPASS_SHADING_SPEC_VERSION 3
|
||||
@ -18858,6 +18904,12 @@ typedef enum VkShaderCodeTypeEXT {
|
||||
VK_SHADER_CODE_TYPE_MAX_ENUM_EXT = 0x7FFFFFFF
|
||||
} VkShaderCodeTypeEXT;
|
||||
|
||||
typedef enum VkDepthClampModeEXT {
|
||||
VK_DEPTH_CLAMP_MODE_VIEWPORT_RANGE_EXT = 0,
|
||||
VK_DEPTH_CLAMP_MODE_USER_DEFINED_RANGE_EXT = 1,
|
||||
VK_DEPTH_CLAMP_MODE_MAX_ENUM_EXT = 0x7FFFFFFF
|
||||
} VkDepthClampModeEXT;
|
||||
|
||||
typedef enum VkShaderCreateFlagBitsEXT {
|
||||
VK_SHADER_CREATE_LINK_STAGE_BIT_EXT = 0x00000001,
|
||||
VK_SHADER_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT_EXT = 0x00000002,
|
||||
@ -18866,6 +18918,7 @@ typedef enum VkShaderCreateFlagBitsEXT {
|
||||
VK_SHADER_CREATE_DISPATCH_BASE_BIT_EXT = 0x00000010,
|
||||
VK_SHADER_CREATE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_EXT = 0x00000020,
|
||||
VK_SHADER_CREATE_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT = 0x00000040,
|
||||
VK_SHADER_CREATE_INDIRECT_BINDABLE_BIT_EXT = 0x00000080,
|
||||
VK_SHADER_CREATE_FLAG_BITS_MAX_ENUM_EXT = 0x7FFFFFFF
|
||||
} VkShaderCreateFlagBitsEXT;
|
||||
typedef VkFlags VkShaderCreateFlagsEXT;
|
||||
@ -18901,10 +18954,16 @@ typedef struct VkShaderCreateInfoEXT {
|
||||
|
||||
typedef VkPipelineShaderStageRequiredSubgroupSizeCreateInfo VkShaderRequiredSubgroupSizeCreateInfoEXT;
|
||||
|
||||
typedef struct VkDepthClampRangeEXT {
|
||||
float minDepthClamp;
|
||||
float maxDepthClamp;
|
||||
} VkDepthClampRangeEXT;
|
||||
|
||||
typedef VkResult (VKAPI_PTR *PFN_vkCreateShadersEXT)(VkDevice device, uint32_t createInfoCount, const VkShaderCreateInfoEXT* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkShaderEXT* pShaders);
|
||||
typedef void (VKAPI_PTR *PFN_vkDestroyShaderEXT)(VkDevice device, VkShaderEXT shader, const VkAllocationCallbacks* pAllocator);
|
||||
typedef VkResult (VKAPI_PTR *PFN_vkGetShaderBinaryDataEXT)(VkDevice device, VkShaderEXT shader, size_t* pDataSize, void* pData);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdBindShadersEXT)(VkCommandBuffer commandBuffer, uint32_t stageCount, const VkShaderStageFlagBits* pStages, const VkShaderEXT* pShaders);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdSetDepthClampRangeEXT)(VkCommandBuffer commandBuffer, VkDepthClampModeEXT depthClampMode, const VkDepthClampRangeEXT* pDepthClampRange);
|
||||
|
||||
#ifndef VK_NO_PROTOTYPES
|
||||
VKAPI_ATTR VkResult VKAPI_CALL vkCreateShadersEXT(
|
||||
@ -18930,6 +18989,11 @@ VKAPI_ATTR void VKAPI_CALL vkCmdBindShadersEXT(
|
||||
uint32_t stageCount,
|
||||
const VkShaderStageFlagBits* pStages,
|
||||
const VkShaderEXT* pShaders);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdSetDepthClampRangeEXT(
|
||||
VkCommandBuffer commandBuffer,
|
||||
VkDepthClampModeEXT depthClampMode,
|
||||
const VkDepthClampRangeEXT* pDepthClampRange);
|
||||
#endif
|
||||
|
||||
|
||||
@ -19511,6 +19575,286 @@ typedef struct VkPhysicalDeviceRayTracingValidationFeaturesNV {
|
||||
|
||||
|
||||
|
||||
// VK_EXT_device_generated_commands is a preprocessor guard. Do not pass it to API calls.
|
||||
#define VK_EXT_device_generated_commands 1
|
||||
VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkIndirectExecutionSetEXT)
|
||||
VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkIndirectCommandsLayoutEXT)
|
||||
#define VK_EXT_DEVICE_GENERATED_COMMANDS_SPEC_VERSION 1
|
||||
#define VK_EXT_DEVICE_GENERATED_COMMANDS_EXTENSION_NAME "VK_EXT_device_generated_commands"
|
||||
|
||||
typedef enum VkIndirectExecutionSetInfoTypeEXT {
|
||||
VK_INDIRECT_EXECUTION_SET_INFO_TYPE_PIPELINES_EXT = 0,
|
||||
VK_INDIRECT_EXECUTION_SET_INFO_TYPE_SHADER_OBJECTS_EXT = 1,
|
||||
VK_INDIRECT_EXECUTION_SET_INFO_TYPE_MAX_ENUM_EXT = 0x7FFFFFFF
|
||||
} VkIndirectExecutionSetInfoTypeEXT;
|
||||
|
||||
typedef enum VkIndirectCommandsTokenTypeEXT {
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_EXECUTION_SET_EXT = 0,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_EXT = 1,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_SEQUENCE_INDEX_EXT = 2,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_EXT = 3,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_EXT = 4,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_EXT = 5,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_EXT = 6,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_COUNT_EXT = 7,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_COUNT_EXT = 8,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_EXT = 9,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_NV_EXT = 1000202002,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_COUNT_NV_EXT = 1000202003,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_EXT = 1000328000,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_COUNT_EXT = 1000328001,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_TRACE_RAYS2_EXT = 1000386004,
|
||||
VK_INDIRECT_COMMANDS_TOKEN_TYPE_MAX_ENUM_EXT = 0x7FFFFFFF
|
||||
} VkIndirectCommandsTokenTypeEXT;
|
||||
|
||||
typedef enum VkIndirectCommandsInputModeFlagBitsEXT {
|
||||
VK_INDIRECT_COMMANDS_INPUT_MODE_VULKAN_INDEX_BUFFER_EXT = 0x00000001,
|
||||
VK_INDIRECT_COMMANDS_INPUT_MODE_DXGI_INDEX_BUFFER_EXT = 0x00000002,
|
||||
VK_INDIRECT_COMMANDS_INPUT_MODE_FLAG_BITS_MAX_ENUM_EXT = 0x7FFFFFFF
|
||||
} VkIndirectCommandsInputModeFlagBitsEXT;
|
||||
typedef VkFlags VkIndirectCommandsInputModeFlagsEXT;
|
||||
|
||||
typedef enum VkIndirectCommandsLayoutUsageFlagBitsEXT {
|
||||
VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EXPLICIT_PREPROCESS_BIT_EXT = 0x00000001,
|
||||
VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_EXT = 0x00000002,
|
||||
VK_INDIRECT_COMMANDS_LAYOUT_USAGE_FLAG_BITS_MAX_ENUM_EXT = 0x7FFFFFFF
|
||||
} VkIndirectCommandsLayoutUsageFlagBitsEXT;
|
||||
typedef VkFlags VkIndirectCommandsLayoutUsageFlagsEXT;
|
||||
typedef struct VkPhysicalDeviceDeviceGeneratedCommandsFeaturesEXT {
|
||||
VkStructureType sType;
|
||||
void* pNext;
|
||||
VkBool32 deviceGeneratedCommands;
|
||||
VkBool32 dynamicGeneratedPipelineLayout;
|
||||
} VkPhysicalDeviceDeviceGeneratedCommandsFeaturesEXT;
|
||||
|
||||
typedef struct VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT {
|
||||
VkStructureType sType;
|
||||
void* pNext;
|
||||
uint32_t maxIndirectPipelineCount;
|
||||
uint32_t maxIndirectShaderObjectCount;
|
||||
uint32_t maxIndirectSequenceCount;
|
||||
uint32_t maxIndirectCommandsTokenCount;
|
||||
uint32_t maxIndirectCommandsTokenOffset;
|
||||
uint32_t maxIndirectCommandsIndirectStride;
|
||||
VkIndirectCommandsInputModeFlagsEXT supportedIndirectCommandsInputModes;
|
||||
VkShaderStageFlags supportedIndirectCommandsShaderStages;
|
||||
VkShaderStageFlags supportedIndirectCommandsShaderStagesPipelineBinding;
|
||||
VkShaderStageFlags supportedIndirectCommandsShaderStagesShaderBinding;
|
||||
VkBool32 deviceGeneratedCommandsTransformFeedback;
|
||||
VkBool32 deviceGeneratedCommandsMultiDrawIndirectCount;
|
||||
} VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT;
|
||||
|
||||
typedef struct VkGeneratedCommandsMemoryRequirementsInfoEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
VkIndirectExecutionSetEXT indirectExecutionSet;
|
||||
VkIndirectCommandsLayoutEXT indirectCommandsLayout;
|
||||
uint32_t maxSequenceCount;
|
||||
uint32_t maxDrawCount;
|
||||
} VkGeneratedCommandsMemoryRequirementsInfoEXT;
|
||||
|
||||
typedef struct VkIndirectExecutionSetPipelineInfoEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
VkPipeline initialPipeline;
|
||||
uint32_t maxPipelineCount;
|
||||
} VkIndirectExecutionSetPipelineInfoEXT;
|
||||
|
||||
typedef struct VkIndirectExecutionSetShaderLayoutInfoEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
uint32_t setLayoutCount;
|
||||
const VkDescriptorSetLayout* pSetLayouts;
|
||||
} VkIndirectExecutionSetShaderLayoutInfoEXT;
|
||||
|
||||
typedef struct VkIndirectExecutionSetShaderInfoEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
uint32_t shaderCount;
|
||||
const VkShaderEXT* pInitialShaders;
|
||||
const VkIndirectExecutionSetShaderLayoutInfoEXT* pSetLayoutInfos;
|
||||
uint32_t maxShaderCount;
|
||||
uint32_t pushConstantRangeCount;
|
||||
const VkPushConstantRange* pPushConstantRanges;
|
||||
} VkIndirectExecutionSetShaderInfoEXT;
|
||||
|
||||
typedef union VkIndirectExecutionSetInfoEXT {
|
||||
const VkIndirectExecutionSetPipelineInfoEXT* pPipelineInfo;
|
||||
const VkIndirectExecutionSetShaderInfoEXT* pShaderInfo;
|
||||
} VkIndirectExecutionSetInfoEXT;
|
||||
|
||||
typedef struct VkIndirectExecutionSetCreateInfoEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
VkIndirectExecutionSetInfoTypeEXT type;
|
||||
VkIndirectExecutionSetInfoEXT info;
|
||||
} VkIndirectExecutionSetCreateInfoEXT;
|
||||
|
||||
typedef struct VkGeneratedCommandsInfoEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
VkShaderStageFlags shaderStages;
|
||||
VkIndirectExecutionSetEXT indirectExecutionSet;
|
||||
VkIndirectCommandsLayoutEXT indirectCommandsLayout;
|
||||
VkDeviceAddress indirectAddress;
|
||||
VkDeviceSize indirectAddressSize;
|
||||
VkDeviceAddress preprocessAddress;
|
||||
VkDeviceSize preprocessSize;
|
||||
uint32_t maxSequenceCount;
|
||||
VkDeviceAddress sequenceCountAddress;
|
||||
uint32_t maxDrawCount;
|
||||
} VkGeneratedCommandsInfoEXT;
|
||||
|
||||
typedef struct VkWriteIndirectExecutionSetPipelineEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
uint32_t index;
|
||||
VkPipeline pipeline;
|
||||
} VkWriteIndirectExecutionSetPipelineEXT;
|
||||
|
||||
typedef struct VkIndirectCommandsPushConstantTokenEXT {
|
||||
VkPushConstantRange updateRange;
|
||||
} VkIndirectCommandsPushConstantTokenEXT;
|
||||
|
||||
typedef struct VkIndirectCommandsVertexBufferTokenEXT {
|
||||
uint32_t vertexBindingUnit;
|
||||
} VkIndirectCommandsVertexBufferTokenEXT;
|
||||
|
||||
typedef struct VkIndirectCommandsIndexBufferTokenEXT {
|
||||
VkIndirectCommandsInputModeFlagBitsEXT mode;
|
||||
} VkIndirectCommandsIndexBufferTokenEXT;
|
||||
|
||||
typedef struct VkIndirectCommandsExecutionSetTokenEXT {
|
||||
VkIndirectExecutionSetInfoTypeEXT type;
|
||||
VkShaderStageFlags shaderStages;
|
||||
} VkIndirectCommandsExecutionSetTokenEXT;
|
||||
|
||||
typedef union VkIndirectCommandsTokenDataEXT {
|
||||
const VkIndirectCommandsPushConstantTokenEXT* pPushConstant;
|
||||
const VkIndirectCommandsVertexBufferTokenEXT* pVertexBuffer;
|
||||
const VkIndirectCommandsIndexBufferTokenEXT* pIndexBuffer;
|
||||
const VkIndirectCommandsExecutionSetTokenEXT* pExecutionSet;
|
||||
} VkIndirectCommandsTokenDataEXT;
|
||||
|
||||
typedef struct VkIndirectCommandsLayoutTokenEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
VkIndirectCommandsTokenTypeEXT type;
|
||||
VkIndirectCommandsTokenDataEXT data;
|
||||
uint32_t offset;
|
||||
} VkIndirectCommandsLayoutTokenEXT;
|
||||
|
||||
typedef struct VkIndirectCommandsLayoutCreateInfoEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
VkIndirectCommandsLayoutUsageFlagsEXT flags;
|
||||
VkShaderStageFlags shaderStages;
|
||||
uint32_t indirectStride;
|
||||
VkPipelineLayout pipelineLayout;
|
||||
uint32_t tokenCount;
|
||||
const VkIndirectCommandsLayoutTokenEXT* pTokens;
|
||||
} VkIndirectCommandsLayoutCreateInfoEXT;
|
||||
|
||||
typedef struct VkDrawIndirectCountIndirectCommandEXT {
|
||||
VkDeviceAddress bufferAddress;
|
||||
uint32_t stride;
|
||||
uint32_t commandCount;
|
||||
} VkDrawIndirectCountIndirectCommandEXT;
|
||||
|
||||
typedef struct VkBindVertexBufferIndirectCommandEXT {
|
||||
VkDeviceAddress bufferAddress;
|
||||
uint32_t size;
|
||||
uint32_t stride;
|
||||
} VkBindVertexBufferIndirectCommandEXT;
|
||||
|
||||
typedef struct VkBindIndexBufferIndirectCommandEXT {
|
||||
VkDeviceAddress bufferAddress;
|
||||
uint32_t size;
|
||||
VkIndexType indexType;
|
||||
} VkBindIndexBufferIndirectCommandEXT;
|
||||
|
||||
typedef struct VkGeneratedCommandsPipelineInfoEXT {
|
||||
VkStructureType sType;
|
||||
void* pNext;
|
||||
VkPipeline pipeline;
|
||||
} VkGeneratedCommandsPipelineInfoEXT;
|
||||
|
||||
typedef struct VkGeneratedCommandsShaderInfoEXT {
|
||||
VkStructureType sType;
|
||||
void* pNext;
|
||||
uint32_t shaderCount;
|
||||
const VkShaderEXT* pShaders;
|
||||
} VkGeneratedCommandsShaderInfoEXT;
|
||||
|
||||
typedef struct VkWriteIndirectExecutionSetShaderEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
uint32_t index;
|
||||
VkShaderEXT shader;
|
||||
} VkWriteIndirectExecutionSetShaderEXT;
|
||||
|
||||
typedef void (VKAPI_PTR *PFN_vkGetGeneratedCommandsMemoryRequirementsEXT)(VkDevice device, const VkGeneratedCommandsMemoryRequirementsInfoEXT* pInfo, VkMemoryRequirements2* pMemoryRequirements);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdPreprocessGeneratedCommandsEXT)(VkCommandBuffer commandBuffer, const VkGeneratedCommandsInfoEXT* pGeneratedCommandsInfo, VkCommandBuffer stateCommandBuffer);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdExecuteGeneratedCommandsEXT)(VkCommandBuffer commandBuffer, VkBool32 isPreprocessed, const VkGeneratedCommandsInfoEXT* pGeneratedCommandsInfo);
|
||||
typedef VkResult (VKAPI_PTR *PFN_vkCreateIndirectCommandsLayoutEXT)(VkDevice device, const VkIndirectCommandsLayoutCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkIndirectCommandsLayoutEXT* pIndirectCommandsLayout);
|
||||
typedef void (VKAPI_PTR *PFN_vkDestroyIndirectCommandsLayoutEXT)(VkDevice device, VkIndirectCommandsLayoutEXT indirectCommandsLayout, const VkAllocationCallbacks* pAllocator);
|
||||
typedef VkResult (VKAPI_PTR *PFN_vkCreateIndirectExecutionSetEXT)(VkDevice device, const VkIndirectExecutionSetCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkIndirectExecutionSetEXT* pIndirectExecutionSet);
|
||||
typedef void (VKAPI_PTR *PFN_vkDestroyIndirectExecutionSetEXT)(VkDevice device, VkIndirectExecutionSetEXT indirectExecutionSet, const VkAllocationCallbacks* pAllocator);
|
||||
typedef void (VKAPI_PTR *PFN_vkUpdateIndirectExecutionSetPipelineEXT)(VkDevice device, VkIndirectExecutionSetEXT indirectExecutionSet, uint32_t executionSetWriteCount, const VkWriteIndirectExecutionSetPipelineEXT* pExecutionSetWrites);
|
||||
typedef void (VKAPI_PTR *PFN_vkUpdateIndirectExecutionSetShaderEXT)(VkDevice device, VkIndirectExecutionSetEXT indirectExecutionSet, uint32_t executionSetWriteCount, const VkWriteIndirectExecutionSetShaderEXT* pExecutionSetWrites);
|
||||
|
||||
#ifndef VK_NO_PROTOTYPES
|
||||
VKAPI_ATTR void VKAPI_CALL vkGetGeneratedCommandsMemoryRequirementsEXT(
|
||||
VkDevice device,
|
||||
const VkGeneratedCommandsMemoryRequirementsInfoEXT* pInfo,
|
||||
VkMemoryRequirements2* pMemoryRequirements);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdPreprocessGeneratedCommandsEXT(
|
||||
VkCommandBuffer commandBuffer,
|
||||
const VkGeneratedCommandsInfoEXT* pGeneratedCommandsInfo,
|
||||
VkCommandBuffer stateCommandBuffer);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdExecuteGeneratedCommandsEXT(
|
||||
VkCommandBuffer commandBuffer,
|
||||
VkBool32 isPreprocessed,
|
||||
const VkGeneratedCommandsInfoEXT* pGeneratedCommandsInfo);
|
||||
|
||||
VKAPI_ATTR VkResult VKAPI_CALL vkCreateIndirectCommandsLayoutEXT(
|
||||
VkDevice device,
|
||||
const VkIndirectCommandsLayoutCreateInfoEXT* pCreateInfo,
|
||||
const VkAllocationCallbacks* pAllocator,
|
||||
VkIndirectCommandsLayoutEXT* pIndirectCommandsLayout);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkDestroyIndirectCommandsLayoutEXT(
|
||||
VkDevice device,
|
||||
VkIndirectCommandsLayoutEXT indirectCommandsLayout,
|
||||
const VkAllocationCallbacks* pAllocator);
|
||||
|
||||
VKAPI_ATTR VkResult VKAPI_CALL vkCreateIndirectExecutionSetEXT(
|
||||
VkDevice device,
|
||||
const VkIndirectExecutionSetCreateInfoEXT* pCreateInfo,
|
||||
const VkAllocationCallbacks* pAllocator,
|
||||
VkIndirectExecutionSetEXT* pIndirectExecutionSet);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkDestroyIndirectExecutionSetEXT(
|
||||
VkDevice device,
|
||||
VkIndirectExecutionSetEXT indirectExecutionSet,
|
||||
const VkAllocationCallbacks* pAllocator);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkUpdateIndirectExecutionSetPipelineEXT(
|
||||
VkDevice device,
|
||||
VkIndirectExecutionSetEXT indirectExecutionSet,
|
||||
uint32_t executionSetWriteCount,
|
||||
const VkWriteIndirectExecutionSetPipelineEXT* pExecutionSetWrites);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkUpdateIndirectExecutionSetShaderEXT(
|
||||
VkDevice device,
|
||||
VkIndirectExecutionSetEXT indirectExecutionSet,
|
||||
uint32_t executionSetWriteCount,
|
||||
const VkWriteIndirectExecutionSetShaderEXT* pExecutionSetWrites);
|
||||
#endif
|
||||
|
||||
|
||||
// VK_MESA_image_alignment_control is a preprocessor guard. Do not pass it to API calls.
|
||||
#define VK_MESA_image_alignment_control 1
|
||||
#define VK_MESA_IMAGE_ALIGNMENT_CONTROL_SPEC_VERSION 1
|
||||
@ -19535,6 +19879,25 @@ typedef struct VkImageAlignmentControlCreateInfoMESA {
|
||||
|
||||
|
||||
|
||||
// VK_EXT_depth_clamp_control is a preprocessor guard. Do not pass it to API calls.
|
||||
#define VK_EXT_depth_clamp_control 1
|
||||
#define VK_EXT_DEPTH_CLAMP_CONTROL_SPEC_VERSION 1
|
||||
#define VK_EXT_DEPTH_CLAMP_CONTROL_EXTENSION_NAME "VK_EXT_depth_clamp_control"
|
||||
typedef struct VkPhysicalDeviceDepthClampControlFeaturesEXT {
|
||||
VkStructureType sType;
|
||||
void* pNext;
|
||||
VkBool32 depthClampControl;
|
||||
} VkPhysicalDeviceDepthClampControlFeaturesEXT;
|
||||
|
||||
typedef struct VkPipelineViewportDepthClampControlCreateInfoEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
VkDepthClampModeEXT depthClampMode;
|
||||
const VkDepthClampRangeEXT* pDepthClampRange;
|
||||
} VkPipelineViewportDepthClampControlCreateInfoEXT;
|
||||
|
||||
|
||||
|
||||
// VK_KHR_acceleration_structure is a preprocessor guard. Do not pass it to API calls.
|
||||
#define VK_KHR_acceleration_structure 1
|
||||
#define VK_KHR_ACCELERATION_STRUCTURE_SPEC_VERSION 13
|
||||
|
Loading…
Reference in New Issue
Block a user