1566 lines
93 KiB
Plaintext
1566 lines
93 KiB
Plaintext
#! Contains the constants of `malunal::vulkan`: the API's, those its features
|
|
#! and extensions define, and each enum's values, under the enum's name.
|
|
#!
|
|
#! Written by `malunal.vulkan.bindings` from the registry of Vulkan 1.4.328: run
|
|
#! it again, rather than editing this.
|
|
|
|
extern module malunal::vulkan when os == windows || os == linux;
|
|
|
|
# API Constants
|
|
pub const VK_MAX_PHYSICAL_DEVICE_NAME_SIZE: u32 = 256;
|
|
pub const VK_UUID_SIZE: u32 = 16;
|
|
pub const VK_LUID_SIZE: u32 = 8;
|
|
pub const VK_MAX_EXTENSION_NAME_SIZE: u32 = 256;
|
|
pub const VK_MAX_DESCRIPTION_SIZE: u32 = 256;
|
|
pub const VK_MAX_MEMORY_TYPES: u32 = 32;
|
|
pub const VK_MAX_MEMORY_HEAPS: u32 = 16; #! The maximum number of unique memory heaps, each of which supporting 1 or more memory types
|
|
pub const VK_LOD_CLAMP_NONE: f32 = 1000.0;
|
|
pub const VK_REMAINING_MIP_LEVELS: u32 = 0xFFFFFFFF;
|
|
pub const VK_REMAINING_ARRAY_LAYERS: u32 = 0xFFFFFFFF;
|
|
pub const VK_WHOLE_SIZE: u64 = 0xFFFFFFFFFFFFFFFF;
|
|
pub const VK_ATTACHMENT_UNUSED: u32 = 0xFFFFFFFF;
|
|
pub const VK_TRUE: u32 = 1;
|
|
pub const VK_FALSE: u32 = 0;
|
|
pub const VK_QUEUE_FAMILY_IGNORED: u32 = 0xFFFFFFFF;
|
|
pub const VK_QUEUE_FAMILY_EXTERNAL: u32 = 0xFFFFFFFE;
|
|
pub const VK_SUBPASS_EXTERNAL: u32 = 0xFFFFFFFF;
|
|
pub const VK_MAX_DEVICE_GROUP_SIZE: u32 = 32;
|
|
pub const VK_MAX_DRIVER_NAME_SIZE: u32 = 256;
|
|
pub const VK_MAX_DRIVER_INFO_SIZE: u32 = 256;
|
|
pub const VK_MAX_GLOBAL_PRIORITY_SIZE: u32 = 16;
|
|
|
|
# VK_KHR_surface
|
|
pub const VK_KHR_SURFACE_SPEC_VERSION: u32 = 25;
|
|
pub const VK_KHR_SURFACE_EXTENSION_NAME: strview = "VK_KHR_surface";
|
|
|
|
# VK_KHR_swapchain
|
|
pub const VK_KHR_SWAPCHAIN_SPEC_VERSION: u32 = 70;
|
|
pub const VK_KHR_SWAPCHAIN_EXTENSION_NAME: strview = "VK_KHR_swapchain";
|
|
|
|
# VK_KHR_display
|
|
pub const VK_KHR_DISPLAY_SPEC_VERSION: u32 = 23;
|
|
pub const VK_KHR_DISPLAY_EXTENSION_NAME: strview = "VK_KHR_display";
|
|
|
|
# VK_KHR_display_swapchain
|
|
pub const VK_KHR_DISPLAY_SWAPCHAIN_SPEC_VERSION: u32 = 10;
|
|
pub const VK_KHR_DISPLAY_SWAPCHAIN_EXTENSION_NAME: strview = "VK_KHR_display_swapchain";
|
|
|
|
# VK_KHR_get_surface_capabilities2
|
|
pub const VK_KHR_GET_SURFACE_CAPABILITIES_2_SPEC_VERSION: u32 = 1;
|
|
pub const VK_KHR_GET_SURFACE_CAPABILITIES_2_EXTENSION_NAME: strview = "VK_KHR_get_surface_capabilities2";
|
|
|
|
# VK_KHR_get_display_properties2
|
|
pub const VK_KHR_GET_DISPLAY_PROPERTIES_2_SPEC_VERSION: u32 = 1;
|
|
pub const VK_KHR_GET_DISPLAY_PROPERTIES_2_EXTENSION_NAME: strview = "VK_KHR_get_display_properties2";
|
|
|
|
# VK_EXT_debug_utils
|
|
pub const VK_EXT_DEBUG_UTILS_SPEC_VERSION: u32 = 2;
|
|
pub const VK_EXT_DEBUG_UTILS_EXTENSION_NAME: strview = "VK_EXT_debug_utils";
|
|
|
|
# VK_EXT_headless_surface
|
|
pub const VK_EXT_HEADLESS_SURFACE_SPEC_VERSION: u32 = 1;
|
|
pub const VK_EXT_HEADLESS_SURFACE_EXTENSION_NAME: strview = "VK_EXT_headless_surface";
|
|
|
|
# VkImageLayout
|
|
pub const VK_IMAGE_LAYOUT_UNDEFINED: u32 = 0; #! Implicit layout an image is when its contents are undefined due to various reasons (e.g. right after creation)
|
|
pub const VK_IMAGE_LAYOUT_GENERAL: u32 = 1; #! General layout when image can be used for any kind of access
|
|
pub const VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL: u32 = 2; #! Optimal layout when image is only used for color attachment read/write
|
|
pub const VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL: u32 = 3; #! Optimal layout when image is only used for depth/stencil attachment read/write
|
|
pub const VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL: u32 = 4; #! Optimal layout when image is used for read only depth/stencil attachment and shader access
|
|
pub const VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL: u32 = 5; #! Optimal layout when image is used for read only shader access
|
|
pub const VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL: u32 = 6; #! Optimal layout when image is used only as source of transfer operations
|
|
pub const VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL: u32 = 7; #! Optimal layout when image is used only as destination of transfer operations
|
|
pub const VK_IMAGE_LAYOUT_PREINITIALIZED: u32 = 8; #! Initial layout used when the data is populated by the CPU
|
|
pub const VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL: u32 = 1000117000;
|
|
pub const VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL: u32 = 1000117001;
|
|
pub const VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL: u32 = 1000241000;
|
|
pub const VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL: u32 = 1000241001;
|
|
pub const VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL: u32 = 1000241002;
|
|
pub const VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL: u32 = 1000241003;
|
|
pub const VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL: u32 = 1000314000;
|
|
pub const VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL: u32 = 1000314001;
|
|
pub const VK_IMAGE_LAYOUT_RENDERING_LOCAL_READ: u32 = 1000232000;
|
|
pub const VK_IMAGE_LAYOUT_PRESENT_SRC_KHR: u32 = 1000001002;
|
|
|
|
# VkAttachmentLoadOp
|
|
pub const VK_ATTACHMENT_LOAD_OP_LOAD: u32 = 0;
|
|
pub const VK_ATTACHMENT_LOAD_OP_CLEAR: u32 = 1;
|
|
pub const VK_ATTACHMENT_LOAD_OP_DONT_CARE: u32 = 2;
|
|
pub const VK_ATTACHMENT_LOAD_OP_NONE: u32 = 1000400000;
|
|
|
|
# VkAttachmentStoreOp
|
|
pub const VK_ATTACHMENT_STORE_OP_STORE: u32 = 0;
|
|
pub const VK_ATTACHMENT_STORE_OP_DONT_CARE: u32 = 1;
|
|
pub const VK_ATTACHMENT_STORE_OP_NONE: u32 = 1000301000;
|
|
|
|
# VkImageType
|
|
pub const VK_IMAGE_TYPE_1D: u32 = 0;
|
|
pub const VK_IMAGE_TYPE_2D: u32 = 1;
|
|
pub const VK_IMAGE_TYPE_3D: u32 = 2;
|
|
|
|
# VkImageTiling
|
|
pub const VK_IMAGE_TILING_OPTIMAL: u32 = 0;
|
|
pub const VK_IMAGE_TILING_LINEAR: u32 = 1;
|
|
|
|
# VkImageViewType
|
|
pub const VK_IMAGE_VIEW_TYPE_1D: u32 = 0;
|
|
pub const VK_IMAGE_VIEW_TYPE_2D: u32 = 1;
|
|
pub const VK_IMAGE_VIEW_TYPE_3D: u32 = 2;
|
|
pub const VK_IMAGE_VIEW_TYPE_CUBE: u32 = 3;
|
|
pub const VK_IMAGE_VIEW_TYPE_1D_ARRAY: u32 = 4;
|
|
pub const VK_IMAGE_VIEW_TYPE_2D_ARRAY: u32 = 5;
|
|
pub const VK_IMAGE_VIEW_TYPE_CUBE_ARRAY: u32 = 6;
|
|
|
|
# VkCommandBufferLevel
|
|
pub const VK_COMMAND_BUFFER_LEVEL_PRIMARY: u32 = 0;
|
|
pub const VK_COMMAND_BUFFER_LEVEL_SECONDARY: u32 = 1;
|
|
|
|
# VkComponentSwizzle
|
|
pub const VK_COMPONENT_SWIZZLE_IDENTITY: u32 = 0;
|
|
pub const VK_COMPONENT_SWIZZLE_ZERO: u32 = 1;
|
|
pub const VK_COMPONENT_SWIZZLE_ONE: u32 = 2;
|
|
pub const VK_COMPONENT_SWIZZLE_R: u32 = 3;
|
|
pub const VK_COMPONENT_SWIZZLE_G: u32 = 4;
|
|
pub const VK_COMPONENT_SWIZZLE_B: u32 = 5;
|
|
pub const VK_COMPONENT_SWIZZLE_A: u32 = 6;
|
|
|
|
# VkDescriptorType
|
|
pub const VK_DESCRIPTOR_TYPE_SAMPLER: u32 = 0;
|
|
pub const VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER: u32 = 1;
|
|
pub const VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE: u32 = 2;
|
|
pub const VK_DESCRIPTOR_TYPE_STORAGE_IMAGE: u32 = 3;
|
|
pub const VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER: u32 = 4;
|
|
pub const VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER: u32 = 5;
|
|
pub const VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER: u32 = 6;
|
|
pub const VK_DESCRIPTOR_TYPE_STORAGE_BUFFER: u32 = 7;
|
|
pub const VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC: u32 = 8;
|
|
pub const VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC: u32 = 9;
|
|
pub const VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT: u32 = 10;
|
|
pub const VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK: u32 = 1000138000;
|
|
|
|
# VkQueryType
|
|
pub const VK_QUERY_TYPE_OCCLUSION: u32 = 0;
|
|
pub const VK_QUERY_TYPE_PIPELINE_STATISTICS: u32 = 1; #! Optional
|
|
pub const VK_QUERY_TYPE_TIMESTAMP: u32 = 2;
|
|
|
|
# VkBorderColor
|
|
pub const VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK: u32 = 0;
|
|
pub const VK_BORDER_COLOR_INT_TRANSPARENT_BLACK: u32 = 1;
|
|
pub const VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK: u32 = 2;
|
|
pub const VK_BORDER_COLOR_INT_OPAQUE_BLACK: u32 = 3;
|
|
pub const VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE: u32 = 4;
|
|
pub const VK_BORDER_COLOR_INT_OPAQUE_WHITE: u32 = 5;
|
|
|
|
# VkPipelineBindPoint
|
|
pub const VK_PIPELINE_BIND_POINT_GRAPHICS: u32 = 0;
|
|
pub const VK_PIPELINE_BIND_POINT_COMPUTE: u32 = 1;
|
|
|
|
# VkPipelineCacheHeaderVersion
|
|
pub const VK_PIPELINE_CACHE_HEADER_VERSION_ONE: u32 = 1;
|
|
|
|
# VkPipelineCacheCreateFlagBits
|
|
pub const VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT: u32 = 0x1;
|
|
|
|
# VkPrimitiveTopology
|
|
pub const VK_PRIMITIVE_TOPOLOGY_POINT_LIST: u32 = 0;
|
|
pub const VK_PRIMITIVE_TOPOLOGY_LINE_LIST: u32 = 1;
|
|
pub const VK_PRIMITIVE_TOPOLOGY_LINE_STRIP: u32 = 2;
|
|
pub const VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST: u32 = 3;
|
|
pub const VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP: u32 = 4;
|
|
pub const VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN: u32 = 5;
|
|
pub const VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY: u32 = 6;
|
|
pub const VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY: u32 = 7;
|
|
pub const VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY: u32 = 8;
|
|
pub const VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY: u32 = 9;
|
|
pub const VK_PRIMITIVE_TOPOLOGY_PATCH_LIST: u32 = 10;
|
|
|
|
# VkSharingMode
|
|
pub const VK_SHARING_MODE_EXCLUSIVE: u32 = 0;
|
|
pub const VK_SHARING_MODE_CONCURRENT: u32 = 1;
|
|
|
|
# VkIndexType
|
|
pub const VK_INDEX_TYPE_UINT16: u32 = 0;
|
|
pub const VK_INDEX_TYPE_UINT32: u32 = 1;
|
|
pub const VK_INDEX_TYPE_UINT8: u32 = 1000265000;
|
|
|
|
# VkFilter
|
|
pub const VK_FILTER_NEAREST: u32 = 0;
|
|
pub const VK_FILTER_LINEAR: u32 = 1;
|
|
|
|
# VkSamplerMipmapMode
|
|
pub const VK_SAMPLER_MIPMAP_MODE_NEAREST: u32 = 0; #! Choose nearest mip level
|
|
pub const VK_SAMPLER_MIPMAP_MODE_LINEAR: u32 = 1; #! Linear filter between mip levels
|
|
|
|
# VkSamplerAddressMode
|
|
pub const VK_SAMPLER_ADDRESS_MODE_REPEAT: u32 = 0;
|
|
pub const VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT: u32 = 1;
|
|
pub const VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE: u32 = 2;
|
|
pub const VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER: u32 = 3;
|
|
pub const VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE: u32 = 4; #! No need to add an extnumber attribute, since this uses a core enum value
|
|
|
|
# VkCompareOp
|
|
pub const VK_COMPARE_OP_NEVER: u32 = 0;
|
|
pub const VK_COMPARE_OP_LESS: u32 = 1;
|
|
pub const VK_COMPARE_OP_EQUAL: u32 = 2;
|
|
pub const VK_COMPARE_OP_LESS_OR_EQUAL: u32 = 3;
|
|
pub const VK_COMPARE_OP_GREATER: u32 = 4;
|
|
pub const VK_COMPARE_OP_NOT_EQUAL: u32 = 5;
|
|
pub const VK_COMPARE_OP_GREATER_OR_EQUAL: u32 = 6;
|
|
pub const VK_COMPARE_OP_ALWAYS: u32 = 7;
|
|
|
|
# VkPolygonMode
|
|
pub const VK_POLYGON_MODE_FILL: u32 = 0;
|
|
pub const VK_POLYGON_MODE_LINE: u32 = 1;
|
|
pub const VK_POLYGON_MODE_POINT: u32 = 2;
|
|
|
|
# VkFrontFace
|
|
pub const VK_FRONT_FACE_COUNTER_CLOCKWISE: u32 = 0;
|
|
pub const VK_FRONT_FACE_CLOCKWISE: u32 = 1;
|
|
|
|
# VkBlendFactor
|
|
pub const VK_BLEND_FACTOR_ZERO: u32 = 0;
|
|
pub const VK_BLEND_FACTOR_ONE: u32 = 1;
|
|
pub const VK_BLEND_FACTOR_SRC_COLOR: u32 = 2;
|
|
pub const VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR: u32 = 3;
|
|
pub const VK_BLEND_FACTOR_DST_COLOR: u32 = 4;
|
|
pub const VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR: u32 = 5;
|
|
pub const VK_BLEND_FACTOR_SRC_ALPHA: u32 = 6;
|
|
pub const VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA: u32 = 7;
|
|
pub const VK_BLEND_FACTOR_DST_ALPHA: u32 = 8;
|
|
pub const VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA: u32 = 9;
|
|
pub const VK_BLEND_FACTOR_CONSTANT_COLOR: u32 = 10;
|
|
pub const VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR: u32 = 11;
|
|
pub const VK_BLEND_FACTOR_CONSTANT_ALPHA: u32 = 12;
|
|
pub const VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA: u32 = 13;
|
|
pub const VK_BLEND_FACTOR_SRC_ALPHA_SATURATE: u32 = 14;
|
|
pub const VK_BLEND_FACTOR_SRC1_COLOR: u32 = 15;
|
|
pub const VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR: u32 = 16;
|
|
pub const VK_BLEND_FACTOR_SRC1_ALPHA: u32 = 17;
|
|
pub const VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA: u32 = 18;
|
|
|
|
# VkBlendOp
|
|
pub const VK_BLEND_OP_ADD: u32 = 0;
|
|
pub const VK_BLEND_OP_SUBTRACT: u32 = 1;
|
|
pub const VK_BLEND_OP_REVERSE_SUBTRACT: u32 = 2;
|
|
pub const VK_BLEND_OP_MIN: u32 = 3;
|
|
pub const VK_BLEND_OP_MAX: u32 = 4;
|
|
|
|
# VkStencilOp
|
|
pub const VK_STENCIL_OP_KEEP: u32 = 0;
|
|
pub const VK_STENCIL_OP_ZERO: u32 = 1;
|
|
pub const VK_STENCIL_OP_REPLACE: u32 = 2;
|
|
pub const VK_STENCIL_OP_INCREMENT_AND_CLAMP: u32 = 3;
|
|
pub const VK_STENCIL_OP_DECREMENT_AND_CLAMP: u32 = 4;
|
|
pub const VK_STENCIL_OP_INVERT: u32 = 5;
|
|
pub const VK_STENCIL_OP_INCREMENT_AND_WRAP: u32 = 6;
|
|
pub const VK_STENCIL_OP_DECREMENT_AND_WRAP: u32 = 7;
|
|
|
|
# VkLogicOp
|
|
pub const VK_LOGIC_OP_CLEAR: u32 = 0;
|
|
pub const VK_LOGIC_OP_AND: u32 = 1;
|
|
pub const VK_LOGIC_OP_AND_REVERSE: u32 = 2;
|
|
pub const VK_LOGIC_OP_COPY: u32 = 3;
|
|
pub const VK_LOGIC_OP_AND_INVERTED: u32 = 4;
|
|
pub const VK_LOGIC_OP_NO_OP: u32 = 5;
|
|
pub const VK_LOGIC_OP_XOR: u32 = 6;
|
|
pub const VK_LOGIC_OP_OR: u32 = 7;
|
|
pub const VK_LOGIC_OP_NOR: u32 = 8;
|
|
pub const VK_LOGIC_OP_EQUIVALENT: u32 = 9;
|
|
pub const VK_LOGIC_OP_INVERT: u32 = 10;
|
|
pub const VK_LOGIC_OP_OR_REVERSE: u32 = 11;
|
|
pub const VK_LOGIC_OP_COPY_INVERTED: u32 = 12;
|
|
pub const VK_LOGIC_OP_OR_INVERTED: u32 = 13;
|
|
pub const VK_LOGIC_OP_NAND: u32 = 14;
|
|
pub const VK_LOGIC_OP_SET: u32 = 15;
|
|
|
|
# VkInternalAllocationType
|
|
pub const VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE: u32 = 0;
|
|
|
|
# VkSystemAllocationScope
|
|
pub const VK_SYSTEM_ALLOCATION_SCOPE_COMMAND: u32 = 0;
|
|
pub const VK_SYSTEM_ALLOCATION_SCOPE_OBJECT: u32 = 1;
|
|
pub const VK_SYSTEM_ALLOCATION_SCOPE_CACHE: u32 = 2;
|
|
pub const VK_SYSTEM_ALLOCATION_SCOPE_DEVICE: u32 = 3;
|
|
pub const VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE: u32 = 4;
|
|
|
|
# VkPhysicalDeviceType
|
|
pub const VK_PHYSICAL_DEVICE_TYPE_OTHER: u32 = 0;
|
|
pub const VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU: u32 = 1;
|
|
pub const VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU: u32 = 2;
|
|
pub const VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU: u32 = 3;
|
|
pub const VK_PHYSICAL_DEVICE_TYPE_CPU: u32 = 4;
|
|
|
|
# VkVertexInputRate
|
|
pub const VK_VERTEX_INPUT_RATE_VERTEX: u32 = 0;
|
|
pub const VK_VERTEX_INPUT_RATE_INSTANCE: u32 = 1;
|
|
|
|
# VkFormat
|
|
pub const VK_FORMAT_UNDEFINED: u32 = 0;
|
|
pub const VK_FORMAT_R4G4_UNORM_PACK8: u32 = 1;
|
|
pub const VK_FORMAT_R4G4B4A4_UNORM_PACK16: u32 = 2;
|
|
pub const VK_FORMAT_B4G4R4A4_UNORM_PACK16: u32 = 3;
|
|
pub const VK_FORMAT_R5G6B5_UNORM_PACK16: u32 = 4;
|
|
pub const VK_FORMAT_B5G6R5_UNORM_PACK16: u32 = 5;
|
|
pub const VK_FORMAT_R5G5B5A1_UNORM_PACK16: u32 = 6;
|
|
pub const VK_FORMAT_B5G5R5A1_UNORM_PACK16: u32 = 7;
|
|
pub const VK_FORMAT_A1R5G5B5_UNORM_PACK16: u32 = 8;
|
|
pub const VK_FORMAT_R8_UNORM: u32 = 9;
|
|
pub const VK_FORMAT_R8_SNORM: u32 = 10;
|
|
pub const VK_FORMAT_R8_USCALED: u32 = 11;
|
|
pub const VK_FORMAT_R8_SSCALED: u32 = 12;
|
|
pub const VK_FORMAT_R8_UINT: u32 = 13;
|
|
pub const VK_FORMAT_R8_SINT: u32 = 14;
|
|
pub const VK_FORMAT_R8_SRGB: u32 = 15;
|
|
pub const VK_FORMAT_R8G8_UNORM: u32 = 16;
|
|
pub const VK_FORMAT_R8G8_SNORM: u32 = 17;
|
|
pub const VK_FORMAT_R8G8_USCALED: u32 = 18;
|
|
pub const VK_FORMAT_R8G8_SSCALED: u32 = 19;
|
|
pub const VK_FORMAT_R8G8_UINT: u32 = 20;
|
|
pub const VK_FORMAT_R8G8_SINT: u32 = 21;
|
|
pub const VK_FORMAT_R8G8_SRGB: u32 = 22;
|
|
pub const VK_FORMAT_R8G8B8_UNORM: u32 = 23;
|
|
pub const VK_FORMAT_R8G8B8_SNORM: u32 = 24;
|
|
pub const VK_FORMAT_R8G8B8_USCALED: u32 = 25;
|
|
pub const VK_FORMAT_R8G8B8_SSCALED: u32 = 26;
|
|
pub const VK_FORMAT_R8G8B8_UINT: u32 = 27;
|
|
pub const VK_FORMAT_R8G8B8_SINT: u32 = 28;
|
|
pub const VK_FORMAT_R8G8B8_SRGB: u32 = 29;
|
|
pub const VK_FORMAT_B8G8R8_UNORM: u32 = 30;
|
|
pub const VK_FORMAT_B8G8R8_SNORM: u32 = 31;
|
|
pub const VK_FORMAT_B8G8R8_USCALED: u32 = 32;
|
|
pub const VK_FORMAT_B8G8R8_SSCALED: u32 = 33;
|
|
pub const VK_FORMAT_B8G8R8_UINT: u32 = 34;
|
|
pub const VK_FORMAT_B8G8R8_SINT: u32 = 35;
|
|
pub const VK_FORMAT_B8G8R8_SRGB: u32 = 36;
|
|
pub const VK_FORMAT_R8G8B8A8_UNORM: u32 = 37;
|
|
pub const VK_FORMAT_R8G8B8A8_SNORM: u32 = 38;
|
|
pub const VK_FORMAT_R8G8B8A8_USCALED: u32 = 39;
|
|
pub const VK_FORMAT_R8G8B8A8_SSCALED: u32 = 40;
|
|
pub const VK_FORMAT_R8G8B8A8_UINT: u32 = 41;
|
|
pub const VK_FORMAT_R8G8B8A8_SINT: u32 = 42;
|
|
pub const VK_FORMAT_R8G8B8A8_SRGB: u32 = 43;
|
|
pub const VK_FORMAT_B8G8R8A8_UNORM: u32 = 44;
|
|
pub const VK_FORMAT_B8G8R8A8_SNORM: u32 = 45;
|
|
pub const VK_FORMAT_B8G8R8A8_USCALED: u32 = 46;
|
|
pub const VK_FORMAT_B8G8R8A8_SSCALED: u32 = 47;
|
|
pub const VK_FORMAT_B8G8R8A8_UINT: u32 = 48;
|
|
pub const VK_FORMAT_B8G8R8A8_SINT: u32 = 49;
|
|
pub const VK_FORMAT_B8G8R8A8_SRGB: u32 = 50;
|
|
pub const VK_FORMAT_A8B8G8R8_UNORM_PACK32: u32 = 51;
|
|
pub const VK_FORMAT_A8B8G8R8_SNORM_PACK32: u32 = 52;
|
|
pub const VK_FORMAT_A8B8G8R8_USCALED_PACK32: u32 = 53;
|
|
pub const VK_FORMAT_A8B8G8R8_SSCALED_PACK32: u32 = 54;
|
|
pub const VK_FORMAT_A8B8G8R8_UINT_PACK32: u32 = 55;
|
|
pub const VK_FORMAT_A8B8G8R8_SINT_PACK32: u32 = 56;
|
|
pub const VK_FORMAT_A8B8G8R8_SRGB_PACK32: u32 = 57;
|
|
pub const VK_FORMAT_A2R10G10B10_UNORM_PACK32: u32 = 58;
|
|
pub const VK_FORMAT_A2R10G10B10_SNORM_PACK32: u32 = 59;
|
|
pub const VK_FORMAT_A2R10G10B10_USCALED_PACK32: u32 = 60;
|
|
pub const VK_FORMAT_A2R10G10B10_SSCALED_PACK32: u32 = 61;
|
|
pub const VK_FORMAT_A2R10G10B10_UINT_PACK32: u32 = 62;
|
|
pub const VK_FORMAT_A2R10G10B10_SINT_PACK32: u32 = 63;
|
|
pub const VK_FORMAT_A2B10G10R10_UNORM_PACK32: u32 = 64;
|
|
pub const VK_FORMAT_A2B10G10R10_SNORM_PACK32: u32 = 65;
|
|
pub const VK_FORMAT_A2B10G10R10_USCALED_PACK32: u32 = 66;
|
|
pub const VK_FORMAT_A2B10G10R10_SSCALED_PACK32: u32 = 67;
|
|
pub const VK_FORMAT_A2B10G10R10_UINT_PACK32: u32 = 68;
|
|
pub const VK_FORMAT_A2B10G10R10_SINT_PACK32: u32 = 69;
|
|
pub const VK_FORMAT_R16_UNORM: u32 = 70;
|
|
pub const VK_FORMAT_R16_SNORM: u32 = 71;
|
|
pub const VK_FORMAT_R16_USCALED: u32 = 72;
|
|
pub const VK_FORMAT_R16_SSCALED: u32 = 73;
|
|
pub const VK_FORMAT_R16_UINT: u32 = 74;
|
|
pub const VK_FORMAT_R16_SINT: u32 = 75;
|
|
pub const VK_FORMAT_R16_SFLOAT: u32 = 76;
|
|
pub const VK_FORMAT_R16G16_UNORM: u32 = 77;
|
|
pub const VK_FORMAT_R16G16_SNORM: u32 = 78;
|
|
pub const VK_FORMAT_R16G16_USCALED: u32 = 79;
|
|
pub const VK_FORMAT_R16G16_SSCALED: u32 = 80;
|
|
pub const VK_FORMAT_R16G16_UINT: u32 = 81;
|
|
pub const VK_FORMAT_R16G16_SINT: u32 = 82;
|
|
pub const VK_FORMAT_R16G16_SFLOAT: u32 = 83;
|
|
pub const VK_FORMAT_R16G16B16_UNORM: u32 = 84;
|
|
pub const VK_FORMAT_R16G16B16_SNORM: u32 = 85;
|
|
pub const VK_FORMAT_R16G16B16_USCALED: u32 = 86;
|
|
pub const VK_FORMAT_R16G16B16_SSCALED: u32 = 87;
|
|
pub const VK_FORMAT_R16G16B16_UINT: u32 = 88;
|
|
pub const VK_FORMAT_R16G16B16_SINT: u32 = 89;
|
|
pub const VK_FORMAT_R16G16B16_SFLOAT: u32 = 90;
|
|
pub const VK_FORMAT_R16G16B16A16_UNORM: u32 = 91;
|
|
pub const VK_FORMAT_R16G16B16A16_SNORM: u32 = 92;
|
|
pub const VK_FORMAT_R16G16B16A16_USCALED: u32 = 93;
|
|
pub const VK_FORMAT_R16G16B16A16_SSCALED: u32 = 94;
|
|
pub const VK_FORMAT_R16G16B16A16_UINT: u32 = 95;
|
|
pub const VK_FORMAT_R16G16B16A16_SINT: u32 = 96;
|
|
pub const VK_FORMAT_R16G16B16A16_SFLOAT: u32 = 97;
|
|
pub const VK_FORMAT_R32_UINT: u32 = 98;
|
|
pub const VK_FORMAT_R32_SINT: u32 = 99;
|
|
pub const VK_FORMAT_R32_SFLOAT: u32 = 100;
|
|
pub const VK_FORMAT_R32G32_UINT: u32 = 101;
|
|
pub const VK_FORMAT_R32G32_SINT: u32 = 102;
|
|
pub const VK_FORMAT_R32G32_SFLOAT: u32 = 103;
|
|
pub const VK_FORMAT_R32G32B32_UINT: u32 = 104;
|
|
pub const VK_FORMAT_R32G32B32_SINT: u32 = 105;
|
|
pub const VK_FORMAT_R32G32B32_SFLOAT: u32 = 106;
|
|
pub const VK_FORMAT_R32G32B32A32_UINT: u32 = 107;
|
|
pub const VK_FORMAT_R32G32B32A32_SINT: u32 = 108;
|
|
pub const VK_FORMAT_R32G32B32A32_SFLOAT: u32 = 109;
|
|
pub const VK_FORMAT_R64_UINT: u32 = 110;
|
|
pub const VK_FORMAT_R64_SINT: u32 = 111;
|
|
pub const VK_FORMAT_R64_SFLOAT: u32 = 112;
|
|
pub const VK_FORMAT_R64G64_UINT: u32 = 113;
|
|
pub const VK_FORMAT_R64G64_SINT: u32 = 114;
|
|
pub const VK_FORMAT_R64G64_SFLOAT: u32 = 115;
|
|
pub const VK_FORMAT_R64G64B64_UINT: u32 = 116;
|
|
pub const VK_FORMAT_R64G64B64_SINT: u32 = 117;
|
|
pub const VK_FORMAT_R64G64B64_SFLOAT: u32 = 118;
|
|
pub const VK_FORMAT_R64G64B64A64_UINT: u32 = 119;
|
|
pub const VK_FORMAT_R64G64B64A64_SINT: u32 = 120;
|
|
pub const VK_FORMAT_R64G64B64A64_SFLOAT: u32 = 121;
|
|
pub const VK_FORMAT_B10G11R11_UFLOAT_PACK32: u32 = 122;
|
|
pub const VK_FORMAT_E5B9G9R9_UFLOAT_PACK32: u32 = 123;
|
|
pub const VK_FORMAT_D16_UNORM: u32 = 124;
|
|
pub const VK_FORMAT_X8_D24_UNORM_PACK32: u32 = 125;
|
|
pub const VK_FORMAT_D32_SFLOAT: u32 = 126;
|
|
pub const VK_FORMAT_S8_UINT: u32 = 127;
|
|
pub const VK_FORMAT_D16_UNORM_S8_UINT: u32 = 128;
|
|
pub const VK_FORMAT_D24_UNORM_S8_UINT: u32 = 129;
|
|
pub const VK_FORMAT_D32_SFLOAT_S8_UINT: u32 = 130;
|
|
pub const VK_FORMAT_BC1_RGB_UNORM_BLOCK: u32 = 131;
|
|
pub const VK_FORMAT_BC1_RGB_SRGB_BLOCK: u32 = 132;
|
|
pub const VK_FORMAT_BC1_RGBA_UNORM_BLOCK: u32 = 133;
|
|
pub const VK_FORMAT_BC1_RGBA_SRGB_BLOCK: u32 = 134;
|
|
pub const VK_FORMAT_BC2_UNORM_BLOCK: u32 = 135;
|
|
pub const VK_FORMAT_BC2_SRGB_BLOCK: u32 = 136;
|
|
pub const VK_FORMAT_BC3_UNORM_BLOCK: u32 = 137;
|
|
pub const VK_FORMAT_BC3_SRGB_BLOCK: u32 = 138;
|
|
pub const VK_FORMAT_BC4_UNORM_BLOCK: u32 = 139;
|
|
pub const VK_FORMAT_BC4_SNORM_BLOCK: u32 = 140;
|
|
pub const VK_FORMAT_BC5_UNORM_BLOCK: u32 = 141;
|
|
pub const VK_FORMAT_BC5_SNORM_BLOCK: u32 = 142;
|
|
pub const VK_FORMAT_BC6H_UFLOAT_BLOCK: u32 = 143;
|
|
pub const VK_FORMAT_BC6H_SFLOAT_BLOCK: u32 = 144;
|
|
pub const VK_FORMAT_BC7_UNORM_BLOCK: u32 = 145;
|
|
pub const VK_FORMAT_BC7_SRGB_BLOCK: u32 = 146;
|
|
pub const VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK: u32 = 147;
|
|
pub const VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK: u32 = 148;
|
|
pub const VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK: u32 = 149;
|
|
pub const VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK: u32 = 150;
|
|
pub const VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK: u32 = 151;
|
|
pub const VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK: u32 = 152;
|
|
pub const VK_FORMAT_EAC_R11_UNORM_BLOCK: u32 = 153;
|
|
pub const VK_FORMAT_EAC_R11_SNORM_BLOCK: u32 = 154;
|
|
pub const VK_FORMAT_EAC_R11G11_UNORM_BLOCK: u32 = 155;
|
|
pub const VK_FORMAT_EAC_R11G11_SNORM_BLOCK: u32 = 156;
|
|
pub const VK_FORMAT_ASTC_4x4_UNORM_BLOCK: u32 = 157;
|
|
pub const VK_FORMAT_ASTC_4x4_SRGB_BLOCK: u32 = 158;
|
|
pub const VK_FORMAT_ASTC_5x4_UNORM_BLOCK: u32 = 159;
|
|
pub const VK_FORMAT_ASTC_5x4_SRGB_BLOCK: u32 = 160;
|
|
pub const VK_FORMAT_ASTC_5x5_UNORM_BLOCK: u32 = 161;
|
|
pub const VK_FORMAT_ASTC_5x5_SRGB_BLOCK: u32 = 162;
|
|
pub const VK_FORMAT_ASTC_6x5_UNORM_BLOCK: u32 = 163;
|
|
pub const VK_FORMAT_ASTC_6x5_SRGB_BLOCK: u32 = 164;
|
|
pub const VK_FORMAT_ASTC_6x6_UNORM_BLOCK: u32 = 165;
|
|
pub const VK_FORMAT_ASTC_6x6_SRGB_BLOCK: u32 = 166;
|
|
pub const VK_FORMAT_ASTC_8x5_UNORM_BLOCK: u32 = 167;
|
|
pub const VK_FORMAT_ASTC_8x5_SRGB_BLOCK: u32 = 168;
|
|
pub const VK_FORMAT_ASTC_8x6_UNORM_BLOCK: u32 = 169;
|
|
pub const VK_FORMAT_ASTC_8x6_SRGB_BLOCK: u32 = 170;
|
|
pub const VK_FORMAT_ASTC_8x8_UNORM_BLOCK: u32 = 171;
|
|
pub const VK_FORMAT_ASTC_8x8_SRGB_BLOCK: u32 = 172;
|
|
pub const VK_FORMAT_ASTC_10x5_UNORM_BLOCK: u32 = 173;
|
|
pub const VK_FORMAT_ASTC_10x5_SRGB_BLOCK: u32 = 174;
|
|
pub const VK_FORMAT_ASTC_10x6_UNORM_BLOCK: u32 = 175;
|
|
pub const VK_FORMAT_ASTC_10x6_SRGB_BLOCK: u32 = 176;
|
|
pub const VK_FORMAT_ASTC_10x8_UNORM_BLOCK: u32 = 177;
|
|
pub const VK_FORMAT_ASTC_10x8_SRGB_BLOCK: u32 = 178;
|
|
pub const VK_FORMAT_ASTC_10x10_UNORM_BLOCK: u32 = 179;
|
|
pub const VK_FORMAT_ASTC_10x10_SRGB_BLOCK: u32 = 180;
|
|
pub const VK_FORMAT_ASTC_12x10_UNORM_BLOCK: u32 = 181;
|
|
pub const VK_FORMAT_ASTC_12x10_SRGB_BLOCK: u32 = 182;
|
|
pub const VK_FORMAT_ASTC_12x12_UNORM_BLOCK: u32 = 183;
|
|
pub const VK_FORMAT_ASTC_12x12_SRGB_BLOCK: u32 = 184;
|
|
pub const VK_FORMAT_G8B8G8R8_422_UNORM: u32 = 1000156000;
|
|
pub const VK_FORMAT_B8G8R8G8_422_UNORM: u32 = 1000156001;
|
|
pub const VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM: u32 = 1000156002;
|
|
pub const VK_FORMAT_G8_B8R8_2PLANE_420_UNORM: u32 = 1000156003;
|
|
pub const VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM: u32 = 1000156004;
|
|
pub const VK_FORMAT_G8_B8R8_2PLANE_422_UNORM: u32 = 1000156005;
|
|
pub const VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM: u32 = 1000156006;
|
|
pub const VK_FORMAT_R10X6_UNORM_PACK16: u32 = 1000156007;
|
|
pub const VK_FORMAT_R10X6G10X6_UNORM_2PACK16: u32 = 1000156008;
|
|
pub const VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16: u32 = 1000156009;
|
|
pub const VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16: u32 = 1000156010;
|
|
pub const VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16: u32 = 1000156011;
|
|
pub const VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16: u32 = 1000156012;
|
|
pub const VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16: u32 = 1000156013;
|
|
pub const VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16: u32 = 1000156014;
|
|
pub const VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16: u32 = 1000156015;
|
|
pub const VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16: u32 = 1000156016;
|
|
pub const VK_FORMAT_R12X4_UNORM_PACK16: u32 = 1000156017;
|
|
pub const VK_FORMAT_R12X4G12X4_UNORM_2PACK16: u32 = 1000156018;
|
|
pub const VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16: u32 = 1000156019;
|
|
pub const VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16: u32 = 1000156020;
|
|
pub const VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16: u32 = 1000156021;
|
|
pub const VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16: u32 = 1000156022;
|
|
pub const VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16: u32 = 1000156023;
|
|
pub const VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16: u32 = 1000156024;
|
|
pub const VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16: u32 = 1000156025;
|
|
pub const VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16: u32 = 1000156026;
|
|
pub const VK_FORMAT_G16B16G16R16_422_UNORM: u32 = 1000156027;
|
|
pub const VK_FORMAT_B16G16R16G16_422_UNORM: u32 = 1000156028;
|
|
pub const VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM: u32 = 1000156029;
|
|
pub const VK_FORMAT_G16_B16R16_2PLANE_420_UNORM: u32 = 1000156030;
|
|
pub const VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM: u32 = 1000156031;
|
|
pub const VK_FORMAT_G16_B16R16_2PLANE_422_UNORM: u32 = 1000156032;
|
|
pub const VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM: u32 = 1000156033;
|
|
pub const VK_FORMAT_G8_B8R8_2PLANE_444_UNORM: u32 = 1000330000;
|
|
pub const VK_FORMAT_G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16: u32 = 1000330001;
|
|
pub const VK_FORMAT_G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16: u32 = 1000330002;
|
|
pub const VK_FORMAT_G16_B16R16_2PLANE_444_UNORM: u32 = 1000330003;
|
|
pub const VK_FORMAT_A4R4G4B4_UNORM_PACK16: u32 = 1000340000;
|
|
pub const VK_FORMAT_A4B4G4R4_UNORM_PACK16: u32 = 1000340001;
|
|
pub const VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK: u32 = 1000066000;
|
|
pub const VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK: u32 = 1000066001;
|
|
pub const VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK: u32 = 1000066002;
|
|
pub const VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK: u32 = 1000066003;
|
|
pub const VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK: u32 = 1000066004;
|
|
pub const VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK: u32 = 1000066005;
|
|
pub const VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK: u32 = 1000066006;
|
|
pub const VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK: u32 = 1000066007;
|
|
pub const VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK: u32 = 1000066008;
|
|
pub const VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK: u32 = 1000066009;
|
|
pub const VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK: u32 = 1000066010;
|
|
pub const VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK: u32 = 1000066011;
|
|
pub const VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK: u32 = 1000066012;
|
|
pub const VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK: u32 = 1000066013;
|
|
pub const VK_FORMAT_A1B5G5R5_UNORM_PACK16: u32 = 1000470000;
|
|
pub const VK_FORMAT_A8_UNORM: u32 = 1000470001;
|
|
|
|
# VkStructureType
|
|
pub const VK_STRUCTURE_TYPE_APPLICATION_INFO: u32 = 0;
|
|
pub const VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO: u32 = 1;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO: u32 = 2;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO: u32 = 3;
|
|
pub const VK_STRUCTURE_TYPE_SUBMIT_INFO: u32 = 4;
|
|
pub const VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO: u32 = 5;
|
|
pub const VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE: u32 = 6;
|
|
pub const VK_STRUCTURE_TYPE_BIND_SPARSE_INFO: u32 = 7;
|
|
pub const VK_STRUCTURE_TYPE_FENCE_CREATE_INFO: u32 = 8;
|
|
pub const VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO: u32 = 9;
|
|
pub const VK_STRUCTURE_TYPE_EVENT_CREATE_INFO: u32 = 10;
|
|
pub const VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO: u32 = 11;
|
|
pub const VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO: u32 = 12;
|
|
pub const VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO: u32 = 13;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO: u32 = 14;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO: u32 = 15;
|
|
pub const VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO: u32 = 16;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO: u32 = 17;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO: u32 = 18;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO: u32 = 19;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO: u32 = 20;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO: u32 = 21;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO: u32 = 22;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO: u32 = 23;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO: u32 = 24;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO: u32 = 25;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO: u32 = 26;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO: u32 = 27;
|
|
pub const VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO: u32 = 28;
|
|
pub const VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO: u32 = 29;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO: u32 = 30;
|
|
pub const VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO: u32 = 31;
|
|
pub const VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO: u32 = 32;
|
|
pub const VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO: u32 = 33;
|
|
pub const VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO: u32 = 34;
|
|
pub const VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET: u32 = 35;
|
|
pub const VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET: u32 = 36;
|
|
pub const VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO: u32 = 37;
|
|
pub const VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO: u32 = 38;
|
|
pub const VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO: u32 = 39;
|
|
pub const VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO: u32 = 40;
|
|
pub const VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO: u32 = 41;
|
|
pub const VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO: u32 = 42;
|
|
pub const VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO: u32 = 43;
|
|
pub const VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER: u32 = 44;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER: u32 = 45;
|
|
pub const VK_STRUCTURE_TYPE_MEMORY_BARRIER: u32 = 46;
|
|
pub const VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO: u32 = 47; #! Reserved for internal use by the loader, layers, and ICDs
|
|
pub const VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO: u32 = 48; #! Reserved for internal use by the loader, layers, and ICDs
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES: u32 = 1000094000;
|
|
pub const VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO: u32 = 1000157000;
|
|
pub const VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO: u32 = 1000157001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES: u32 = 1000083000;
|
|
pub const VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS: u32 = 1000127000;
|
|
pub const VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO: u32 = 1000127001;
|
|
pub const VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO: u32 = 1000060000;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO: u32 = 1000060003;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO: u32 = 1000060004;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO: u32 = 1000060005;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO: u32 = 1000060006;
|
|
pub const VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO: u32 = 1000060013;
|
|
pub const VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO: u32 = 1000060014;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES: u32 = 1000070000;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO: u32 = 1000070001;
|
|
pub const VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2: u32 = 1000146000;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2: u32 = 1000146001;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2: u32 = 1000146002;
|
|
pub const VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2: u32 = 1000146003;
|
|
pub const VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2: u32 = 1000146004;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2: u32 = 1000059000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2: u32 = 1000059001;
|
|
pub const VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2: u32 = 1000059002;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2: u32 = 1000059003;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2: u32 = 1000059004;
|
|
pub const VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2: u32 = 1000059005;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2: u32 = 1000059006;
|
|
pub const VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2: u32 = 1000059007;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2: u32 = 1000059008;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES: u32 = 1000117000;
|
|
pub const VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO: u32 = 1000117001;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO: u32 = 1000117002;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO: u32 = 1000117003;
|
|
pub const VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO: u32 = 1000053000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES: u32 = 1000053001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES: u32 = 1000053002;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES: u32 = 1000120000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES: u32 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES;
|
|
pub const VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO: u32 = 1000145000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES: u32 = 1000145001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES: u32 = 1000145002;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2: u32 = 1000145003;
|
|
pub const VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO: u32 = 1000156000;
|
|
pub const VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO: u32 = 1000156001;
|
|
pub const VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO: u32 = 1000156002;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO: u32 = 1000156003;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES: u32 = 1000156004;
|
|
pub const VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES: u32 = 1000156005;
|
|
pub const VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO: u32 = 1000085000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO: u32 = 1000071000;
|
|
pub const VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES: u32 = 1000071001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO: u32 = 1000071002;
|
|
pub const VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES: u32 = 1000071003;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES: u32 = 1000071004;
|
|
pub const VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO: u32 = 1000072000;
|
|
pub const VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO: u32 = 1000072001;
|
|
pub const VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO: u32 = 1000072002;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO: u32 = 1000112000;
|
|
pub const VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES: u32 = 1000112001;
|
|
pub const VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO: u32 = 1000113000;
|
|
pub const VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO: u32 = 1000077000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO: u32 = 1000076000;
|
|
pub const VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES: u32 = 1000076001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES: u32 = 1000168000;
|
|
pub const VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT: u32 = 1000168001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES: u32 = 1000063000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES: u32 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES: u32 = 49;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES: u32 = 50;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES: u32 = 51;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES: u32 = 52;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO: u32 = 1000147000;
|
|
pub const VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2: u32 = 1000109000;
|
|
pub const VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2: u32 = 1000109001;
|
|
pub const VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2: u32 = 1000109002;
|
|
pub const VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2: u32 = 1000109003;
|
|
pub const VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2: u32 = 1000109004;
|
|
pub const VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO: u32 = 1000109005;
|
|
pub const VK_STRUCTURE_TYPE_SUBPASS_END_INFO: u32 = 1000109006;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES: u32 = 1000177000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES: u32 = 1000196000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES: u32 = 1000180000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES: u32 = 1000082000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES: u32 = 1000197000;
|
|
pub const VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO: u32 = 1000161000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES: u32 = 1000161001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES: u32 = 1000161002;
|
|
pub const VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO: u32 = 1000161003;
|
|
pub const VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT: u32 = 1000161004;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES: u32 = 1000199000;
|
|
pub const VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE: u32 = 1000199001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES: u32 = 1000221000;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO: u32 = 1000246000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES: u32 = 1000130000;
|
|
pub const VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO: u32 = 1000130001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES: u32 = 1000211000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES: u32 = 1000108000;
|
|
pub const VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO: u32 = 1000108001;
|
|
pub const VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO: u32 = 1000108002;
|
|
pub const VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO: u32 = 1000108003;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES: u32 = 1000253000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES: u32 = 1000175000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES: u32 = 1000241000;
|
|
pub const VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT: u32 = 1000241001;
|
|
pub const VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT: u32 = 1000241002;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES: u32 = 1000261000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES: u32 = 1000207000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES: u32 = 1000207001;
|
|
pub const VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO: u32 = 1000207002;
|
|
pub const VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO: u32 = 1000207003;
|
|
pub const VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO: u32 = 1000207004;
|
|
pub const VK_STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO: u32 = 1000207005;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES: u32 = 1000257000;
|
|
pub const VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO: u32 = 1000244001;
|
|
pub const VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO: u32 = 1000257002;
|
|
pub const VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO: u32 = 1000257003;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO: u32 = 1000257004;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES: u32 = 53;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES: u32 = 54;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO: u32 = 1000192000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES: u32 = 1000215000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES: u32 = 1000245000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES: u32 = 1000276000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES: u32 = 1000295000;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO: u32 = 1000295001;
|
|
pub const VK_STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO: u32 = 1000295002;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES: u32 = 1000297000;
|
|
pub const VK_STRUCTURE_TYPE_MEMORY_BARRIER_2: u32 = 1000314000;
|
|
pub const VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2: u32 = 1000314001;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2: u32 = 1000314002;
|
|
pub const VK_STRUCTURE_TYPE_DEPENDENCY_INFO: u32 = 1000314003;
|
|
pub const VK_STRUCTURE_TYPE_SUBMIT_INFO_2: u32 = 1000314004;
|
|
pub const VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO: u32 = 1000314005;
|
|
pub const VK_STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO: u32 = 1000314006;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES: u32 = 1000314007;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES: u32 = 1000325000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES: u32 = 1000335000;
|
|
pub const VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2: u32 = 1000337000;
|
|
pub const VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2: u32 = 1000337001;
|
|
pub const VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2: u32 = 1000337002;
|
|
pub const VK_STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2: u32 = 1000337003;
|
|
pub const VK_STRUCTURE_TYPE_BLIT_IMAGE_INFO_2: u32 = 1000337004;
|
|
pub const VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2: u32 = 1000337005;
|
|
pub const VK_STRUCTURE_TYPE_BUFFER_COPY_2: u32 = 1000337006;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_COPY_2: u32 = 1000337007;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_BLIT_2: u32 = 1000337008;
|
|
pub const VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2: u32 = 1000337009;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2: u32 = 1000337010;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES: u32 = 1000225000;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO: u32 = 1000225001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES: u32 = 1000225002;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES: u32 = 1000138000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES: u32 = 1000138001;
|
|
pub const VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK: u32 = 1000138002;
|
|
pub const VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO: u32 = 1000138003;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES: u32 = 1000066000;
|
|
pub const VK_STRUCTURE_TYPE_RENDERING_INFO: u32 = 1000044000;
|
|
pub const VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO: u32 = 1000044001;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO: u32 = 1000044002;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES: u32 = 1000044003;
|
|
pub const VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO: u32 = 1000044004;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES: u32 = 1000280000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES: u32 = 1000280001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES: u32 = 1000281001;
|
|
pub const VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_3: u32 = 1000360000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES: u32 = 1000413000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES: u32 = 1000413001;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_BUFFER_MEMORY_REQUIREMENTS: u32 = 1000413002;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTS: u32 = 1000413003;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_4_FEATURES: u32 = 55;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_4_PROPERTIES: u32 = 56;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO: u32 = 1000174000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES: u32 = 1000388000;
|
|
pub const VK_STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES: u32 = 1000388001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_ROTATE_FEATURES: u32 = 1000416000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT_CONTROLS_2_FEATURES: u32 = 1000528000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EXPECT_ASSUME_FEATURES: u32 = 1000544000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES: u32 = 1000259000;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO: u32 = 1000259001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES: u32 = 1000259002;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES: u32 = 1000525000;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO: u32 = 1000190001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES: u32 = 1000190002;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES: u32 = 1000265000;
|
|
pub const VK_STRUCTURE_TYPE_MEMORY_MAP_INFO: u32 = 1000271000;
|
|
pub const VK_STRUCTURE_TYPE_MEMORY_UNMAP_INFO: u32 = 1000271001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_FEATURES: u32 = 1000470000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_PROPERTIES: u32 = 1000470001;
|
|
pub const VK_STRUCTURE_TYPE_RENDERING_AREA_INFO: u32 = 1000470003;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_IMAGE_SUBRESOURCE_INFO: u32 = 1000470004;
|
|
pub const VK_STRUCTURE_TYPE_SUBRESOURCE_LAYOUT_2: u32 = 1000338002;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_SUBRESOURCE_2: u32 = 1000338003;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_CREATE_FLAGS_2_CREATE_INFO: u32 = 1000470005;
|
|
pub const VK_STRUCTURE_TYPE_BUFFER_USAGE_FLAGS_2_CREATE_INFO: u32 = 1000470006;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES: u32 = 1000080000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES: u32 = 1000232000;
|
|
pub const VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_LOCATION_INFO: u32 = 1000232001;
|
|
pub const VK_STRUCTURE_TYPE_RENDERING_INPUT_ATTACHMENT_INDEX_INFO: u32 = 1000232002;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_6_FEATURES: u32 = 1000545000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_6_PROPERTIES: u32 = 1000545001;
|
|
pub const VK_STRUCTURE_TYPE_BIND_MEMORY_STATUS: u32 = 1000545002;
|
|
pub const VK_STRUCTURE_TYPE_BIND_DESCRIPTOR_SETS_INFO: u32 = 1000545003;
|
|
pub const VK_STRUCTURE_TYPE_PUSH_CONSTANTS_INFO: u32 = 1000545004;
|
|
pub const VK_STRUCTURE_TYPE_PUSH_DESCRIPTOR_SET_INFO: u32 = 1000545005;
|
|
pub const VK_STRUCTURE_TYPE_PUSH_DESCRIPTOR_SET_WITH_TEMPLATE_INFO: u32 = 1000545006;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROTECTED_ACCESS_FEATURES: u32 = 1000466000;
|
|
pub const VK_STRUCTURE_TYPE_PIPELINE_ROBUSTNESS_CREATE_INFO: u32 = 1000068000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_FEATURES: u32 = 1000068001;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_PROPERTIES: u32 = 1000068002;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_FEATURES: u32 = 1000270000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIES: u32 = 1000270001;
|
|
pub const VK_STRUCTURE_TYPE_MEMORY_TO_IMAGE_COPY: u32 = 1000270002;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_TO_MEMORY_COPY: u32 = 1000270003;
|
|
pub const VK_STRUCTURE_TYPE_COPY_IMAGE_TO_MEMORY_INFO: u32 = 1000270004;
|
|
pub const VK_STRUCTURE_TYPE_COPY_MEMORY_TO_IMAGE_INFO: u32 = 1000270005;
|
|
pub const VK_STRUCTURE_TYPE_HOST_IMAGE_LAYOUT_TRANSITION_INFO: u32 = 1000270006;
|
|
pub const VK_STRUCTURE_TYPE_COPY_IMAGE_TO_IMAGE_INFO: u32 = 1000270007;
|
|
pub const VK_STRUCTURE_TYPE_SUBRESOURCE_HOST_MEMCPY_SIZE: u32 = 1000270008;
|
|
pub const VK_STRUCTURE_TYPE_HOST_IMAGE_COPY_DEVICE_PERFORMANCE_QUERY: u32 = 1000270009;
|
|
pub const VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR: u32 = 1000001000;
|
|
pub const VK_STRUCTURE_TYPE_PRESENT_INFO_KHR: u32 = 1000001001;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR: u32 = 1000060007;
|
|
pub const VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR: u32 = 1000060008;
|
|
pub const VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR: u32 = 1000060009;
|
|
pub const VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR: u32 = 1000060010;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR: u32 = 1000060011;
|
|
pub const VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR: u32 = 1000060012;
|
|
pub const VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR: u32 = 1000002000;
|
|
pub const VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR: u32 = 1000002001;
|
|
pub const VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR: u32 = 1000003000;
|
|
pub const VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR: u32 = 1000119000;
|
|
pub const VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR: u32 = 1000119001;
|
|
pub const VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR: u32 = 1000119002;
|
|
pub const VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR: u32 = 1000121000;
|
|
pub const VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR: u32 = 1000121001;
|
|
pub const VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR: u32 = 1000121002;
|
|
pub const VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR: u32 = 1000121003;
|
|
pub const VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR: u32 = 1000121004;
|
|
pub const VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT: u32 = 1000128000;
|
|
pub const VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT: u32 = 1000128001;
|
|
pub const VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT: u32 = 1000128002;
|
|
pub const VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT: u32 = 1000128003;
|
|
pub const VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT: u32 = 1000128004;
|
|
pub const VK_STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXT: u32 = 1000256000;
|
|
|
|
# VkSubpassContents
|
|
pub const VK_SUBPASS_CONTENTS_INLINE: u32 = 0;
|
|
pub const VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS: u32 = 1;
|
|
|
|
# VkResult
|
|
pub const VK_SUCCESS: i32 = 0; #! Command completed successfully
|
|
pub const VK_NOT_READY: i32 = 1; #! A fence or query has not yet completed
|
|
pub const VK_TIMEOUT: i32 = 2; #! A wait operation has not completed in the specified time
|
|
pub const VK_EVENT_SET: i32 = 3; #! An event is signaled
|
|
pub const VK_EVENT_RESET: i32 = 4; #! An event is unsignaled
|
|
pub const VK_INCOMPLETE: i32 = 5; #! A return array was too small for the result
|
|
pub const VK_ERROR_OUT_OF_HOST_MEMORY: i32 = -1; #! A host memory allocation has failed
|
|
pub const VK_ERROR_OUT_OF_DEVICE_MEMORY: i32 = -2; #! A device memory allocation has failed
|
|
pub const VK_ERROR_INITIALIZATION_FAILED: i32 = -3; #! Initialization of an object has failed
|
|
pub const VK_ERROR_DEVICE_LOST: i32 = -4; #! The logical device has been lost. See <<devsandqueues-lost-device>>
|
|
pub const VK_ERROR_MEMORY_MAP_FAILED: i32 = -5; #! Mapping of a memory object has failed
|
|
pub const VK_ERROR_LAYER_NOT_PRESENT: i32 = -6; #! Layer specified does not exist
|
|
pub const VK_ERROR_EXTENSION_NOT_PRESENT: i32 = -7; #! Extension specified does not exist
|
|
pub const VK_ERROR_FEATURE_NOT_PRESENT: i32 = -8; #! Requested feature is not available on this device
|
|
pub const VK_ERROR_INCOMPATIBLE_DRIVER: i32 = -9; #! Unable to find a Vulkan driver
|
|
pub const VK_ERROR_TOO_MANY_OBJECTS: i32 = -10; #! Too many objects of the type have already been created
|
|
pub const VK_ERROR_FORMAT_NOT_SUPPORTED: i32 = -11; #! Requested format is not supported on this device
|
|
pub const VK_ERROR_FRAGMENTED_POOL: i32 = -12; #! A requested pool allocation has failed due to fragmentation of the pool's memory
|
|
pub const VK_ERROR_UNKNOWN: i32 = -13; #! An unknown error has occurred, due to an implementation or application bug
|
|
pub const VK_ERROR_VALIDATION_FAILED: i32 = -1000011001;
|
|
pub const VK_ERROR_OUT_OF_POOL_MEMORY: i32 = -1000069000;
|
|
pub const VK_ERROR_INVALID_EXTERNAL_HANDLE: i32 = -1000072003;
|
|
pub const VK_ERROR_FRAGMENTATION: i32 = -1000161000;
|
|
pub const VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS: i32 = -1000257000;
|
|
pub const VK_PIPELINE_COMPILE_REQUIRED: i32 = 1000297000;
|
|
pub const VK_ERROR_NOT_PERMITTED: i32 = -1000174001;
|
|
pub const VK_ERROR_SURFACE_LOST_KHR: i32 = -1000000000;
|
|
pub const VK_ERROR_NATIVE_WINDOW_IN_USE_KHR: i32 = -1000000001;
|
|
pub const VK_SUBOPTIMAL_KHR: i32 = 1000001003;
|
|
pub const VK_ERROR_OUT_OF_DATE_KHR: i32 = -1000001004;
|
|
pub const VK_ERROR_INCOMPATIBLE_DISPLAY_KHR: i32 = -1000003001;
|
|
|
|
# VkDynamicState
|
|
pub const VK_DYNAMIC_STATE_VIEWPORT: u32 = 0;
|
|
pub const VK_DYNAMIC_STATE_SCISSOR: u32 = 1;
|
|
pub const VK_DYNAMIC_STATE_LINE_WIDTH: u32 = 2;
|
|
pub const VK_DYNAMIC_STATE_DEPTH_BIAS: u32 = 3;
|
|
pub const VK_DYNAMIC_STATE_BLEND_CONSTANTS: u32 = 4;
|
|
pub const VK_DYNAMIC_STATE_DEPTH_BOUNDS: u32 = 5;
|
|
pub const VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK: u32 = 6;
|
|
pub const VK_DYNAMIC_STATE_STENCIL_WRITE_MASK: u32 = 7;
|
|
pub const VK_DYNAMIC_STATE_STENCIL_REFERENCE: u32 = 8;
|
|
pub const VK_DYNAMIC_STATE_CULL_MODE: u32 = 1000267000;
|
|
pub const VK_DYNAMIC_STATE_FRONT_FACE: u32 = 1000267001;
|
|
pub const VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY: u32 = 1000267002;
|
|
pub const VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT: u32 = 1000267003;
|
|
pub const VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT: u32 = 1000267004;
|
|
pub const VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE: u32 = 1000267005;
|
|
pub const VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE: u32 = 1000267006;
|
|
pub const VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE: u32 = 1000267007;
|
|
pub const VK_DYNAMIC_STATE_DEPTH_COMPARE_OP: u32 = 1000267008;
|
|
pub const VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE: u32 = 1000267009;
|
|
pub const VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE: u32 = 1000267010;
|
|
pub const VK_DYNAMIC_STATE_STENCIL_OP: u32 = 1000267011;
|
|
pub const VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE: u32 = 1000377001;
|
|
pub const VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE: u32 = 1000377002;
|
|
pub const VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE: u32 = 1000377004;
|
|
pub const VK_DYNAMIC_STATE_LINE_STIPPLE: u32 = 1000259000;
|
|
|
|
# VkDescriptorUpdateTemplateType
|
|
pub const VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET: u32 = 0; #! Create descriptor update template for descriptor set updates
|
|
pub const VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS: u32 = 1;
|
|
|
|
# VkObjectType
|
|
pub const VK_OBJECT_TYPE_UNKNOWN: u32 = 0;
|
|
pub const VK_OBJECT_TYPE_INSTANCE: u32 = 1;
|
|
pub const VK_OBJECT_TYPE_PHYSICAL_DEVICE: u32 = 2;
|
|
pub const VK_OBJECT_TYPE_DEVICE: u32 = 3;
|
|
pub const VK_OBJECT_TYPE_QUEUE: u32 = 4;
|
|
pub const VK_OBJECT_TYPE_SEMAPHORE: u32 = 5;
|
|
pub const VK_OBJECT_TYPE_COMMAND_BUFFER: u32 = 6;
|
|
pub const VK_OBJECT_TYPE_FENCE: u32 = 7;
|
|
pub const VK_OBJECT_TYPE_DEVICE_MEMORY: u32 = 8;
|
|
pub const VK_OBJECT_TYPE_BUFFER: u32 = 9;
|
|
pub const VK_OBJECT_TYPE_IMAGE: u32 = 10;
|
|
pub const VK_OBJECT_TYPE_EVENT: u32 = 11;
|
|
pub const VK_OBJECT_TYPE_QUERY_POOL: u32 = 12;
|
|
pub const VK_OBJECT_TYPE_BUFFER_VIEW: u32 = 13;
|
|
pub const VK_OBJECT_TYPE_IMAGE_VIEW: u32 = 14;
|
|
pub const VK_OBJECT_TYPE_SHADER_MODULE: u32 = 15;
|
|
pub const VK_OBJECT_TYPE_PIPELINE_CACHE: u32 = 16;
|
|
pub const VK_OBJECT_TYPE_PIPELINE_LAYOUT: u32 = 17;
|
|
pub const VK_OBJECT_TYPE_RENDER_PASS: u32 = 18;
|
|
pub const VK_OBJECT_TYPE_PIPELINE: u32 = 19;
|
|
pub const VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT: u32 = 20;
|
|
pub const VK_OBJECT_TYPE_SAMPLER: u32 = 21;
|
|
pub const VK_OBJECT_TYPE_DESCRIPTOR_POOL: u32 = 22;
|
|
pub const VK_OBJECT_TYPE_DESCRIPTOR_SET: u32 = 23;
|
|
pub const VK_OBJECT_TYPE_FRAMEBUFFER: u32 = 24;
|
|
pub const VK_OBJECT_TYPE_COMMAND_POOL: u32 = 25;
|
|
pub const VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION: u32 = 1000156000;
|
|
pub const VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE: u32 = 1000085000;
|
|
pub const VK_OBJECT_TYPE_PRIVATE_DATA_SLOT: u32 = 1000295000;
|
|
pub const VK_OBJECT_TYPE_SURFACE_KHR: u32 = 1000000000;
|
|
pub const VK_OBJECT_TYPE_SWAPCHAIN_KHR: u32 = 1000001000;
|
|
pub const VK_OBJECT_TYPE_DISPLAY_KHR: u32 = 1000002000;
|
|
pub const VK_OBJECT_TYPE_DISPLAY_MODE_KHR: u32 = 1000002001;
|
|
pub const VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT: u32 = 1000128000;
|
|
|
|
# VkQueueFlagBits
|
|
pub const VK_QUEUE_GRAPHICS_BIT: u32 = 0x1; #! Queue supports graphics operations
|
|
pub const VK_QUEUE_COMPUTE_BIT: u32 = 0x2; #! Queue supports compute operations
|
|
pub const VK_QUEUE_TRANSFER_BIT: u32 = 0x4; #! Queue supports transfer operations
|
|
pub const VK_QUEUE_SPARSE_BINDING_BIT: u32 = 0x8; #! Queue supports sparse resource memory management operations
|
|
pub const VK_QUEUE_PROTECTED_BIT: u32 = 0x10; #! Queues may support protected operations
|
|
|
|
# VkCullModeFlagBits
|
|
pub const VK_CULL_MODE_NONE: u32 = 0;
|
|
pub const VK_CULL_MODE_FRONT_BIT: u32 = 0x1;
|
|
pub const VK_CULL_MODE_BACK_BIT: u32 = 0x2;
|
|
pub const VK_CULL_MODE_FRONT_AND_BACK: u32 = 0x00000003;
|
|
|
|
# VkDeviceQueueCreateFlagBits
|
|
pub const VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT: u32 = 0x1; #! Queue is a protected-capable device queue
|
|
|
|
# VkMemoryPropertyFlagBits
|
|
pub const VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT: u32 = 0x1; #! If otherwise stated, then allocate memory on device
|
|
pub const VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT: u32 = 0x2; #! Memory is mappable by host
|
|
pub const VK_MEMORY_PROPERTY_HOST_COHERENT_BIT: u32 = 0x4; #! Memory will have i/o coherency. If not set, application may need to use vkFlushMappedMemoryRanges and vkInvalidateMappedMemoryRanges to flush/invalidate host cache
|
|
pub const VK_MEMORY_PROPERTY_HOST_CACHED_BIT: u32 = 0x8; #! Memory will be cached by the host
|
|
pub const VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT: u32 = 0x10; #! Memory may be allocated by the driver when it is required
|
|
pub const VK_MEMORY_PROPERTY_PROTECTED_BIT: u32 = 0x20; #! Memory is protected
|
|
|
|
# VkMemoryHeapFlagBits
|
|
pub const VK_MEMORY_HEAP_DEVICE_LOCAL_BIT: u32 = 0x1; #! If set, heap represents device memory
|
|
pub const VK_MEMORY_HEAP_MULTI_INSTANCE_BIT: u32 = 0x2; #! If set, heap allocations allocate multiple instances by default
|
|
|
|
# VkAccessFlagBits
|
|
pub const VK_ACCESS_INDIRECT_COMMAND_READ_BIT: u32 = 0x1; #! Controls coherency of indirect command reads
|
|
pub const VK_ACCESS_INDEX_READ_BIT: u32 = 0x2; #! Controls coherency of index reads
|
|
pub const VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT: u32 = 0x4; #! Controls coherency of vertex attribute reads
|
|
pub const VK_ACCESS_UNIFORM_READ_BIT: u32 = 0x8; #! Controls coherency of uniform buffer reads
|
|
pub const VK_ACCESS_INPUT_ATTACHMENT_READ_BIT: u32 = 0x10; #! Controls coherency of input attachment reads
|
|
pub const VK_ACCESS_SHADER_READ_BIT: u32 = 0x20; #! Controls coherency of shader reads
|
|
pub const VK_ACCESS_SHADER_WRITE_BIT: u32 = 0x40; #! Controls coherency of shader writes
|
|
pub const VK_ACCESS_COLOR_ATTACHMENT_READ_BIT: u32 = 0x80; #! Controls coherency of color attachment reads
|
|
pub const VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT: u32 = 0x100; #! Controls coherency of color attachment writes
|
|
pub const VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT: u32 = 0x200; #! Controls coherency of depth/stencil attachment reads
|
|
pub const VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT: u32 = 0x400; #! Controls coherency of depth/stencil attachment writes
|
|
pub const VK_ACCESS_TRANSFER_READ_BIT: u32 = 0x800; #! Controls coherency of transfer reads
|
|
pub const VK_ACCESS_TRANSFER_WRITE_BIT: u32 = 0x1000; #! Controls coherency of transfer writes
|
|
pub const VK_ACCESS_HOST_READ_BIT: u32 = 0x2000; #! Controls coherency of host reads
|
|
pub const VK_ACCESS_HOST_WRITE_BIT: u32 = 0x4000; #! Controls coherency of host writes
|
|
pub const VK_ACCESS_MEMORY_READ_BIT: u32 = 0x8000; #! Controls coherency of memory reads
|
|
pub const VK_ACCESS_MEMORY_WRITE_BIT: u32 = 0x10000; #! Controls coherency of memory writes
|
|
pub const VK_ACCESS_NONE: u32 = 0;
|
|
|
|
# VkBufferUsageFlagBits
|
|
pub const VK_BUFFER_USAGE_TRANSFER_SRC_BIT: u32 = 0x1; #! Can be used as a source of transfer operations
|
|
pub const VK_BUFFER_USAGE_TRANSFER_DST_BIT: u32 = 0x2; #! Can be used as a destination of transfer operations
|
|
pub const VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT: u32 = 0x4; #! Can be used as TBO
|
|
pub const VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT: u32 = 0x8; #! Can be used as IBO
|
|
pub const VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT: u32 = 0x10; #! Can be used as UBO
|
|
pub const VK_BUFFER_USAGE_STORAGE_BUFFER_BIT: u32 = 0x20; #! Can be used as SSBO
|
|
pub const VK_BUFFER_USAGE_INDEX_BUFFER_BIT: u32 = 0x40; #! Can be used as source of fixed-function index fetch (index buffer)
|
|
pub const VK_BUFFER_USAGE_VERTEX_BUFFER_BIT: u32 = 0x80; #! Can be used as source of fixed-function vertex fetch (VBO)
|
|
pub const VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT: u32 = 0x100; #! Can be the source of indirect parameters (e.g. indirect buffer, parameter buffer)
|
|
pub const VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT: u32 = 0x20000;
|
|
|
|
# VkBufferUsageFlagBits2
|
|
pub const VK_BUFFER_USAGE_2_TRANSFER_SRC_BIT: u64 = 0x1;
|
|
pub const VK_BUFFER_USAGE_2_TRANSFER_DST_BIT: u64 = 0x2;
|
|
pub const VK_BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT: u64 = 0x4;
|
|
pub const VK_BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT: u64 = 0x8;
|
|
pub const VK_BUFFER_USAGE_2_UNIFORM_BUFFER_BIT: u64 = 0x10;
|
|
pub const VK_BUFFER_USAGE_2_STORAGE_BUFFER_BIT: u64 = 0x20;
|
|
pub const VK_BUFFER_USAGE_2_INDEX_BUFFER_BIT: u64 = 0x40;
|
|
pub const VK_BUFFER_USAGE_2_VERTEX_BUFFER_BIT: u64 = 0x80;
|
|
pub const VK_BUFFER_USAGE_2_INDIRECT_BUFFER_BIT: u64 = 0x100;
|
|
pub const VK_BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT: u64 = 0x20000;
|
|
|
|
# VkBufferCreateFlagBits
|
|
pub const VK_BUFFER_CREATE_SPARSE_BINDING_BIT: u32 = 0x1; #! Buffer should support sparse backing
|
|
pub const VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT: u32 = 0x2; #! Buffer should support sparse backing with partial residency
|
|
pub const VK_BUFFER_CREATE_SPARSE_ALIASED_BIT: u32 = 0x4; #! Buffer should support constant data access to physical memory ranges mapped into multiple locations of sparse buffers
|
|
pub const VK_BUFFER_CREATE_PROTECTED_BIT: u32 = 0x8; #! Buffer requires protected memory
|
|
pub const VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT: u32 = 0x10;
|
|
|
|
# VkShaderStageFlagBits
|
|
pub const VK_SHADER_STAGE_VERTEX_BIT: u32 = 0x1;
|
|
pub const VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT: u32 = 0x2;
|
|
pub const VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT: u32 = 0x4;
|
|
pub const VK_SHADER_STAGE_GEOMETRY_BIT: u32 = 0x8;
|
|
pub const VK_SHADER_STAGE_FRAGMENT_BIT: u32 = 0x10;
|
|
pub const VK_SHADER_STAGE_COMPUTE_BIT: u32 = 0x20;
|
|
pub const VK_SHADER_STAGE_ALL_GRAPHICS: u32 = 0x0000001F;
|
|
pub const VK_SHADER_STAGE_ALL: u32 = 0x7FFFFFFF;
|
|
|
|
# VkImageUsageFlagBits
|
|
pub const VK_IMAGE_USAGE_TRANSFER_SRC_BIT: u32 = 0x1; #! Can be used as a source of transfer operations
|
|
pub const VK_IMAGE_USAGE_TRANSFER_DST_BIT: u32 = 0x2; #! Can be used as a destination of transfer operations
|
|
pub const VK_IMAGE_USAGE_SAMPLED_BIT: u32 = 0x4; #! Can be sampled from (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)
|
|
pub const VK_IMAGE_USAGE_STORAGE_BIT: u32 = 0x8; #! Can be used as storage image (STORAGE_IMAGE descriptor type)
|
|
pub const VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT: u32 = 0x10; #! Can be used as framebuffer color attachment
|
|
pub const VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT: u32 = 0x20; #! Can be used as framebuffer depth/stencil attachment
|
|
pub const VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT: u32 = 0x40; #! Image data not needed outside of rendering
|
|
pub const VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT: u32 = 0x80; #! Can be used as framebuffer input attachment
|
|
pub const VK_IMAGE_USAGE_HOST_TRANSFER_BIT: u32 = 0x400000;
|
|
|
|
# VkImageCreateFlagBits
|
|
pub const VK_IMAGE_CREATE_SPARSE_BINDING_BIT: u32 = 0x1; #! Image should support sparse backing
|
|
pub const VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT: u32 = 0x2; #! Image should support sparse backing with partial residency
|
|
pub const VK_IMAGE_CREATE_SPARSE_ALIASED_BIT: u32 = 0x4; #! Image should support constant data access to physical memory ranges mapped into multiple locations of sparse images
|
|
pub const VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT: u32 = 0x8; #! Allows image views to have different format than the base image
|
|
pub const VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT: u32 = 0x10; #! Allows creating image views with cube type from the created image
|
|
pub const VK_IMAGE_CREATE_ALIAS_BIT: u32 = 0x400;
|
|
pub const VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT: u32 = 0x40; #! Allows using VkBindImageMemoryDeviceGroupInfo::pSplitInstanceBindRegions when binding memory to the image
|
|
pub const VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT: u32 = 0x20; #! The 3D image can be viewed as a 2D or 2D array image
|
|
pub const VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT: u32 = 0x80;
|
|
pub const VK_IMAGE_CREATE_EXTENDED_USAGE_BIT: u32 = 0x100;
|
|
pub const VK_IMAGE_CREATE_PROTECTED_BIT: u32 = 0x800; #! Image requires protected memory
|
|
pub const VK_IMAGE_CREATE_DISJOINT_BIT: u32 = 0x200;
|
|
|
|
# VkPipelineCreateFlagBits
|
|
pub const VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT: u32 = 0x1;
|
|
pub const VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT: u32 = 0x2;
|
|
pub const VK_PIPELINE_CREATE_DERIVATIVE_BIT: u32 = 0x4;
|
|
pub const VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT: u32 = 0x8;
|
|
pub const VK_PIPELINE_CREATE_DISPATCH_BASE_BIT: u32 = 0x10;
|
|
pub const VK_PIPELINE_CREATE_DISPATCH_BASE: u32 = VK_PIPELINE_CREATE_DISPATCH_BASE_BIT;
|
|
pub const VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT: u32 = 0x100;
|
|
pub const VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT: u32 = 0x200;
|
|
pub const VK_PIPELINE_CREATE_NO_PROTECTED_ACCESS_BIT: u32 = 0x8000000;
|
|
pub const VK_PIPELINE_CREATE_PROTECTED_ACCESS_ONLY_BIT: u32 = 0x40000000;
|
|
|
|
# VkPipelineCreateFlagBits2
|
|
pub const VK_PIPELINE_CREATE_2_DISABLE_OPTIMIZATION_BIT: u64 = 0x1;
|
|
pub const VK_PIPELINE_CREATE_2_ALLOW_DERIVATIVES_BIT: u64 = 0x2;
|
|
pub const VK_PIPELINE_CREATE_2_DERIVATIVE_BIT: u64 = 0x4;
|
|
pub const VK_PIPELINE_CREATE_2_VIEW_INDEX_FROM_DEVICE_INDEX_BIT: u64 = 0x8;
|
|
pub const VK_PIPELINE_CREATE_2_DISPATCH_BASE_BIT: u64 = 0x10;
|
|
pub const VK_PIPELINE_CREATE_2_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT: u64 = 0x100;
|
|
pub const VK_PIPELINE_CREATE_2_EARLY_RETURN_ON_FAILURE_BIT: u64 = 0x200;
|
|
pub const VK_PIPELINE_CREATE_2_NO_PROTECTED_ACCESS_BIT: u64 = 0x8000000;
|
|
pub const VK_PIPELINE_CREATE_2_PROTECTED_ACCESS_ONLY_BIT: u64 = 0x40000000;
|
|
|
|
# VkPipelineShaderStageCreateFlagBits
|
|
pub const VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT: u32 = 0x1;
|
|
pub const VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT: u32 = 0x2;
|
|
|
|
# VkColorComponentFlagBits
|
|
pub const VK_COLOR_COMPONENT_R_BIT: u32 = 0x1;
|
|
pub const VK_COLOR_COMPONENT_G_BIT: u32 = 0x2;
|
|
pub const VK_COLOR_COMPONENT_B_BIT: u32 = 0x4;
|
|
pub const VK_COLOR_COMPONENT_A_BIT: u32 = 0x8;
|
|
|
|
# VkFenceCreateFlagBits
|
|
pub const VK_FENCE_CREATE_SIGNALED_BIT: u32 = 0x1;
|
|
|
|
# VkFormatFeatureFlagBits
|
|
pub const VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT: u32 = 0x1; #! Format can be used for sampled images (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)
|
|
pub const VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT: u32 = 0x2; #! Format can be used for storage images (STORAGE_IMAGE descriptor type)
|
|
pub const VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT: u32 = 0x4; #! Format supports atomic operations in case it is used for storage images
|
|
pub const VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT: u32 = 0x8; #! Format can be used for uniform texel buffers (TBOs)
|
|
pub const VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT: u32 = 0x10; #! Format can be used for storage texel buffers (IBOs)
|
|
pub const VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT: u32 = 0x20; #! Format supports atomic operations in case it is used for storage texel buffers
|
|
pub const VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT: u32 = 0x40; #! Format can be used for vertex buffers (VBOs)
|
|
pub const VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT: u32 = 0x80; #! Format can be used for color attachment images
|
|
pub const VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT: u32 = 0x100; #! Format supports blending in case it is used for color attachment images
|
|
pub const VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT: u32 = 0x200; #! Format can be used for depth/stencil attachment images
|
|
pub const VK_FORMAT_FEATURE_BLIT_SRC_BIT: u32 = 0x400; #! Format can be used as the source image of blits with vkCmdBlitImage
|
|
pub const VK_FORMAT_FEATURE_BLIT_DST_BIT: u32 = 0x800; #! Format can be used as the destination image of blits with vkCmdBlitImage
|
|
pub const VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT: u32 = 0x1000; #! Format can be filtered with VK_FILTER_LINEAR when being sampled
|
|
pub const VK_FORMAT_FEATURE_TRANSFER_SRC_BIT: u32 = 0x4000; #! Format can be used as the source image of image transfer commands
|
|
pub const VK_FORMAT_FEATURE_TRANSFER_DST_BIT: u32 = 0x8000; #! Format can be used as the destination image of image transfer commands
|
|
pub const VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT: u32 = 0x20000; #! Format can have midpoint rather than cosited chroma samples
|
|
pub const VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT: u32 = 0x40000; #! Format can be used with linear filtering whilst color conversion is enabled
|
|
pub const VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT: u32 = 0x80000; #! Format can have different chroma, min and mag filters
|
|
pub const VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT: u32 = 0x100000;
|
|
pub const VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT: u32 = 0x200000;
|
|
pub const VK_FORMAT_FEATURE_DISJOINT_BIT: u32 = 0x400000; #! Format supports disjoint planes
|
|
pub const VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT: u32 = 0x800000; #! Format can have cosited rather than midpoint chroma samples
|
|
pub const VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT: u32 = 0x10000; #! Format can be used with min/max reduction filtering
|
|
|
|
# VkQueryControlFlagBits
|
|
pub const VK_QUERY_CONTROL_PRECISE_BIT: u32 = 0x1; #! Require precise results to be collected by the query
|
|
|
|
# VkQueryResultFlagBits
|
|
pub const VK_QUERY_RESULT_64_BIT: u32 = 0x1; #! Results of the queries are written to the destination buffer as 64-bit values
|
|
pub const VK_QUERY_RESULT_WAIT_BIT: u32 = 0x2; #! Results of the queries are waited on before proceeding with the result copy
|
|
pub const VK_QUERY_RESULT_WITH_AVAILABILITY_BIT: u32 = 0x4; #! Besides the results of the query, the availability of the results is also written
|
|
pub const VK_QUERY_RESULT_PARTIAL_BIT: u32 = 0x8; #! Copy the partial results of the query even if the final results are not available
|
|
|
|
# VkCommandBufferUsageFlagBits
|
|
pub const VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT: u32 = 0x1;
|
|
pub const VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT: u32 = 0x2;
|
|
pub const VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT: u32 = 0x4; #! Command buffer may be submitted/executed more than once simultaneously
|
|
|
|
# VkQueryPipelineStatisticFlagBits
|
|
pub const VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT: u32 = 0x1; #! Optional
|
|
pub const VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT: u32 = 0x2; #! Optional
|
|
pub const VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT: u32 = 0x4; #! Optional
|
|
pub const VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT: u32 = 0x8; #! Optional
|
|
pub const VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT: u32 = 0x10; #! Optional
|
|
pub const VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT: u32 = 0x20; #! Optional
|
|
pub const VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT: u32 = 0x40; #! Optional
|
|
pub const VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT: u32 = 0x80; #! Optional
|
|
pub const VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT: u32 = 0x100; #! Optional
|
|
pub const VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT: u32 = 0x200; #! Optional
|
|
pub const VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT: u32 = 0x400; #! Optional
|
|
|
|
# VkImageAspectFlagBits
|
|
pub const VK_IMAGE_ASPECT_COLOR_BIT: u32 = 0x1;
|
|
pub const VK_IMAGE_ASPECT_DEPTH_BIT: u32 = 0x2;
|
|
pub const VK_IMAGE_ASPECT_STENCIL_BIT: u32 = 0x4;
|
|
pub const VK_IMAGE_ASPECT_METADATA_BIT: u32 = 0x8;
|
|
pub const VK_IMAGE_ASPECT_PLANE_0_BIT: u32 = 0x10;
|
|
pub const VK_IMAGE_ASPECT_PLANE_1_BIT: u32 = 0x20;
|
|
pub const VK_IMAGE_ASPECT_PLANE_2_BIT: u32 = 0x40;
|
|
pub const VK_IMAGE_ASPECT_NONE: u32 = 0;
|
|
|
|
# VkSparseImageFormatFlagBits
|
|
pub const VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT: u32 = 0x1; #! Image uses a single mip tail region for all array layers
|
|
pub const VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT: u32 = 0x2; #! Image requires mip level dimensions to be an integer multiple of the sparse image block dimensions for non-tail mip levels.
|
|
pub const VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT: u32 = 0x4; #! Image uses a non-standard sparse image block dimensions
|
|
|
|
# VkSparseMemoryBindFlagBits
|
|
pub const VK_SPARSE_MEMORY_BIND_METADATA_BIT: u32 = 0x1; #! Operation binds resource metadata to memory
|
|
|
|
# VkPipelineStageFlagBits
|
|
pub const VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT: u32 = 0x1; #! Before subsequent commands are processed
|
|
pub const VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT: u32 = 0x2; #! Draw/DispatchIndirect command fetch
|
|
pub const VK_PIPELINE_STAGE_VERTEX_INPUT_BIT: u32 = 0x4; #! Vertex/index fetch
|
|
pub const VK_PIPELINE_STAGE_VERTEX_SHADER_BIT: u32 = 0x8; #! Vertex shading
|
|
pub const VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT: u32 = 0x10; #! Tessellation control shading
|
|
pub const VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT: u32 = 0x20; #! Tessellation evaluation shading
|
|
pub const VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT: u32 = 0x40; #! Geometry shading
|
|
pub const VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT: u32 = 0x80; #! Fragment shading
|
|
pub const VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT: u32 = 0x100; #! Early fragment (depth and stencil) tests
|
|
pub const VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT: u32 = 0x200; #! Late fragment (depth and stencil) tests
|
|
pub const VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT: u32 = 0x400; #! Color attachment writes
|
|
pub const VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT: u32 = 0x800; #! Compute shading
|
|
pub const VK_PIPELINE_STAGE_TRANSFER_BIT: u32 = 0x1000; #! Transfer/copy operations
|
|
pub const VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT: u32 = 0x2000; #! After previous commands have completed
|
|
pub const VK_PIPELINE_STAGE_HOST_BIT: u32 = 0x4000; #! Indicates host (CPU) is a source/sink of the dependency
|
|
pub const VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT: u32 = 0x8000; #! All stages of the graphics pipeline
|
|
pub const VK_PIPELINE_STAGE_ALL_COMMANDS_BIT: u32 = 0x10000; #! All stages supported on the queue
|
|
pub const VK_PIPELINE_STAGE_NONE: u32 = 0;
|
|
|
|
# VkCommandPoolCreateFlagBits
|
|
pub const VK_COMMAND_POOL_CREATE_TRANSIENT_BIT: u32 = 0x1; #! Command buffers have a short lifetime
|
|
pub const VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT: u32 = 0x2; #! Command buffers may release their memory individually
|
|
pub const VK_COMMAND_POOL_CREATE_PROTECTED_BIT: u32 = 0x4; #! Command buffers allocated from pool are protected command buffers
|
|
|
|
# VkCommandPoolResetFlagBits
|
|
pub const VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT: u32 = 0x1; #! Release resources owned by the pool
|
|
|
|
# VkCommandBufferResetFlagBits
|
|
pub const VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT: u32 = 0x1; #! Release resources owned by the buffer
|
|
|
|
# VkSampleCountFlagBits
|
|
pub const VK_SAMPLE_COUNT_1_BIT: u32 = 0x1; #! Sample count 1 supported
|
|
pub const VK_SAMPLE_COUNT_2_BIT: u32 = 0x2; #! Sample count 2 supported
|
|
pub const VK_SAMPLE_COUNT_4_BIT: u32 = 0x4; #! Sample count 4 supported
|
|
pub const VK_SAMPLE_COUNT_8_BIT: u32 = 0x8; #! Sample count 8 supported
|
|
pub const VK_SAMPLE_COUNT_16_BIT: u32 = 0x10; #! Sample count 16 supported
|
|
pub const VK_SAMPLE_COUNT_32_BIT: u32 = 0x20; #! Sample count 32 supported
|
|
pub const VK_SAMPLE_COUNT_64_BIT: u32 = 0x40; #! Sample count 64 supported
|
|
|
|
# VkAttachmentDescriptionFlagBits
|
|
pub const VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT: u32 = 0x1; #! The attachment may alias physical memory of another attachment in the same render pass
|
|
|
|
# VkStencilFaceFlagBits
|
|
pub const VK_STENCIL_FACE_FRONT_BIT: u32 = 0x1; #! Front face
|
|
pub const VK_STENCIL_FACE_BACK_BIT: u32 = 0x2; #! Back face
|
|
pub const VK_STENCIL_FACE_FRONT_AND_BACK: u32 = 0x00000003; #! Front and back faces
|
|
pub const VK_STENCIL_FRONT_AND_BACK: u32 = VK_STENCIL_FACE_FRONT_AND_BACK;
|
|
|
|
# VkDescriptorPoolCreateFlagBits
|
|
pub const VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT: u32 = 0x1; #! Descriptor sets may be freed individually
|
|
pub const VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT: u32 = 0x2;
|
|
|
|
# VkDependencyFlagBits
|
|
pub const VK_DEPENDENCY_BY_REGION_BIT: u32 = 0x1; #! Dependency is per pixel region
|
|
pub const VK_DEPENDENCY_DEVICE_GROUP_BIT: u32 = 0x4; #! Dependency is across devices
|
|
pub const VK_DEPENDENCY_VIEW_LOCAL_BIT: u32 = 0x2;
|
|
|
|
# VkSemaphoreType
|
|
pub const VK_SEMAPHORE_TYPE_BINARY: u32 = 0;
|
|
pub const VK_SEMAPHORE_TYPE_TIMELINE: u32 = 1;
|
|
|
|
# VkSemaphoreWaitFlagBits
|
|
pub const VK_SEMAPHORE_WAIT_ANY_BIT: u32 = 0x1;
|
|
|
|
# VkPresentModeKHR
|
|
pub const VK_PRESENT_MODE_IMMEDIATE_KHR: u32 = 0;
|
|
pub const VK_PRESENT_MODE_MAILBOX_KHR: u32 = 1;
|
|
pub const VK_PRESENT_MODE_FIFO_KHR: u32 = 2;
|
|
pub const VK_PRESENT_MODE_FIFO_RELAXED_KHR: u32 = 3;
|
|
|
|
# VkColorSpaceKHR
|
|
pub const VK_COLOR_SPACE_SRGB_NONLINEAR_KHR: u32 = 0;
|
|
pub const VK_COLORSPACE_SRGB_NONLINEAR_KHR: u32 = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR;
|
|
|
|
# VkDisplayPlaneAlphaFlagBitsKHR
|
|
pub const VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR: u32 = 0x1;
|
|
pub const VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR: u32 = 0x2;
|
|
pub const VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR: u32 = 0x4;
|
|
pub const VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR: u32 = 0x8;
|
|
|
|
# VkCompositeAlphaFlagBitsKHR
|
|
pub const VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR: u32 = 0x1;
|
|
pub const VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR: u32 = 0x2;
|
|
pub const VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR: u32 = 0x4;
|
|
pub const VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR: u32 = 0x8;
|
|
|
|
# VkSurfaceTransformFlagBitsKHR
|
|
pub const VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR: u32 = 0x1;
|
|
pub const VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR: u32 = 0x2;
|
|
pub const VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR: u32 = 0x4;
|
|
pub const VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR: u32 = 0x8;
|
|
pub const VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR: u32 = 0x10;
|
|
pub const VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR: u32 = 0x20;
|
|
pub const VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR: u32 = 0x40;
|
|
pub const VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR: u32 = 0x80;
|
|
pub const VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR: u32 = 0x100;
|
|
|
|
# VkSubgroupFeatureFlagBits
|
|
pub const VK_SUBGROUP_FEATURE_BASIC_BIT: u32 = 0x1; #! Basic subgroup operations
|
|
pub const VK_SUBGROUP_FEATURE_VOTE_BIT: u32 = 0x2; #! Vote subgroup operations
|
|
pub const VK_SUBGROUP_FEATURE_ARITHMETIC_BIT: u32 = 0x4; #! Arithmetic subgroup operations
|
|
pub const VK_SUBGROUP_FEATURE_BALLOT_BIT: u32 = 0x8; #! Ballot subgroup operations
|
|
pub const VK_SUBGROUP_FEATURE_SHUFFLE_BIT: u32 = 0x10; #! Shuffle subgroup operations
|
|
pub const VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT: u32 = 0x20; #! Shuffle relative subgroup operations
|
|
pub const VK_SUBGROUP_FEATURE_CLUSTERED_BIT: u32 = 0x40; #! Clustered subgroup operations
|
|
pub const VK_SUBGROUP_FEATURE_QUAD_BIT: u32 = 0x80; #! Quad subgroup operations
|
|
pub const VK_SUBGROUP_FEATURE_ROTATE_BIT: u32 = 0x200;
|
|
pub const VK_SUBGROUP_FEATURE_ROTATE_CLUSTERED_BIT: u32 = 0x400;
|
|
|
|
# VkDescriptorSetLayoutCreateFlagBits
|
|
pub const VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT: u32 = 0x2;
|
|
pub const VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT: u32 = 0x1;
|
|
|
|
# VkExternalMemoryHandleTypeFlagBits
|
|
pub const VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT: u32 = 0x1;
|
|
pub const VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT: u32 = 0x2;
|
|
pub const VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT: u32 = 0x4;
|
|
pub const VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT: u32 = 0x8;
|
|
pub const VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT: u32 = 0x10;
|
|
pub const VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT: u32 = 0x20;
|
|
pub const VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT: u32 = 0x40;
|
|
|
|
# VkExternalMemoryFeatureFlagBits
|
|
pub const VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT: u32 = 0x1;
|
|
pub const VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT: u32 = 0x2;
|
|
pub const VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT: u32 = 0x4;
|
|
|
|
# VkExternalSemaphoreHandleTypeFlagBits
|
|
pub const VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT: u32 = 0x1;
|
|
pub const VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT: u32 = 0x2;
|
|
pub const VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT: u32 = 0x4;
|
|
pub const VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT: u32 = 0x8;
|
|
pub const VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE_BIT: u32 = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT;
|
|
pub const VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT: u32 = 0x10;
|
|
|
|
# VkExternalSemaphoreFeatureFlagBits
|
|
pub const VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT: u32 = 0x1;
|
|
pub const VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT: u32 = 0x2;
|
|
|
|
# VkSemaphoreImportFlagBits
|
|
pub const VK_SEMAPHORE_IMPORT_TEMPORARY_BIT: u32 = 0x1;
|
|
|
|
# VkExternalFenceHandleTypeFlagBits
|
|
pub const VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT: u32 = 0x1;
|
|
pub const VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT: u32 = 0x2;
|
|
pub const VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT: u32 = 0x4;
|
|
pub const VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT: u32 = 0x8;
|
|
|
|
# VkExternalFenceFeatureFlagBits
|
|
pub const VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT: u32 = 0x1;
|
|
pub const VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT: u32 = 0x2;
|
|
|
|
# VkFenceImportFlagBits
|
|
pub const VK_FENCE_IMPORT_TEMPORARY_BIT: u32 = 0x1;
|
|
|
|
# VkPeerMemoryFeatureFlagBits
|
|
pub const VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT: u32 = 0x1; #! Can read with vkCmdCopy commands
|
|
pub const VK_PEER_MEMORY_FEATURE_COPY_DST_BIT: u32 = 0x2; #! Can write with vkCmdCopy commands
|
|
pub const VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT: u32 = 0x4; #! Can read with any access type/command
|
|
pub const VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT: u32 = 0x8; #! Can write with and access type/command
|
|
|
|
# VkMemoryAllocateFlagBits
|
|
pub const VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT: u32 = 0x1; #! Force allocation on specific devices
|
|
pub const VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT: u32 = 0x2;
|
|
pub const VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT: u32 = 0x4;
|
|
|
|
# VkDeviceGroupPresentModeFlagBitsKHR
|
|
pub const VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR: u32 = 0x1; #! Present from local memory
|
|
pub const VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR: u32 = 0x2; #! Present from remote memory
|
|
pub const VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR: u32 = 0x4; #! Present sum of local and/or remote memory
|
|
pub const VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR: u32 = 0x8; #! Each physical device presents from local memory
|
|
|
|
# VkSwapchainCreateFlagBitsKHR
|
|
pub const VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR: u32 = 0x1; #! Allow images with VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT
|
|
pub const VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR: u32 = 0x2; #! Swapchain is protected
|
|
|
|
# VkPointClippingBehavior
|
|
pub const VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES: u32 = 0;
|
|
pub const VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY: u32 = 1;
|
|
|
|
# VkSamplerReductionMode
|
|
pub const VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE: u32 = 0;
|
|
pub const VK_SAMPLER_REDUCTION_MODE_MIN: u32 = 1;
|
|
pub const VK_SAMPLER_REDUCTION_MODE_MAX: u32 = 2;
|
|
|
|
# VkTessellationDomainOrigin
|
|
pub const VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT: u32 = 0;
|
|
pub const VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT: u32 = 1;
|
|
|
|
# VkSamplerYcbcrModelConversion
|
|
pub const VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY: u32 = 0;
|
|
pub const VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY: u32 = 1; #! just range expansion
|
|
pub const VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709: u32 = 2; #! aka HD YUV
|
|
pub const VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601: u32 = 3; #! aka SD YUV
|
|
pub const VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020: u32 = 4; #! aka UHD YUV
|
|
|
|
# VkSamplerYcbcrRange
|
|
pub const VK_SAMPLER_YCBCR_RANGE_ITU_FULL: u32 = 0; #! Luma 0..1 maps to 0..255, chroma -0.5..0.5 to 1..255 (clamped)
|
|
pub const VK_SAMPLER_YCBCR_RANGE_ITU_NARROW: u32 = 1; #! Luma 0..1 maps to 16..235, chroma -0.5..0.5 to 16..240
|
|
|
|
# VkChromaLocation
|
|
pub const VK_CHROMA_LOCATION_COSITED_EVEN: u32 = 0;
|
|
pub const VK_CHROMA_LOCATION_MIDPOINT: u32 = 1;
|
|
|
|
# VkQueueGlobalPriority
|
|
pub const VK_QUEUE_GLOBAL_PRIORITY_LOW: u32 = 128;
|
|
pub const VK_QUEUE_GLOBAL_PRIORITY_MEDIUM: u32 = 256;
|
|
pub const VK_QUEUE_GLOBAL_PRIORITY_HIGH: u32 = 512;
|
|
pub const VK_QUEUE_GLOBAL_PRIORITY_REALTIME: u32 = 1024;
|
|
|
|
# VkDebugUtilsMessageSeverityFlagBitsEXT
|
|
pub const VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT: u32 = 0x1;
|
|
pub const VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT: u32 = 0x10;
|
|
pub const VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT: u32 = 0x100;
|
|
pub const VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT: u32 = 0x1000;
|
|
|
|
# VkDebugUtilsMessageTypeFlagBitsEXT
|
|
pub const VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT: u32 = 0x1;
|
|
pub const VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT: u32 = 0x2;
|
|
pub const VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT: u32 = 0x4;
|
|
|
|
# VkDescriptorBindingFlagBits
|
|
pub const VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT: u32 = 0x1;
|
|
pub const VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT: u32 = 0x2;
|
|
pub const VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT: u32 = 0x4;
|
|
pub const VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT: u32 = 0x8;
|
|
|
|
# VkVendorId
|
|
pub const VK_VENDOR_ID_KHRONOS: u32 = 0x10000; #! Khronos vendor ID
|
|
pub const VK_VENDOR_ID_VIV: u32 = 0x10001; #! Vivante vendor ID
|
|
pub const VK_VENDOR_ID_VSI: u32 = 0x10002; #! VeriSilicon vendor ID
|
|
pub const VK_VENDOR_ID_KAZAN: u32 = 0x10003; #! Kazan Software Renderer
|
|
pub const VK_VENDOR_ID_CODEPLAY: u32 = 0x10004; #! Codeplay Software Ltd. vendor ID
|
|
pub const VK_VENDOR_ID_MESA: u32 = 0x10005; #! Mesa vendor ID
|
|
pub const VK_VENDOR_ID_POCL: u32 = 0x10006; #! PoCL vendor ID
|
|
pub const VK_VENDOR_ID_MOBILEYE: u32 = 0x10007; #! Mobileye vendor ID
|
|
|
|
# VkDriverId
|
|
pub const VK_DRIVER_ID_AMD_PROPRIETARY: u32 = 1; #! Advanced Micro Devices, Inc.
|
|
pub const VK_DRIVER_ID_AMD_OPEN_SOURCE: u32 = 2; #! Advanced Micro Devices, Inc.
|
|
pub const VK_DRIVER_ID_MESA_RADV: u32 = 3; #! Mesa open source project
|
|
pub const VK_DRIVER_ID_NVIDIA_PROPRIETARY: u32 = 4; #! NVIDIA Corporation
|
|
pub const VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS: u32 = 5; #! Intel Corporation
|
|
pub const VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA: u32 = 6; #! Intel Corporation
|
|
pub const VK_DRIVER_ID_IMAGINATION_PROPRIETARY: u32 = 7; #! Imagination Technologies
|
|
pub const VK_DRIVER_ID_QUALCOMM_PROPRIETARY: u32 = 8; #! Qualcomm Technologies, Inc.
|
|
pub const VK_DRIVER_ID_ARM_PROPRIETARY: u32 = 9; #! Arm Limited
|
|
pub const VK_DRIVER_ID_GOOGLE_SWIFTSHADER: u32 = 10; #! Google LLC
|
|
pub const VK_DRIVER_ID_GGP_PROPRIETARY: u32 = 11; #! Google LLC
|
|
pub const VK_DRIVER_ID_BROADCOM_PROPRIETARY: u32 = 12; #! Broadcom Inc.
|
|
pub const VK_DRIVER_ID_MESA_LLVMPIPE: u32 = 13; #! Mesa
|
|
pub const VK_DRIVER_ID_MOLTENVK: u32 = 14; #! MoltenVK
|
|
pub const VK_DRIVER_ID_COREAVI_PROPRIETARY: u32 = 15; #! Core Avionics & Industrial Inc.
|
|
pub const VK_DRIVER_ID_JUICE_PROPRIETARY: u32 = 16; #! Juice Technologies, Inc.
|
|
pub const VK_DRIVER_ID_VERISILICON_PROPRIETARY: u32 = 17; #! Verisilicon, Inc.
|
|
pub const VK_DRIVER_ID_MESA_TURNIP: u32 = 18; #! Mesa open source project
|
|
pub const VK_DRIVER_ID_MESA_V3DV: u32 = 19; #! Mesa open source project
|
|
pub const VK_DRIVER_ID_MESA_PANVK: u32 = 20; #! Mesa open source project
|
|
pub const VK_DRIVER_ID_SAMSUNG_PROPRIETARY: u32 = 21; #! Samsung Electronics Co., Ltd.
|
|
pub const VK_DRIVER_ID_MESA_VENUS: u32 = 22; #! Mesa open source project
|
|
pub const VK_DRIVER_ID_MESA_DOZEN: u32 = 23; #! Mesa open source project
|
|
pub const VK_DRIVER_ID_MESA_NVK: u32 = 24; #! Mesa open source project
|
|
pub const VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA: u32 = 25; #! Imagination Technologies
|
|
pub const VK_DRIVER_ID_MESA_HONEYKRISP: u32 = 26; #! Mesa open source project
|
|
pub const VK_DRIVER_ID_VULKAN_SC_EMULATION_ON_VULKAN: u32 = 27; #! Vulkan SC Emulation on Vulkan
|
|
|
|
# VkResolveModeFlagBits
|
|
pub const VK_RESOLVE_MODE_NONE: u32 = 0;
|
|
pub const VK_RESOLVE_MODE_SAMPLE_ZERO_BIT: u32 = 0x1;
|
|
pub const VK_RESOLVE_MODE_AVERAGE_BIT: u32 = 0x2;
|
|
pub const VK_RESOLVE_MODE_MIN_BIT: u32 = 0x4;
|
|
pub const VK_RESOLVE_MODE_MAX_BIT: u32 = 0x8;
|
|
|
|
# VkFramebufferCreateFlagBits
|
|
pub const VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT: u32 = 0x1;
|
|
|
|
# VkPipelineCreationFeedbackFlagBits
|
|
pub const VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT: u32 = 0x1;
|
|
pub const VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT: u32 = 0x2;
|
|
pub const VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT: u32 = 0x4;
|
|
|
|
# VkShaderFloatControlsIndependence
|
|
pub const VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY: u32 = 0;
|
|
pub const VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL: u32 = 1;
|
|
pub const VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE: u32 = 2;
|
|
|
|
# VkLineRasterizationMode
|
|
pub const VK_LINE_RASTERIZATION_MODE_DEFAULT: u32 = 0;
|
|
pub const VK_LINE_RASTERIZATION_MODE_RECTANGULAR: u32 = 1;
|
|
pub const VK_LINE_RASTERIZATION_MODE_BRESENHAM: u32 = 2;
|
|
pub const VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH: u32 = 3;
|
|
|
|
# VkToolPurposeFlagBits
|
|
pub const VK_TOOL_PURPOSE_VALIDATION_BIT: u32 = 0x1;
|
|
pub const VK_TOOL_PURPOSE_PROFILING_BIT: u32 = 0x2;
|
|
pub const VK_TOOL_PURPOSE_TRACING_BIT: u32 = 0x4;
|
|
pub const VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT: u32 = 0x8;
|
|
pub const VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT: u32 = 0x10;
|
|
|
|
# VkAccessFlagBits2
|
|
pub const VK_ACCESS_2_NONE: u64 = 0;
|
|
pub const VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT: u64 = 0x1;
|
|
pub const VK_ACCESS_2_INDEX_READ_BIT: u64 = 0x2;
|
|
pub const VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT: u64 = 0x4;
|
|
pub const VK_ACCESS_2_UNIFORM_READ_BIT: u64 = 0x8;
|
|
pub const VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT: u64 = 0x10;
|
|
pub const VK_ACCESS_2_SHADER_READ_BIT: u64 = 0x20;
|
|
pub const VK_ACCESS_2_SHADER_WRITE_BIT: u64 = 0x40;
|
|
pub const VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT: u64 = 0x80;
|
|
pub const VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT: u64 = 0x100;
|
|
pub const VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT: u64 = 0x200;
|
|
pub const VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT: u64 = 0x400;
|
|
pub const VK_ACCESS_2_TRANSFER_READ_BIT: u64 = 0x800;
|
|
pub const VK_ACCESS_2_TRANSFER_WRITE_BIT: u64 = 0x1000;
|
|
pub const VK_ACCESS_2_HOST_READ_BIT: u64 = 0x2000;
|
|
pub const VK_ACCESS_2_HOST_WRITE_BIT: u64 = 0x4000;
|
|
pub const VK_ACCESS_2_MEMORY_READ_BIT: u64 = 0x8000;
|
|
pub const VK_ACCESS_2_MEMORY_WRITE_BIT: u64 = 0x10000;
|
|
pub const VK_ACCESS_2_SHADER_SAMPLED_READ_BIT: u64 = 0x100000000;
|
|
pub const VK_ACCESS_2_SHADER_STORAGE_READ_BIT: u64 = 0x200000000;
|
|
pub const VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT: u64 = 0x400000000;
|
|
|
|
# VkPipelineStageFlagBits2
|
|
pub const VK_PIPELINE_STAGE_2_NONE: u64 = 0;
|
|
pub const VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT: u64 = 0x1;
|
|
pub const VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT: u64 = 0x2;
|
|
pub const VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT: u64 = 0x4;
|
|
pub const VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT: u64 = 0x8;
|
|
pub const VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT: u64 = 0x10;
|
|
pub const VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT: u64 = 0x20;
|
|
pub const VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT: u64 = 0x40;
|
|
pub const VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT: u64 = 0x80;
|
|
pub const VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT: u64 = 0x100;
|
|
pub const VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT: u64 = 0x200;
|
|
pub const VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT: u64 = 0x400;
|
|
pub const VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT: u64 = 0x800;
|
|
pub const VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT: u64 = 0x1000;
|
|
pub const VK_PIPELINE_STAGE_2_TRANSFER_BIT: u64 = VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT;
|
|
pub const VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT: u64 = 0x2000;
|
|
pub const VK_PIPELINE_STAGE_2_HOST_BIT: u64 = 0x4000;
|
|
pub const VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT: u64 = 0x8000;
|
|
pub const VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT: u64 = 0x10000;
|
|
pub const VK_PIPELINE_STAGE_2_COPY_BIT: u64 = 0x100000000;
|
|
pub const VK_PIPELINE_STAGE_2_RESOLVE_BIT: u64 = 0x200000000;
|
|
pub const VK_PIPELINE_STAGE_2_BLIT_BIT: u64 = 0x400000000;
|
|
pub const VK_PIPELINE_STAGE_2_CLEAR_BIT: u64 = 0x800000000;
|
|
pub const VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT: u64 = 0x1000000000;
|
|
pub const VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT: u64 = 0x2000000000;
|
|
pub const VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT: u64 = 0x4000000000;
|
|
|
|
# VkSubmitFlagBits
|
|
pub const VK_SUBMIT_PROTECTED_BIT: u32 = 0x1;
|
|
|
|
# VkEventCreateFlagBits
|
|
pub const VK_EVENT_CREATE_DEVICE_ONLY_BIT: u32 = 0x1;
|
|
|
|
# VkHostImageCopyFlagBits
|
|
pub const VK_HOST_IMAGE_COPY_MEMCPY_BIT: u32 = 0x1;
|
|
pub const VK_HOST_IMAGE_COPY_MEMCPY: u32 = VK_HOST_IMAGE_COPY_MEMCPY_BIT;
|
|
|
|
# VkFormatFeatureFlagBits2
|
|
pub const VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT: u64 = 0x1;
|
|
pub const VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT: u64 = 0x2;
|
|
pub const VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT: u64 = 0x4;
|
|
pub const VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT: u64 = 0x8;
|
|
pub const VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT: u64 = 0x10;
|
|
pub const VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT: u64 = 0x20;
|
|
pub const VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT: u64 = 0x40;
|
|
pub const VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT: u64 = 0x80;
|
|
pub const VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT: u64 = 0x100;
|
|
pub const VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT: u64 = 0x200;
|
|
pub const VK_FORMAT_FEATURE_2_BLIT_SRC_BIT: u64 = 0x400;
|
|
pub const VK_FORMAT_FEATURE_2_BLIT_DST_BIT: u64 = 0x800;
|
|
pub const VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT: u64 = 0x1000;
|
|
pub const VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT: u64 = 0x4000;
|
|
pub const VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT: u64 = 0x8000;
|
|
pub const VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT: u64 = 0x10000;
|
|
pub const VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT: u64 = 0x20000;
|
|
pub const VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT: u64 = 0x40000;
|
|
pub const VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT: u64 = 0x80000;
|
|
pub const VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT: u64 = 0x100000;
|
|
pub const VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT: u64 = 0x200000;
|
|
pub const VK_FORMAT_FEATURE_2_DISJOINT_BIT: u64 = 0x400000;
|
|
pub const VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT: u64 = 0x800000;
|
|
pub const VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT: u64 = 0x80000000;
|
|
pub const VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT: u64 = 0x100000000;
|
|
pub const VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT: u64 = 0x200000000;
|
|
pub const VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT: u64 = 0x2000; #! This is an interaction with EXT_filter_cubic, though not tagged that way
|
|
pub const VK_FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BIT: u64 = 0x400000000000;
|
|
|
|
# VkRenderingFlagBits
|
|
pub const VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT: u32 = 0x1;
|
|
pub const VK_RENDERING_SUSPENDING_BIT: u32 = 0x2;
|
|
pub const VK_RENDERING_RESUMING_BIT: u32 = 0x4;
|
|
|
|
# VkPipelineRobustnessBufferBehavior
|
|
pub const VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DEVICE_DEFAULT: u32 = 0;
|
|
pub const VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DISABLED: u32 = 1;
|
|
pub const VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS: u32 = 2;
|
|
pub const VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2: u32 = 3;
|
|
|
|
# VkPipelineRobustnessImageBehavior
|
|
pub const VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DEVICE_DEFAULT: u32 = 0;
|
|
pub const VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DISABLED: u32 = 1;
|
|
pub const VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS: u32 = 2;
|
|
pub const VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS_2: u32 = 3;
|