1/* WARNING: This is auto-generated file. Do not modify, since changes will 2 * be lost! Modify the generating script instead. 3 */ 4#define VK_API_VERSION (static_cast<deUint32> (VK_MAKE_VERSION(1, 0, 0))) 5#define VK_MAX_PHYSICAL_DEVICE_NAME_SIZE (static_cast<size_t> (256)) 6#define VK_MAX_EXTENSION_NAME_SIZE (static_cast<size_t> (256)) 7#define VK_UUID_SIZE (static_cast<size_t> (16)) 8#define VK_LUID_SIZE_KHR (static_cast<size_t> (8)) 9#define VK_MAX_MEMORY_TYPES (static_cast<size_t> (32)) 10#define VK_MAX_MEMORY_HEAPS (static_cast<size_t> (16)) 11#define VK_MAX_DESCRIPTION_SIZE (static_cast<size_t> (256)) 12#define VK_ATTACHMENT_UNUSED (static_cast<deUint32> ((~0U))) 13#define VK_SUBPASS_EXTERNAL (static_cast<deUint32> ((~0U))) 14#define VK_QUEUE_FAMILY_IGNORED (static_cast<deUint32> ((~0U))) 15#define VK_QUEUE_FAMILY_EXTERNAL_KHR (static_cast<deUint32> ((~0U-1))) 16#define VK_REMAINING_MIP_LEVELS (static_cast<deUint32> ((~0U))) 17#define VK_REMAINING_ARRAY_LAYERS (static_cast<deUint32> ((~0U))) 18#define VK_WHOLE_SIZE (static_cast<vk::VkDeviceSize> ((~0ULL))) 19#define VK_TRUE (static_cast<vk::VkBool32> (1)) 20#define VK_FALSE (static_cast<vk::VkBool32> (0)) 21 22VK_DEFINE_HANDLE (VkInstance, HANDLE_TYPE_INSTANCE); 23VK_DEFINE_HANDLE (VkPhysicalDevice, HANDLE_TYPE_PHYSICAL_DEVICE); 24VK_DEFINE_HANDLE (VkDevice, HANDLE_TYPE_DEVICE); 25VK_DEFINE_HANDLE (VkQueue, HANDLE_TYPE_QUEUE); 26VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkSemaphore, HANDLE_TYPE_SEMAPHORE); 27VK_DEFINE_HANDLE (VkCommandBuffer, HANDLE_TYPE_COMMAND_BUFFER); 28VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkFence, HANDLE_TYPE_FENCE); 29VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkDeviceMemory, HANDLE_TYPE_DEVICE_MEMORY); 30VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkBuffer, HANDLE_TYPE_BUFFER); 31VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkImage, HANDLE_TYPE_IMAGE); 32VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkEvent, HANDLE_TYPE_EVENT); 33VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkQueryPool, HANDLE_TYPE_QUERY_POOL); 34VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkBufferView, HANDLE_TYPE_BUFFER_VIEW); 35VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkImageView, HANDLE_TYPE_IMAGE_VIEW); 36VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkShaderModule, HANDLE_TYPE_SHADER_MODULE); 37VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkPipelineCache, HANDLE_TYPE_PIPELINE_CACHE); 38VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkPipelineLayout, HANDLE_TYPE_PIPELINE_LAYOUT); 39VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkRenderPass, HANDLE_TYPE_RENDER_PASS); 40VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkPipeline, HANDLE_TYPE_PIPELINE); 41VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkDescriptorSetLayout, HANDLE_TYPE_DESCRIPTOR_SET_LAYOUT); 42VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkSampler, HANDLE_TYPE_SAMPLER); 43VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkDescriptorPool, HANDLE_TYPE_DESCRIPTOR_POOL); 44VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkDescriptorSet, HANDLE_TYPE_DESCRIPTOR_SET); 45VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkFramebuffer, HANDLE_TYPE_FRAMEBUFFER); 46VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkCommandPool, HANDLE_TYPE_COMMAND_POOL); 47VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkSurfaceKHR, HANDLE_TYPE_SURFACE_KHR); 48VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkSwapchainKHR, HANDLE_TYPE_SWAPCHAIN_KHR); 49VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkDisplayKHR, HANDLE_TYPE_DISPLAY_KHR); 50VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkDisplayModeKHR, HANDLE_TYPE_DISPLAY_MODE_KHR); 51VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkDescriptorUpdateTemplateKHR, HANDLE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR); 52VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkSamplerYcbcrConversionKHR, HANDLE_TYPE_SAMPLER_YCBCR_CONVERSION_KHR); 53VK_DEFINE_NON_DISPATCHABLE_HANDLE (VkDebugReportCallbackEXT, HANDLE_TYPE_DEBUG_REPORT_CALLBACK_EXT); 54 55enum VkPipelineCacheHeaderVersion 56{ 57 VK_PIPELINE_CACHE_HEADER_VERSION_ONE = 1, 58}; 59 60enum VkResult 61{ 62 VK_SUCCESS = 0, 63 VK_NOT_READY = 1, 64 VK_TIMEOUT = 2, 65 VK_EVENT_SET = 3, 66 VK_EVENT_RESET = 4, 67 VK_INCOMPLETE = 5, 68 VK_ERROR_OUT_OF_HOST_MEMORY = -1, 69 VK_ERROR_OUT_OF_DEVICE_MEMORY = -2, 70 VK_ERROR_INITIALIZATION_FAILED = -3, 71 VK_ERROR_DEVICE_LOST = -4, 72 VK_ERROR_MEMORY_MAP_FAILED = -5, 73 VK_ERROR_LAYER_NOT_PRESENT = -6, 74 VK_ERROR_EXTENSION_NOT_PRESENT = -7, 75 VK_ERROR_FEATURE_NOT_PRESENT = -8, 76 VK_ERROR_INCOMPATIBLE_DRIVER = -9, 77 VK_ERROR_TOO_MANY_OBJECTS = -10, 78 VK_ERROR_FORMAT_NOT_SUPPORTED = -11, 79 VK_ERROR_FRAGMENTED_POOL = -12, 80 VK_ERROR_SURFACE_LOST_KHR = -1000000000, 81 VK_ERROR_NATIVE_WINDOW_IN_USE_KHR = -1000000001, 82 VK_SUBOPTIMAL_KHR = 1000001003, 83 VK_ERROR_OUT_OF_DATE_KHR = -1000001004, 84 VK_ERROR_INCOMPATIBLE_DISPLAY_KHR = -1000003001, 85 VK_ERROR_VALIDATION_FAILED_EXT = -1000011001, 86 VK_ERROR_INVALID_SHADER_NV = -1000012000, 87 VK_ERROR_OUT_OF_POOL_MEMORY_KHR = -1000069000, 88 VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR = -1000072003, 89}; 90 91enum VkStructureType 92{ 93 VK_STRUCTURE_TYPE_APPLICATION_INFO = 0, 94 VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO = 1, 95 VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO = 2, 96 VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO = 3, 97 VK_STRUCTURE_TYPE_SUBMIT_INFO = 4, 98 VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO = 5, 99 VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE = 6, 100 VK_STRUCTURE_TYPE_BIND_SPARSE_INFO = 7, 101 VK_STRUCTURE_TYPE_FENCE_CREATE_INFO = 8, 102 VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO = 9, 103 VK_STRUCTURE_TYPE_EVENT_CREATE_INFO = 10, 104 VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO = 11, 105 VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO = 12, 106 VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO = 13, 107 VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO = 14, 108 VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO = 15, 109 VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO = 16, 110 VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO = 17, 111 VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO = 18, 112 VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO = 19, 113 VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO = 20, 114 VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO = 21, 115 VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO = 22, 116 VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO = 23, 117 VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO = 24, 118 VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO = 25, 119 VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO = 26, 120 VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO = 27, 121 VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO = 28, 122 VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO = 29, 123 VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO = 30, 124 VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO = 31, 125 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO = 32, 126 VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO = 33, 127 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO = 34, 128 VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET = 35, 129 VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET = 36, 130 VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO = 37, 131 VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO = 38, 132 VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO = 39, 133 VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO = 40, 134 VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO = 41, 135 VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO = 42, 136 VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO = 43, 137 VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER = 44, 138 VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER = 45, 139 VK_STRUCTURE_TYPE_MEMORY_BARRIER = 46, 140 VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO = 47, 141 VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO = 48, 142 VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR = 1000001000, 143 VK_STRUCTURE_TYPE_PRESENT_INFO_KHR = 1000001001, 144 VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR = 1000002000, 145 VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR = 1000002001, 146 VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR = 1000003000, 147 VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR = 1000004000, 148 VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR = 1000005000, 149 VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR = 1000006000, 150 VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR = 1000007000, 151 VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR = 1000008000, 152 VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR = 1000009000, 153 VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT = 1000011000, 154 VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO_KHX = 1000053000, 155 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES_KHX = 1000053001, 156 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES_KHX = 1000053002, 157 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHR = 1000059000, 158 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHR = 1000059001, 159 VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHR = 1000059002, 160 VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHR = 1000059003, 161 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHR = 1000059004, 162 VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHR = 1000059005, 163 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHR = 1000059006, 164 VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHR = 1000059007, 165 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR = 1000059008, 166 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO_KHR = 1000071000, 167 VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES_KHR = 1000071001, 168 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO_KHR = 1000071002, 169 VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES_KHR = 1000071003, 170 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES_KHR = 1000071004, 171 VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO_KHR = 1000072000, 172 VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_KHR = 1000072001, 173 VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_KHR = 1000072002, 174 VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR = 1000073000, 175 VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR = 1000073001, 176 VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR = 1000073002, 177 VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR = 1000073003, 178 VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR = 1000074000, 179 VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR = 1000074001, 180 VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR = 1000074002, 181 VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR = 1000075000, 182 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO_KHR = 1000076000, 183 VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES_KHR = 1000076001, 184 VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO_KHR = 1000077000, 185 VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR = 1000078000, 186 VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR = 1000078001, 187 VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR = 1000078002, 188 VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR = 1000078003, 189 VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR = 1000079000, 190 VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR = 1000079001, 191 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR = 1000080000, 192 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR = 1000083000, 193 VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR = 1000084000, 194 VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO_KHR = 1000085000, 195 VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE = 1000092000, 196 VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR = 1000111000, 197 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO_KHR = 1000112000, 198 VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES_KHR = 1000112001, 199 VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO_KHR = 1000113000, 200 VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR = 1000114000, 201 VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR = 1000114001, 202 VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR = 1000114002, 203 VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR = 1000115000, 204 VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR = 1000115001, 205 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES_KHR = 1000117000, 206 VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO_KHR = 1000117001, 207 VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO_KHR = 1000117002, 208 VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO_KHR = 1000117003, 209 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR = 1000119000, 210 VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR = 1000119001, 211 VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR = 1000119002, 212 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES_KHR = 1000120000, 213 VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS_KHR = 1000127000, 214 VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_KHR = 1000127001, 215 VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR = 1000146000, 216 VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR = 1000146001, 217 VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR = 1000147000, 218 VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR = 1000146002, 219 VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR = 1000146003, 220 VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR = 1000146004, 221 VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO_KHR = 1000156000, 222 VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO_KHR = 1000156001, 223 VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO_KHR = 1000156002, 224 VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO_KHR = 1000156003, 225 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES_KHR = 1000156004, 226 VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES_KHR = 1000156005, 227 VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR = 1000157000, 228 VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR = 1000157001, 229}; 230 231enum VkSystemAllocationScope 232{ 233 VK_SYSTEM_ALLOCATION_SCOPE_COMMAND = 0, 234 VK_SYSTEM_ALLOCATION_SCOPE_OBJECT = 1, 235 VK_SYSTEM_ALLOCATION_SCOPE_CACHE = 2, 236 VK_SYSTEM_ALLOCATION_SCOPE_DEVICE = 3, 237 VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE = 4, 238 239 VK_SYSTEM_ALLOCATION_SCOPE_LAST 240}; 241 242enum VkInternalAllocationType 243{ 244 VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE = 0, 245 246 VK_INTERNAL_ALLOCATION_TYPE_LAST 247}; 248 249enum VkFormat 250{ 251 VK_FORMAT_UNDEFINED = 0, 252 VK_FORMAT_R4G4_UNORM_PACK8 = 1, 253 VK_FORMAT_R4G4B4A4_UNORM_PACK16 = 2, 254 VK_FORMAT_B4G4R4A4_UNORM_PACK16 = 3, 255 VK_FORMAT_R5G6B5_UNORM_PACK16 = 4, 256 VK_FORMAT_B5G6R5_UNORM_PACK16 = 5, 257 VK_FORMAT_R5G5B5A1_UNORM_PACK16 = 6, 258 VK_FORMAT_B5G5R5A1_UNORM_PACK16 = 7, 259 VK_FORMAT_A1R5G5B5_UNORM_PACK16 = 8, 260 VK_FORMAT_R8_UNORM = 9, 261 VK_FORMAT_R8_SNORM = 10, 262 VK_FORMAT_R8_USCALED = 11, 263 VK_FORMAT_R8_SSCALED = 12, 264 VK_FORMAT_R8_UINT = 13, 265 VK_FORMAT_R8_SINT = 14, 266 VK_FORMAT_R8_SRGB = 15, 267 VK_FORMAT_R8G8_UNORM = 16, 268 VK_FORMAT_R8G8_SNORM = 17, 269 VK_FORMAT_R8G8_USCALED = 18, 270 VK_FORMAT_R8G8_SSCALED = 19, 271 VK_FORMAT_R8G8_UINT = 20, 272 VK_FORMAT_R8G8_SINT = 21, 273 VK_FORMAT_R8G8_SRGB = 22, 274 VK_FORMAT_R8G8B8_UNORM = 23, 275 VK_FORMAT_R8G8B8_SNORM = 24, 276 VK_FORMAT_R8G8B8_USCALED = 25, 277 VK_FORMAT_R8G8B8_SSCALED = 26, 278 VK_FORMAT_R8G8B8_UINT = 27, 279 VK_FORMAT_R8G8B8_SINT = 28, 280 VK_FORMAT_R8G8B8_SRGB = 29, 281 VK_FORMAT_B8G8R8_UNORM = 30, 282 VK_FORMAT_B8G8R8_SNORM = 31, 283 VK_FORMAT_B8G8R8_USCALED = 32, 284 VK_FORMAT_B8G8R8_SSCALED = 33, 285 VK_FORMAT_B8G8R8_UINT = 34, 286 VK_FORMAT_B8G8R8_SINT = 35, 287 VK_FORMAT_B8G8R8_SRGB = 36, 288 VK_FORMAT_R8G8B8A8_UNORM = 37, 289 VK_FORMAT_R8G8B8A8_SNORM = 38, 290 VK_FORMAT_R8G8B8A8_USCALED = 39, 291 VK_FORMAT_R8G8B8A8_SSCALED = 40, 292 VK_FORMAT_R8G8B8A8_UINT = 41, 293 VK_FORMAT_R8G8B8A8_SINT = 42, 294 VK_FORMAT_R8G8B8A8_SRGB = 43, 295 VK_FORMAT_B8G8R8A8_UNORM = 44, 296 VK_FORMAT_B8G8R8A8_SNORM = 45, 297 VK_FORMAT_B8G8R8A8_USCALED = 46, 298 VK_FORMAT_B8G8R8A8_SSCALED = 47, 299 VK_FORMAT_B8G8R8A8_UINT = 48, 300 VK_FORMAT_B8G8R8A8_SINT = 49, 301 VK_FORMAT_B8G8R8A8_SRGB = 50, 302 VK_FORMAT_A8B8G8R8_UNORM_PACK32 = 51, 303 VK_FORMAT_A8B8G8R8_SNORM_PACK32 = 52, 304 VK_FORMAT_A8B8G8R8_USCALED_PACK32 = 53, 305 VK_FORMAT_A8B8G8R8_SSCALED_PACK32 = 54, 306 VK_FORMAT_A8B8G8R8_UINT_PACK32 = 55, 307 VK_FORMAT_A8B8G8R8_SINT_PACK32 = 56, 308 VK_FORMAT_A8B8G8R8_SRGB_PACK32 = 57, 309 VK_FORMAT_A2R10G10B10_UNORM_PACK32 = 58, 310 VK_FORMAT_A2R10G10B10_SNORM_PACK32 = 59, 311 VK_FORMAT_A2R10G10B10_USCALED_PACK32 = 60, 312 VK_FORMAT_A2R10G10B10_SSCALED_PACK32 = 61, 313 VK_FORMAT_A2R10G10B10_UINT_PACK32 = 62, 314 VK_FORMAT_A2R10G10B10_SINT_PACK32 = 63, 315 VK_FORMAT_A2B10G10R10_UNORM_PACK32 = 64, 316 VK_FORMAT_A2B10G10R10_SNORM_PACK32 = 65, 317 VK_FORMAT_A2B10G10R10_USCALED_PACK32 = 66, 318 VK_FORMAT_A2B10G10R10_SSCALED_PACK32 = 67, 319 VK_FORMAT_A2B10G10R10_UINT_PACK32 = 68, 320 VK_FORMAT_A2B10G10R10_SINT_PACK32 = 69, 321 VK_FORMAT_R16_UNORM = 70, 322 VK_FORMAT_R16_SNORM = 71, 323 VK_FORMAT_R16_USCALED = 72, 324 VK_FORMAT_R16_SSCALED = 73, 325 VK_FORMAT_R16_UINT = 74, 326 VK_FORMAT_R16_SINT = 75, 327 VK_FORMAT_R16_SFLOAT = 76, 328 VK_FORMAT_R16G16_UNORM = 77, 329 VK_FORMAT_R16G16_SNORM = 78, 330 VK_FORMAT_R16G16_USCALED = 79, 331 VK_FORMAT_R16G16_SSCALED = 80, 332 VK_FORMAT_R16G16_UINT = 81, 333 VK_FORMAT_R16G16_SINT = 82, 334 VK_FORMAT_R16G16_SFLOAT = 83, 335 VK_FORMAT_R16G16B16_UNORM = 84, 336 VK_FORMAT_R16G16B16_SNORM = 85, 337 VK_FORMAT_R16G16B16_USCALED = 86, 338 VK_FORMAT_R16G16B16_SSCALED = 87, 339 VK_FORMAT_R16G16B16_UINT = 88, 340 VK_FORMAT_R16G16B16_SINT = 89, 341 VK_FORMAT_R16G16B16_SFLOAT = 90, 342 VK_FORMAT_R16G16B16A16_UNORM = 91, 343 VK_FORMAT_R16G16B16A16_SNORM = 92, 344 VK_FORMAT_R16G16B16A16_USCALED = 93, 345 VK_FORMAT_R16G16B16A16_SSCALED = 94, 346 VK_FORMAT_R16G16B16A16_UINT = 95, 347 VK_FORMAT_R16G16B16A16_SINT = 96, 348 VK_FORMAT_R16G16B16A16_SFLOAT = 97, 349 VK_FORMAT_R32_UINT = 98, 350 VK_FORMAT_R32_SINT = 99, 351 VK_FORMAT_R32_SFLOAT = 100, 352 VK_FORMAT_R32G32_UINT = 101, 353 VK_FORMAT_R32G32_SINT = 102, 354 VK_FORMAT_R32G32_SFLOAT = 103, 355 VK_FORMAT_R32G32B32_UINT = 104, 356 VK_FORMAT_R32G32B32_SINT = 105, 357 VK_FORMAT_R32G32B32_SFLOAT = 106, 358 VK_FORMAT_R32G32B32A32_UINT = 107, 359 VK_FORMAT_R32G32B32A32_SINT = 108, 360 VK_FORMAT_R32G32B32A32_SFLOAT = 109, 361 VK_FORMAT_R64_UINT = 110, 362 VK_FORMAT_R64_SINT = 111, 363 VK_FORMAT_R64_SFLOAT = 112, 364 VK_FORMAT_R64G64_UINT = 113, 365 VK_FORMAT_R64G64_SINT = 114, 366 VK_FORMAT_R64G64_SFLOAT = 115, 367 VK_FORMAT_R64G64B64_UINT = 116, 368 VK_FORMAT_R64G64B64_SINT = 117, 369 VK_FORMAT_R64G64B64_SFLOAT = 118, 370 VK_FORMAT_R64G64B64A64_UINT = 119, 371 VK_FORMAT_R64G64B64A64_SINT = 120, 372 VK_FORMAT_R64G64B64A64_SFLOAT = 121, 373 VK_FORMAT_B10G11R11_UFLOAT_PACK32 = 122, 374 VK_FORMAT_E5B9G9R9_UFLOAT_PACK32 = 123, 375 VK_FORMAT_D16_UNORM = 124, 376 VK_FORMAT_X8_D24_UNORM_PACK32 = 125, 377 VK_FORMAT_D32_SFLOAT = 126, 378 VK_FORMAT_S8_UINT = 127, 379 VK_FORMAT_D16_UNORM_S8_UINT = 128, 380 VK_FORMAT_D24_UNORM_S8_UINT = 129, 381 VK_FORMAT_D32_SFLOAT_S8_UINT = 130, 382 VK_FORMAT_BC1_RGB_UNORM_BLOCK = 131, 383 VK_FORMAT_BC1_RGB_SRGB_BLOCK = 132, 384 VK_FORMAT_BC1_RGBA_UNORM_BLOCK = 133, 385 VK_FORMAT_BC1_RGBA_SRGB_BLOCK = 134, 386 VK_FORMAT_BC2_UNORM_BLOCK = 135, 387 VK_FORMAT_BC2_SRGB_BLOCK = 136, 388 VK_FORMAT_BC3_UNORM_BLOCK = 137, 389 VK_FORMAT_BC3_SRGB_BLOCK = 138, 390 VK_FORMAT_BC4_UNORM_BLOCK = 139, 391 VK_FORMAT_BC4_SNORM_BLOCK = 140, 392 VK_FORMAT_BC5_UNORM_BLOCK = 141, 393 VK_FORMAT_BC5_SNORM_BLOCK = 142, 394 VK_FORMAT_BC6H_UFLOAT_BLOCK = 143, 395 VK_FORMAT_BC6H_SFLOAT_BLOCK = 144, 396 VK_FORMAT_BC7_UNORM_BLOCK = 145, 397 VK_FORMAT_BC7_SRGB_BLOCK = 146, 398 VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK = 147, 399 VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK = 148, 400 VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK = 149, 401 VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK = 150, 402 VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK = 151, 403 VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK = 152, 404 VK_FORMAT_EAC_R11_UNORM_BLOCK = 153, 405 VK_FORMAT_EAC_R11_SNORM_BLOCK = 154, 406 VK_FORMAT_EAC_R11G11_UNORM_BLOCK = 155, 407 VK_FORMAT_EAC_R11G11_SNORM_BLOCK = 156, 408 VK_FORMAT_ASTC_4x4_UNORM_BLOCK = 157, 409 VK_FORMAT_ASTC_4x4_SRGB_BLOCK = 158, 410 VK_FORMAT_ASTC_5x4_UNORM_BLOCK = 159, 411 VK_FORMAT_ASTC_5x4_SRGB_BLOCK = 160, 412 VK_FORMAT_ASTC_5x5_UNORM_BLOCK = 161, 413 VK_FORMAT_ASTC_5x5_SRGB_BLOCK = 162, 414 VK_FORMAT_ASTC_6x5_UNORM_BLOCK = 163, 415 VK_FORMAT_ASTC_6x5_SRGB_BLOCK = 164, 416 VK_FORMAT_ASTC_6x6_UNORM_BLOCK = 165, 417 VK_FORMAT_ASTC_6x6_SRGB_BLOCK = 166, 418 VK_FORMAT_ASTC_8x5_UNORM_BLOCK = 167, 419 VK_FORMAT_ASTC_8x5_SRGB_BLOCK = 168, 420 VK_FORMAT_ASTC_8x6_UNORM_BLOCK = 169, 421 VK_FORMAT_ASTC_8x6_SRGB_BLOCK = 170, 422 VK_FORMAT_ASTC_8x8_UNORM_BLOCK = 171, 423 VK_FORMAT_ASTC_8x8_SRGB_BLOCK = 172, 424 VK_FORMAT_ASTC_10x5_UNORM_BLOCK = 173, 425 VK_FORMAT_ASTC_10x5_SRGB_BLOCK = 174, 426 VK_FORMAT_ASTC_10x6_UNORM_BLOCK = 175, 427 VK_FORMAT_ASTC_10x6_SRGB_BLOCK = 176, 428 VK_FORMAT_ASTC_10x8_UNORM_BLOCK = 177, 429 VK_FORMAT_ASTC_10x8_SRGB_BLOCK = 178, 430 VK_FORMAT_ASTC_10x10_UNORM_BLOCK = 179, 431 VK_FORMAT_ASTC_10x10_SRGB_BLOCK = 180, 432 VK_FORMAT_ASTC_12x10_UNORM_BLOCK = 181, 433 VK_FORMAT_ASTC_12x10_SRGB_BLOCK = 182, 434 VK_FORMAT_ASTC_12x12_UNORM_BLOCK = 183, 435 VK_FORMAT_ASTC_12x12_SRGB_BLOCK = 184, 436 VK_FORMAT_G8B8G8R8_422_UNORM_KHR = 1000156000, 437 VK_FORMAT_B8G8R8G8_422_UNORM_KHR = 1000156001, 438 VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM_KHR = 1000156002, 439 VK_FORMAT_G8_B8R8_2PLANE_420_UNORM_KHR = 1000156003, 440 VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM_KHR = 1000156004, 441 VK_FORMAT_G8_B8R8_2PLANE_422_UNORM_KHR = 1000156005, 442 VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM_KHR = 1000156006, 443 VK_FORMAT_R10X6_UNORM_PACK16_KHR = 1000156007, 444 VK_FORMAT_R10X6G10X6_UNORM_2PACK16_KHR = 1000156008, 445 VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16_KHR = 1000156009, 446 VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16_KHR = 1000156010, 447 VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16_KHR = 1000156011, 448 VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16_KHR = 1000156012, 449 VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16_KHR = 1000156013, 450 VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16_KHR = 1000156014, 451 VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16_KHR = 1000156015, 452 VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16_KHR = 1000156016, 453 VK_FORMAT_R12X4_UNORM_PACK16_KHR = 1000156017, 454 VK_FORMAT_R12X4G12X4_UNORM_2PACK16_KHR = 1000156018, 455 VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16_KHR = 1000156019, 456 VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16_KHR = 1000156020, 457 VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16_KHR = 1000156021, 458 VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16_KHR = 1000156022, 459 VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16_KHR = 1000156023, 460 VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16_KHR = 1000156024, 461 VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16_KHR = 1000156025, 462 VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16_KHR = 1000156026, 463 VK_FORMAT_G16B16G16R16_422_UNORM_KHR = 1000156027, 464 VK_FORMAT_B16G16R16G16_422_UNORM_KHR = 1000156028, 465 VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM_KHR = 1000156029, 466 VK_FORMAT_G16_B16R16_2PLANE_420_UNORM_KHR = 1000156030, 467 VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM_KHR = 1000156031, 468 VK_FORMAT_G16_B16R16_2PLANE_422_UNORM_KHR = 1000156032, 469 VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM_KHR = 1000156033, 470}; 471 472enum VkImageType 473{ 474 VK_IMAGE_TYPE_1D = 0, 475 VK_IMAGE_TYPE_2D = 1, 476 VK_IMAGE_TYPE_3D = 2, 477 478 VK_IMAGE_TYPE_LAST 479}; 480 481enum VkImageTiling 482{ 483 VK_IMAGE_TILING_OPTIMAL = 0, 484 VK_IMAGE_TILING_LINEAR = 1, 485 486 VK_IMAGE_TILING_LAST 487}; 488 489enum VkPhysicalDeviceType 490{ 491 VK_PHYSICAL_DEVICE_TYPE_OTHER = 0, 492 VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU = 1, 493 VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU = 2, 494 VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU = 3, 495 VK_PHYSICAL_DEVICE_TYPE_CPU = 4, 496 497 VK_PHYSICAL_DEVICE_TYPE_LAST 498}; 499 500enum VkQueryType 501{ 502 VK_QUERY_TYPE_OCCLUSION = 0, 503 VK_QUERY_TYPE_PIPELINE_STATISTICS = 1, 504 VK_QUERY_TYPE_TIMESTAMP = 2, 505 506 VK_QUERY_TYPE_LAST 507}; 508 509enum VkSharingMode 510{ 511 VK_SHARING_MODE_EXCLUSIVE = 0, 512 VK_SHARING_MODE_CONCURRENT = 1, 513 514 VK_SHARING_MODE_LAST 515}; 516 517enum VkImageLayout 518{ 519 VK_IMAGE_LAYOUT_UNDEFINED = 0, 520 VK_IMAGE_LAYOUT_GENERAL = 1, 521 VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL = 2, 522 VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL = 3, 523 VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL = 4, 524 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL = 5, 525 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL = 6, 526 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL = 7, 527 VK_IMAGE_LAYOUT_PREINITIALIZED = 8, 528 VK_IMAGE_LAYOUT_PRESENT_SRC_KHR = 1000001002, 529 VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR = 1000111000, 530 VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL_KHR = 1000117000, 531 VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL_KHR = 1000117001, 532}; 533 534enum VkImageViewType 535{ 536 VK_IMAGE_VIEW_TYPE_1D = 0, 537 VK_IMAGE_VIEW_TYPE_2D = 1, 538 VK_IMAGE_VIEW_TYPE_3D = 2, 539 VK_IMAGE_VIEW_TYPE_CUBE = 3, 540 VK_IMAGE_VIEW_TYPE_1D_ARRAY = 4, 541 VK_IMAGE_VIEW_TYPE_2D_ARRAY = 5, 542 VK_IMAGE_VIEW_TYPE_CUBE_ARRAY = 6, 543 544 VK_IMAGE_VIEW_TYPE_LAST 545}; 546 547enum VkComponentSwizzle 548{ 549 VK_COMPONENT_SWIZZLE_IDENTITY = 0, 550 VK_COMPONENT_SWIZZLE_ZERO = 1, 551 VK_COMPONENT_SWIZZLE_ONE = 2, 552 VK_COMPONENT_SWIZZLE_R = 3, 553 VK_COMPONENT_SWIZZLE_G = 4, 554 VK_COMPONENT_SWIZZLE_B = 5, 555 VK_COMPONENT_SWIZZLE_A = 6, 556 557 VK_COMPONENT_SWIZZLE_LAST 558}; 559 560enum VkVertexInputRate 561{ 562 VK_VERTEX_INPUT_RATE_VERTEX = 0, 563 VK_VERTEX_INPUT_RATE_INSTANCE = 1, 564 565 VK_VERTEX_INPUT_RATE_LAST 566}; 567 568enum VkPrimitiveTopology 569{ 570 VK_PRIMITIVE_TOPOLOGY_POINT_LIST = 0, 571 VK_PRIMITIVE_TOPOLOGY_LINE_LIST = 1, 572 VK_PRIMITIVE_TOPOLOGY_LINE_STRIP = 2, 573 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST = 3, 574 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP = 4, 575 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN = 5, 576 VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY = 6, 577 VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY = 7, 578 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY = 8, 579 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY = 9, 580 VK_PRIMITIVE_TOPOLOGY_PATCH_LIST = 10, 581 582 VK_PRIMITIVE_TOPOLOGY_LAST 583}; 584 585enum VkPolygonMode 586{ 587 VK_POLYGON_MODE_FILL = 0, 588 VK_POLYGON_MODE_LINE = 1, 589 VK_POLYGON_MODE_POINT = 2, 590 591 VK_POLYGON_MODE_LAST 592}; 593 594enum VkFrontFace 595{ 596 VK_FRONT_FACE_COUNTER_CLOCKWISE = 0, 597 VK_FRONT_FACE_CLOCKWISE = 1, 598 599 VK_FRONT_FACE_LAST 600}; 601 602enum VkCompareOp 603{ 604 VK_COMPARE_OP_NEVER = 0, 605 VK_COMPARE_OP_LESS = 1, 606 VK_COMPARE_OP_EQUAL = 2, 607 VK_COMPARE_OP_LESS_OR_EQUAL = 3, 608 VK_COMPARE_OP_GREATER = 4, 609 VK_COMPARE_OP_NOT_EQUAL = 5, 610 VK_COMPARE_OP_GREATER_OR_EQUAL = 6, 611 VK_COMPARE_OP_ALWAYS = 7, 612 613 VK_COMPARE_OP_LAST 614}; 615 616enum VkStencilOp 617{ 618 VK_STENCIL_OP_KEEP = 0, 619 VK_STENCIL_OP_ZERO = 1, 620 VK_STENCIL_OP_REPLACE = 2, 621 VK_STENCIL_OP_INCREMENT_AND_CLAMP = 3, 622 VK_STENCIL_OP_DECREMENT_AND_CLAMP = 4, 623 VK_STENCIL_OP_INVERT = 5, 624 VK_STENCIL_OP_INCREMENT_AND_WRAP = 6, 625 VK_STENCIL_OP_DECREMENT_AND_WRAP = 7, 626 627 VK_STENCIL_OP_LAST 628}; 629 630enum VkLogicOp 631{ 632 VK_LOGIC_OP_CLEAR = 0, 633 VK_LOGIC_OP_AND = 1, 634 VK_LOGIC_OP_AND_REVERSE = 2, 635 VK_LOGIC_OP_COPY = 3, 636 VK_LOGIC_OP_AND_INVERTED = 4, 637 VK_LOGIC_OP_NO_OP = 5, 638 VK_LOGIC_OP_XOR = 6, 639 VK_LOGIC_OP_OR = 7, 640 VK_LOGIC_OP_NOR = 8, 641 VK_LOGIC_OP_EQUIVALENT = 9, 642 VK_LOGIC_OP_INVERT = 10, 643 VK_LOGIC_OP_OR_REVERSE = 11, 644 VK_LOGIC_OP_COPY_INVERTED = 12, 645 VK_LOGIC_OP_OR_INVERTED = 13, 646 VK_LOGIC_OP_NAND = 14, 647 VK_LOGIC_OP_SET = 15, 648 649 VK_LOGIC_OP_LAST 650}; 651 652enum VkBlendFactor 653{ 654 VK_BLEND_FACTOR_ZERO = 0, 655 VK_BLEND_FACTOR_ONE = 1, 656 VK_BLEND_FACTOR_SRC_COLOR = 2, 657 VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR = 3, 658 VK_BLEND_FACTOR_DST_COLOR = 4, 659 VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR = 5, 660 VK_BLEND_FACTOR_SRC_ALPHA = 6, 661 VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA = 7, 662 VK_BLEND_FACTOR_DST_ALPHA = 8, 663 VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA = 9, 664 VK_BLEND_FACTOR_CONSTANT_COLOR = 10, 665 VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR = 11, 666 VK_BLEND_FACTOR_CONSTANT_ALPHA = 12, 667 VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA = 13, 668 VK_BLEND_FACTOR_SRC_ALPHA_SATURATE = 14, 669 VK_BLEND_FACTOR_SRC1_COLOR = 15, 670 VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR = 16, 671 VK_BLEND_FACTOR_SRC1_ALPHA = 17, 672 VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA = 18, 673 674 VK_BLEND_FACTOR_LAST 675}; 676 677enum VkBlendOp 678{ 679 VK_BLEND_OP_ADD = 0, 680 VK_BLEND_OP_SUBTRACT = 1, 681 VK_BLEND_OP_REVERSE_SUBTRACT = 2, 682 VK_BLEND_OP_MIN = 3, 683 VK_BLEND_OP_MAX = 4, 684 685 VK_BLEND_OP_LAST 686}; 687 688enum VkDynamicState 689{ 690 VK_DYNAMIC_STATE_VIEWPORT = 0, 691 VK_DYNAMIC_STATE_SCISSOR = 1, 692 VK_DYNAMIC_STATE_LINE_WIDTH = 2, 693 VK_DYNAMIC_STATE_DEPTH_BIAS = 3, 694 VK_DYNAMIC_STATE_BLEND_CONSTANTS = 4, 695 VK_DYNAMIC_STATE_DEPTH_BOUNDS = 5, 696 VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK = 6, 697 VK_DYNAMIC_STATE_STENCIL_WRITE_MASK = 7, 698 VK_DYNAMIC_STATE_STENCIL_REFERENCE = 8, 699 700 VK_DYNAMIC_STATE_LAST 701}; 702 703enum VkFilter 704{ 705 VK_FILTER_NEAREST = 0, 706 VK_FILTER_LINEAR = 1, 707 708 VK_FILTER_LAST 709}; 710 711enum VkSamplerMipmapMode 712{ 713 VK_SAMPLER_MIPMAP_MODE_NEAREST = 0, 714 VK_SAMPLER_MIPMAP_MODE_LINEAR = 1, 715 716 VK_SAMPLER_MIPMAP_MODE_LAST 717}; 718 719enum VkSamplerAddressMode 720{ 721 VK_SAMPLER_ADDRESS_MODE_REPEAT = 0, 722 VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT = 1, 723 VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE = 2, 724 VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER = 3, 725 VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE = 4, 726 727 VK_SAMPLER_ADDRESS_MODE_LAST 728}; 729 730enum VkBorderColor 731{ 732 VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK = 0, 733 VK_BORDER_COLOR_INT_TRANSPARENT_BLACK = 1, 734 VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK = 2, 735 VK_BORDER_COLOR_INT_OPAQUE_BLACK = 3, 736 VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE = 4, 737 VK_BORDER_COLOR_INT_OPAQUE_WHITE = 5, 738 739 VK_BORDER_COLOR_LAST 740}; 741 742enum VkDescriptorType 743{ 744 VK_DESCRIPTOR_TYPE_SAMPLER = 0, 745 VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER = 1, 746 VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE = 2, 747 VK_DESCRIPTOR_TYPE_STORAGE_IMAGE = 3, 748 VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER = 4, 749 VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER = 5, 750 VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER = 6, 751 VK_DESCRIPTOR_TYPE_STORAGE_BUFFER = 7, 752 VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC = 8, 753 VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC = 9, 754 VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT = 10, 755 756 VK_DESCRIPTOR_TYPE_LAST 757}; 758 759enum VkAttachmentLoadOp 760{ 761 VK_ATTACHMENT_LOAD_OP_LOAD = 0, 762 VK_ATTACHMENT_LOAD_OP_CLEAR = 1, 763 VK_ATTACHMENT_LOAD_OP_DONT_CARE = 2, 764 765 VK_ATTACHMENT_LOAD_OP_LAST 766}; 767 768enum VkAttachmentStoreOp 769{ 770 VK_ATTACHMENT_STORE_OP_STORE = 0, 771 VK_ATTACHMENT_STORE_OP_DONT_CARE = 1, 772 773 VK_ATTACHMENT_STORE_OP_LAST 774}; 775 776enum VkPipelineBindPoint 777{ 778 VK_PIPELINE_BIND_POINT_GRAPHICS = 0, 779 VK_PIPELINE_BIND_POINT_COMPUTE = 1, 780 781 VK_PIPELINE_BIND_POINT_LAST 782}; 783 784enum VkCommandBufferLevel 785{ 786 VK_COMMAND_BUFFER_LEVEL_PRIMARY = 0, 787 VK_COMMAND_BUFFER_LEVEL_SECONDARY = 1, 788 789 VK_COMMAND_BUFFER_LEVEL_LAST 790}; 791 792enum VkIndexType 793{ 794 VK_INDEX_TYPE_UINT16 = 0, 795 VK_INDEX_TYPE_UINT32 = 1, 796 797 VK_INDEX_TYPE_LAST 798}; 799 800enum VkSubpassContents 801{ 802 VK_SUBPASS_CONTENTS_INLINE = 0, 803 VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS = 1, 804 805 VK_SUBPASS_CONTENTS_LAST 806}; 807 808enum VkObjectType 809{ 810 VK_OBJECT_TYPE_UNKNOWN = 0, 811 VK_OBJECT_TYPE_INSTANCE = 1, 812 VK_OBJECT_TYPE_PHYSICAL_DEVICE = 2, 813 VK_OBJECT_TYPE_DEVICE = 3, 814 VK_OBJECT_TYPE_QUEUE = 4, 815 VK_OBJECT_TYPE_SEMAPHORE = 5, 816 VK_OBJECT_TYPE_COMMAND_BUFFER = 6, 817 VK_OBJECT_TYPE_FENCE = 7, 818 VK_OBJECT_TYPE_DEVICE_MEMORY = 8, 819 VK_OBJECT_TYPE_BUFFER = 9, 820 VK_OBJECT_TYPE_IMAGE = 10, 821 VK_OBJECT_TYPE_EVENT = 11, 822 VK_OBJECT_TYPE_QUERY_POOL = 12, 823 VK_OBJECT_TYPE_BUFFER_VIEW = 13, 824 VK_OBJECT_TYPE_IMAGE_VIEW = 14, 825 VK_OBJECT_TYPE_SHADER_MODULE = 15, 826 VK_OBJECT_TYPE_PIPELINE_CACHE = 16, 827 VK_OBJECT_TYPE_PIPELINE_LAYOUT = 17, 828 VK_OBJECT_TYPE_RENDER_PASS = 18, 829 VK_OBJECT_TYPE_PIPELINE = 19, 830 VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT = 20, 831 VK_OBJECT_TYPE_SAMPLER = 21, 832 VK_OBJECT_TYPE_DESCRIPTOR_POOL = 22, 833 VK_OBJECT_TYPE_DESCRIPTOR_SET = 23, 834 VK_OBJECT_TYPE_FRAMEBUFFER = 24, 835 VK_OBJECT_TYPE_COMMAND_POOL = 25, 836 VK_OBJECT_TYPE_SURFACE_KHR = 1000000000, 837 VK_OBJECT_TYPE_SWAPCHAIN_KHR = 1000001000, 838 VK_OBJECT_TYPE_DISPLAY_KHR = 1000002000, 839 VK_OBJECT_TYPE_DISPLAY_MODE_KHR = 1000002001, 840 VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT = 1000011000, 841 VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR = 1000085000, 842 VK_OBJECT_TYPE_OBJECT_TABLE_NVX = 1000086000, 843 VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX = 1000086001, 844}; 845 846enum VkColorSpaceKHR 847{ 848 VK_COLOR_SPACE_SRGB_NONLINEAR_KHR = 0, 849 VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT = 1000104001, 850 VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT = 1000104002, 851 VK_COLOR_SPACE_DCI_P3_LINEAR_EXT = 1000104003, 852 VK_COLOR_SPACE_DCI_P3_NONLINEAR_EXT = 1000104004, 853 VK_COLOR_SPACE_BT709_LINEAR_EXT = 1000104005, 854 VK_COLOR_SPACE_BT709_NONLINEAR_EXT = 1000104006, 855 VK_COLOR_SPACE_BT2020_LINEAR_EXT = 1000104007, 856 VK_COLOR_SPACE_HDR10_ST2084_EXT = 1000104008, 857 VK_COLOR_SPACE_DOLBYVISION_EXT = 1000104009, 858 VK_COLOR_SPACE_HDR10_HLG_EXT = 1000104010, 859 VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT = 1000104011, 860 VK_COLOR_SPACE_ADOBERGB_NONLINEAR_EXT = 1000104012, 861 VK_COLOR_SPACE_PASS_THROUGH_EXT = 1000104013, 862}; 863 864enum VkPresentModeKHR 865{ 866 VK_PRESENT_MODE_IMMEDIATE_KHR = 0, 867 VK_PRESENT_MODE_MAILBOX_KHR = 1, 868 VK_PRESENT_MODE_FIFO_KHR = 2, 869 VK_PRESENT_MODE_FIFO_RELAXED_KHR = 3, 870 VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR = 1000111000, 871 VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR = 1000111001, 872}; 873 874enum VkDescriptorUpdateTemplateTypeKHR 875{ 876 VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET_KHR = 0, 877 VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR = 1, 878 879 VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_KHR_LAST 880}; 881 882enum VkPointClippingBehaviorKHR 883{ 884 VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES_KHR = 0, 885 VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY_KHR = 1, 886 887 VK_POINT_CLIPPING_BEHAVIOR_KHR_LAST 888}; 889 890enum VkTessellationDomainOriginKHR 891{ 892 VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT_KHR = 0, 893 VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT_KHR = 1, 894 895 VK_TESSELLATION_DOMAIN_ORIGIN_KHR_LAST 896}; 897 898enum VkSamplerYcbcrModelConversionKHR 899{ 900 VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY_KHR = 0, 901 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY_KHR = 1, 902 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709_KHR = 2, 903 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601_KHR = 3, 904 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020_KHR = 4, 905 906 VK_SAMPLER_YCBCR_MODEL_CONVERSION_KHR_LAST 907}; 908 909enum VkSamplerYcbcrRangeKHR 910{ 911 VK_SAMPLER_YCBCR_RANGE_ITU_FULL_KHR = 0, 912 VK_SAMPLER_YCBCR_RANGE_ITU_NARROW_KHR = 1, 913 914 VK_SAMPLER_YCBCR_RANGE_KHR_LAST 915}; 916 917enum VkChromaLocationKHR 918{ 919 VK_CHROMA_LOCATION_COSITED_EVEN_KHR = 0, 920 VK_CHROMA_LOCATION_MIDPOINT_KHR = 1, 921 922 VK_CHROMA_LOCATION_KHR_LAST 923}; 924 925enum VkDebugReportObjectTypeEXT 926{ 927 VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT = 0, 928 VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT = 1, 929 VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT = 2, 930 VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT = 3, 931 VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT = 4, 932 VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT = 5, 933 VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT = 6, 934 VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT = 7, 935 VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT = 8, 936 VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT = 9, 937 VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT = 10, 938 VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT = 11, 939 VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT = 12, 940 VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT = 13, 941 VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT = 14, 942 VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT = 15, 943 VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT = 16, 944 VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT = 17, 945 VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT = 18, 946 VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT = 19, 947 VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT = 20, 948 VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT = 21, 949 VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT = 22, 950 VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT = 23, 951 VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT = 24, 952 VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT = 25, 953 VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT = 26, 954 VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT = 27, 955 VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_EXT = 28, 956 VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT = 29, 957 VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT = 30, 958 VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR_EXT = 1000085000, 959 VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR_EXT = 1000156000, 960}; 961 962enum VkDebugReportErrorEXT 963{ 964 VK_DEBUG_REPORT_ERROR_NONE_EXT = 0, 965 VK_DEBUG_REPORT_ERROR_CALLBACK_REF_EXT = 1, 966 967 VK_DEBUG_REPORT_ERROR_EXT_LAST 968}; 969 970enum VkFormatFeatureFlagBits 971{ 972 VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT = 0x00000001, 973 VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT = 0x00000002, 974 VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT = 0x00000004, 975 VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT = 0x00000008, 976 VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT = 0x00000010, 977 VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT = 0x00000020, 978 VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT = 0x00000040, 979 VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT = 0x00000080, 980 VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT = 0x00000100, 981 VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT = 0x00000200, 982 VK_FORMAT_FEATURE_BLIT_SRC_BIT = 0x00000400, 983 VK_FORMAT_FEATURE_BLIT_DST_BIT = 0x00000800, 984 VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT = 0x00001000, 985 VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR = 0x00004000, 986 VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR = 0x00008000, 987 VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_KHR = 0x00010000, 988 VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT_KHR = 0x00020000, 989 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT_KHR = 0x00040000, 990 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT_KHR = 0x00080000, 991 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT_KHR = 0x00100000, 992 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT_KHR = 0x00200000, 993 VK_FORMAT_FEATURE_DISJOINT_BIT_KHR = 0x00400000, 994 VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT_KHR = 0x00800000, 995}; 996typedef deUint32 VkFormatFeatureFlags; 997 998enum VkImageUsageFlagBits 999{ 1000 VK_IMAGE_USAGE_TRANSFER_SRC_BIT = 0x00000001, 1001 VK_IMAGE_USAGE_TRANSFER_DST_BIT = 0x00000002, 1002 VK_IMAGE_USAGE_SAMPLED_BIT = 0x00000004, 1003 VK_IMAGE_USAGE_STORAGE_BIT = 0x00000008, 1004 VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT = 0x00000010, 1005 VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT = 0x00000020, 1006 VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT = 0x00000040, 1007 VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT = 0x00000080, 1008}; 1009typedef deUint32 VkImageUsageFlags; 1010 1011enum VkImageCreateFlagBits 1012{ 1013 VK_IMAGE_CREATE_SPARSE_BINDING_BIT = 0x00000001, 1014 VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT = 0x00000002, 1015 VK_IMAGE_CREATE_SPARSE_ALIASED_BIT = 0x00000004, 1016 VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT = 0x00000008, 1017 VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT = 0x00000010, 1018 VK_IMAGE_CREATE_BIND_SFR_BIT_KHX = 0x00000040, 1019 VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR = 0x00000020, 1020 VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT_KHR = 0x00000080, 1021 VK_IMAGE_CREATE_EXTENDED_USAGE_BIT_KHR = 0x00000100, 1022 VK_IMAGE_CREATE_ALIAS_BIT_KHR = 0x00000400, 1023 VK_IMAGE_CREATE_DISJOINT_BIT_KHR = 0x00000200, 1024}; 1025typedef deUint32 VkImageCreateFlags; 1026 1027enum VkSampleCountFlagBits 1028{ 1029 VK_SAMPLE_COUNT_1_BIT = 0x00000001, 1030 VK_SAMPLE_COUNT_2_BIT = 0x00000002, 1031 VK_SAMPLE_COUNT_4_BIT = 0x00000004, 1032 VK_SAMPLE_COUNT_8_BIT = 0x00000008, 1033 VK_SAMPLE_COUNT_16_BIT = 0x00000010, 1034 VK_SAMPLE_COUNT_32_BIT = 0x00000020, 1035 VK_SAMPLE_COUNT_64_BIT = 0x00000040, 1036}; 1037typedef deUint32 VkSampleCountFlags; 1038 1039enum VkQueueFlagBits 1040{ 1041 VK_QUEUE_GRAPHICS_BIT = 0x00000001, 1042 VK_QUEUE_COMPUTE_BIT = 0x00000002, 1043 VK_QUEUE_TRANSFER_BIT = 0x00000004, 1044 VK_QUEUE_SPARSE_BINDING_BIT = 0x00000008, 1045}; 1046typedef deUint32 VkQueueFlags; 1047 1048enum VkMemoryPropertyFlagBits 1049{ 1050 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT = 0x00000001, 1051 VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT = 0x00000002, 1052 VK_MEMORY_PROPERTY_HOST_COHERENT_BIT = 0x00000004, 1053 VK_MEMORY_PROPERTY_HOST_CACHED_BIT = 0x00000008, 1054 VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT = 0x00000010, 1055}; 1056typedef deUint32 VkMemoryPropertyFlags; 1057 1058enum VkMemoryHeapFlagBits 1059{ 1060 VK_MEMORY_HEAP_DEVICE_LOCAL_BIT = 0x00000001, 1061 VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHX = 0x00000002, 1062}; 1063typedef deUint32 VkMemoryHeapFlags; 1064 1065enum VkPipelineStageFlagBits 1066{ 1067 VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT = 0x00000001, 1068 VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT = 0x00000002, 1069 VK_PIPELINE_STAGE_VERTEX_INPUT_BIT = 0x00000004, 1070 VK_PIPELINE_STAGE_VERTEX_SHADER_BIT = 0x00000008, 1071 VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT = 0x00000010, 1072 VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT = 0x00000020, 1073 VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT = 0x00000040, 1074 VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT = 0x00000080, 1075 VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT = 0x00000100, 1076 VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT = 0x00000200, 1077 VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT = 0x00000400, 1078 VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT = 0x00000800, 1079 VK_PIPELINE_STAGE_TRANSFER_BIT = 0x00001000, 1080 VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT = 0x00002000, 1081 VK_PIPELINE_STAGE_HOST_BIT = 0x00004000, 1082 VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT = 0x00008000, 1083 VK_PIPELINE_STAGE_ALL_COMMANDS_BIT = 0x00010000, 1084}; 1085typedef deUint32 VkPipelineStageFlags; 1086 1087enum VkImageAspectFlagBits 1088{ 1089 VK_IMAGE_ASPECT_COLOR_BIT = 0x00000001, 1090 VK_IMAGE_ASPECT_DEPTH_BIT = 0x00000002, 1091 VK_IMAGE_ASPECT_STENCIL_BIT = 0x00000004, 1092 VK_IMAGE_ASPECT_METADATA_BIT = 0x00000008, 1093 VK_IMAGE_ASPECT_PLANE_0_BIT_KHR = 0x00000010, 1094 VK_IMAGE_ASPECT_PLANE_1_BIT_KHR = 0x00000020, 1095 VK_IMAGE_ASPECT_PLANE_2_BIT_KHR = 0x00000040, 1096}; 1097typedef deUint32 VkImageAspectFlags; 1098 1099enum VkSparseImageFormatFlagBits 1100{ 1101 VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT = 0x00000001, 1102 VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT = 0x00000002, 1103 VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT = 0x00000004, 1104}; 1105typedef deUint32 VkSparseImageFormatFlags; 1106 1107enum VkSparseMemoryBindFlagBits 1108{ 1109 VK_SPARSE_MEMORY_BIND_METADATA_BIT = 0x00000001, 1110}; 1111typedef deUint32 VkSparseMemoryBindFlags; 1112 1113enum VkFenceCreateFlagBits 1114{ 1115 VK_FENCE_CREATE_SIGNALED_BIT = 0x00000001, 1116}; 1117typedef deUint32 VkFenceCreateFlags; 1118 1119enum VkQueryPipelineStatisticFlagBits 1120{ 1121 VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT = 0x00000001, 1122 VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT = 0x00000002, 1123 VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT = 0x00000004, 1124 VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT = 0x00000008, 1125 VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT = 0x00000010, 1126 VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT = 0x00000020, 1127 VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT = 0x00000040, 1128 VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT = 0x00000080, 1129 VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT = 0x00000100, 1130 VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT = 0x00000200, 1131 VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT = 0x00000400, 1132}; 1133typedef deUint32 VkQueryPipelineStatisticFlags; 1134 1135enum VkQueryResultFlagBits 1136{ 1137 VK_QUERY_RESULT_64_BIT = 0x00000001, 1138 VK_QUERY_RESULT_WAIT_BIT = 0x00000002, 1139 VK_QUERY_RESULT_WITH_AVAILABILITY_BIT = 0x00000004, 1140 VK_QUERY_RESULT_PARTIAL_BIT = 0x00000008, 1141}; 1142typedef deUint32 VkQueryResultFlags; 1143 1144enum VkBufferCreateFlagBits 1145{ 1146 VK_BUFFER_CREATE_SPARSE_BINDING_BIT = 0x00000001, 1147 VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT = 0x00000002, 1148 VK_BUFFER_CREATE_SPARSE_ALIASED_BIT = 0x00000004, 1149}; 1150typedef deUint32 VkBufferCreateFlags; 1151 1152enum VkBufferUsageFlagBits 1153{ 1154 VK_BUFFER_USAGE_TRANSFER_SRC_BIT = 0x00000001, 1155 VK_BUFFER_USAGE_TRANSFER_DST_BIT = 0x00000002, 1156 VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT = 0x00000004, 1157 VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT = 0x00000008, 1158 VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT = 0x00000010, 1159 VK_BUFFER_USAGE_STORAGE_BUFFER_BIT = 0x00000020, 1160 VK_BUFFER_USAGE_INDEX_BUFFER_BIT = 0x00000040, 1161 VK_BUFFER_USAGE_VERTEX_BUFFER_BIT = 0x00000080, 1162 VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT = 0x00000100, 1163}; 1164typedef deUint32 VkBufferUsageFlags; 1165 1166enum VkPipelineCreateFlagBits 1167{ 1168 VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT = 0x00000001, 1169 VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT = 0x00000002, 1170 VK_PIPELINE_CREATE_DERIVATIVE_BIT = 0x00000004, 1171 VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHX = 0x00000008, 1172 VK_PIPELINE_CREATE_DISPATCH_BASE_KHX = 0x00000010, 1173}; 1174typedef deUint32 VkPipelineCreateFlags; 1175 1176enum VkShaderStageFlagBits 1177{ 1178 VK_SHADER_STAGE_VERTEX_BIT = 0x00000001, 1179 VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT = 0x00000002, 1180 VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT = 0x00000004, 1181 VK_SHADER_STAGE_GEOMETRY_BIT = 0x00000008, 1182 VK_SHADER_STAGE_FRAGMENT_BIT = 0x00000010, 1183 VK_SHADER_STAGE_COMPUTE_BIT = 0x00000020, 1184 VK_SHADER_STAGE_ALL_GRAPHICS = 0x0000001F, 1185 VK_SHADER_STAGE_ALL = 0x7FFFFFFF, 1186}; 1187typedef deUint32 VkShaderStageFlags; 1188 1189enum VkCullModeFlagBits 1190{ 1191 VK_CULL_MODE_NONE = 0, 1192 VK_CULL_MODE_FRONT_BIT = 0x00000001, 1193 VK_CULL_MODE_BACK_BIT = 0x00000002, 1194 VK_CULL_MODE_FRONT_AND_BACK = 0x00000003, 1195}; 1196typedef deUint32 VkCullModeFlags; 1197 1198enum VkColorComponentFlagBits 1199{ 1200 VK_COLOR_COMPONENT_R_BIT = 0x00000001, 1201 VK_COLOR_COMPONENT_G_BIT = 0x00000002, 1202 VK_COLOR_COMPONENT_B_BIT = 0x00000004, 1203 VK_COLOR_COMPONENT_A_BIT = 0x00000008, 1204}; 1205typedef deUint32 VkColorComponentFlags; 1206 1207enum VkDescriptorSetLayoutCreateFlagBits 1208{ 1209 VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR = 0x00000001, 1210}; 1211typedef deUint32 VkDescriptorSetLayoutCreateFlags; 1212 1213enum VkDescriptorPoolCreateFlagBits 1214{ 1215 VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT = 0x00000001, 1216}; 1217typedef deUint32 VkDescriptorPoolCreateFlags; 1218 1219enum VkAttachmentDescriptionFlagBits 1220{ 1221 VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT = 0x00000001, 1222}; 1223typedef deUint32 VkAttachmentDescriptionFlags; 1224 1225typedef deUint32 VkSubpassDescriptionFlags; 1226 1227enum VkAccessFlagBits 1228{ 1229 VK_ACCESS_INDIRECT_COMMAND_READ_BIT = 0x00000001, 1230 VK_ACCESS_INDEX_READ_BIT = 0x00000002, 1231 VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT = 0x00000004, 1232 VK_ACCESS_UNIFORM_READ_BIT = 0x00000008, 1233 VK_ACCESS_INPUT_ATTACHMENT_READ_BIT = 0x00000010, 1234 VK_ACCESS_SHADER_READ_BIT = 0x00000020, 1235 VK_ACCESS_SHADER_WRITE_BIT = 0x00000040, 1236 VK_ACCESS_COLOR_ATTACHMENT_READ_BIT = 0x00000080, 1237 VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT = 0x00000100, 1238 VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT = 0x00000200, 1239 VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT = 0x00000400, 1240 VK_ACCESS_TRANSFER_READ_BIT = 0x00000800, 1241 VK_ACCESS_TRANSFER_WRITE_BIT = 0x00001000, 1242 VK_ACCESS_HOST_READ_BIT = 0x00002000, 1243 VK_ACCESS_HOST_WRITE_BIT = 0x00004000, 1244 VK_ACCESS_MEMORY_READ_BIT = 0x00008000, 1245 VK_ACCESS_MEMORY_WRITE_BIT = 0x00010000, 1246}; 1247typedef deUint32 VkAccessFlags; 1248 1249enum VkDependencyFlagBits 1250{ 1251 VK_DEPENDENCY_BY_REGION_BIT = 0x00000001, 1252 VK_DEPENDENCY_VIEW_LOCAL_BIT_KHX = 0x00000002, 1253 VK_DEPENDENCY_DEVICE_GROUP_BIT_KHX = 0x00000004, 1254}; 1255typedef deUint32 VkDependencyFlags; 1256 1257enum VkCommandPoolCreateFlagBits 1258{ 1259 VK_COMMAND_POOL_CREATE_TRANSIENT_BIT = 0x00000001, 1260 VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT = 0x00000002, 1261}; 1262typedef deUint32 VkCommandPoolCreateFlags; 1263 1264enum VkCommandPoolResetFlagBits 1265{ 1266 VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT = 0x00000001, 1267}; 1268typedef deUint32 VkCommandPoolResetFlags; 1269 1270enum VkCommandBufferUsageFlagBits 1271{ 1272 VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT = 0x00000001, 1273 VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT = 0x00000002, 1274 VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT = 0x00000004, 1275}; 1276typedef deUint32 VkCommandBufferUsageFlags; 1277 1278enum VkQueryControlFlagBits 1279{ 1280 VK_QUERY_CONTROL_PRECISE_BIT = 0x00000001, 1281}; 1282typedef deUint32 VkQueryControlFlags; 1283 1284enum VkCommandBufferResetFlagBits 1285{ 1286 VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT = 0x00000001, 1287}; 1288typedef deUint32 VkCommandBufferResetFlags; 1289 1290enum VkStencilFaceFlagBits 1291{ 1292 VK_STENCIL_FACE_FRONT_BIT = 0x00000001, 1293 VK_STENCIL_FACE_BACK_BIT = 0x00000002, 1294 VK_STENCIL_FRONT_AND_BACK = 0x00000003, 1295}; 1296typedef deUint32 VkStencilFaceFlags; 1297 1298enum VkSurfaceTransformFlagBitsKHR 1299{ 1300 VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR = 0x00000001, 1301 VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR = 0x00000002, 1302 VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR = 0x00000004, 1303 VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR = 0x00000008, 1304 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR = 0x00000010, 1305 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR = 0x00000020, 1306 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR = 0x00000040, 1307 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR = 0x00000080, 1308 VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR = 0x00000100, 1309}; 1310typedef deUint32 VkSurfaceTransformFlagsKHR; 1311 1312enum VkCompositeAlphaFlagBitsKHR 1313{ 1314 VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR = 0x00000001, 1315 VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR = 0x00000002, 1316 VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR = 0x00000004, 1317 VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR = 0x00000008, 1318}; 1319typedef deUint32 VkCompositeAlphaFlagsKHR; 1320 1321enum VkSwapchainCreateFlagBitsKHR 1322{ 1323 VK_SWAPCHAIN_CREATE_BIND_SFR_BIT_KHX = 0x00000001, 1324}; 1325typedef deUint32 VkSwapchainCreateFlagsKHR; 1326 1327enum VkDisplayPlaneAlphaFlagBitsKHR 1328{ 1329 VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR = 0x00000001, 1330 VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR = 0x00000002, 1331 VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR = 0x00000004, 1332 VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR = 0x00000008, 1333}; 1334typedef deUint32 VkDisplayPlaneAlphaFlagsKHR; 1335 1336enum VkExternalFenceHandleTypeFlagBitsKHR 1337{ 1338 VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR = 0x00000001, 1339 VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR = 0x00000002, 1340 VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR = 0x00000004, 1341 VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT_KHR = 0x00000008, 1342}; 1343typedef deUint32 VkExternalFenceHandleTypeFlagsKHR; 1344 1345enum VkExternalFenceFeatureFlagBitsKHR 1346{ 1347 VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT_KHR = 0x00000001, 1348 VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT_KHR = 0x00000002, 1349}; 1350typedef deUint32 VkExternalFenceFeatureFlagsKHR; 1351 1352enum VkFenceImportFlagBitsKHR 1353{ 1354 VK_FENCE_IMPORT_TEMPORARY_BIT_KHR = 0x00000001, 1355}; 1356typedef deUint32 VkFenceImportFlagsKHR; 1357 1358enum VkDebugReportFlagBitsEXT 1359{ 1360 VK_DEBUG_REPORT_INFORMATION_BIT_EXT = 0x00000001, 1361 VK_DEBUG_REPORT_WARNING_BIT_EXT = 0x00000002, 1362 VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT = 0x00000004, 1363 VK_DEBUG_REPORT_ERROR_BIT_EXT = 0x00000008, 1364 VK_DEBUG_REPORT_DEBUG_BIT_EXT = 0x00000010, 1365}; 1366typedef deUint32 VkDebugReportFlagsEXT; 1367 1368enum VkExternalMemoryHandleTypeFlagBitsKHR 1369{ 1370 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT_KHR = 0x00000001, 1371 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR = 0x00000002, 1372 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR = 0x00000004, 1373 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT_KHR = 0x00000008, 1374 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT_KHR = 0x00000010, 1375 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT_KHR = 0x00000020, 1376 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT_KHR = 0x00000040, 1377}; 1378typedef deUint32 VkExternalMemoryHandleTypeFlagsKHR; 1379 1380enum VkExternalMemoryFeatureFlagBitsKHR 1381{ 1382 VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_KHR = 0x00000001, 1383 VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_KHR = 0x00000002, 1384 VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_KHR = 0x00000004, 1385}; 1386typedef deUint32 VkExternalMemoryFeatureFlagsKHR; 1387 1388enum VkExternalSemaphoreHandleTypeFlagBitsKHR 1389{ 1390 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR = 0x00000001, 1391 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR = 0x00000002, 1392 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR = 0x00000004, 1393 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT_KHR = 0x00000008, 1394 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT_KHR = 0x00000010, 1395}; 1396typedef deUint32 VkExternalSemaphoreHandleTypeFlagsKHR; 1397 1398enum VkExternalSemaphoreFeatureFlagBitsKHR 1399{ 1400 VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT_KHR = 0x00000001, 1401 VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT_KHR = 0x00000002, 1402}; 1403typedef deUint32 VkExternalSemaphoreFeatureFlagsKHR; 1404 1405enum VkSemaphoreImportFlagBitsKHR 1406{ 1407 VK_SEMAPHORE_IMPORT_TEMPORARY_BIT_KHR = 0x00000001, 1408}; 1409typedef deUint32 VkSemaphoreImportFlagsKHR; 1410 1411typedef deUint32 VkInstanceCreateFlags; 1412 1413typedef deUint32 VkDeviceCreateFlags; 1414 1415typedef deUint32 VkDeviceQueueCreateFlags; 1416 1417typedef deUint32 VkMemoryMapFlags; 1418 1419typedef deUint32 VkSemaphoreCreateFlags; 1420 1421typedef deUint32 VkEventCreateFlags; 1422 1423typedef deUint32 VkQueryPoolCreateFlags; 1424 1425typedef deUint32 VkBufferViewCreateFlags; 1426 1427typedef deUint32 VkImageViewCreateFlags; 1428 1429typedef deUint32 VkShaderModuleCreateFlags; 1430 1431typedef deUint32 VkPipelineCacheCreateFlags; 1432 1433typedef deUint32 VkPipelineShaderStageCreateFlags; 1434 1435typedef deUint32 VkPipelineVertexInputStateCreateFlags; 1436 1437typedef deUint32 VkPipelineInputAssemblyStateCreateFlags; 1438 1439typedef deUint32 VkPipelineTessellationStateCreateFlags; 1440 1441typedef deUint32 VkPipelineViewportStateCreateFlags; 1442 1443typedef deUint32 VkPipelineRasterizationStateCreateFlags; 1444 1445typedef deUint32 VkPipelineMultisampleStateCreateFlags; 1446 1447typedef deUint32 VkPipelineDepthStencilStateCreateFlags; 1448 1449typedef deUint32 VkPipelineColorBlendStateCreateFlags; 1450 1451typedef deUint32 VkPipelineDynamicStateCreateFlags; 1452 1453typedef deUint32 VkPipelineLayoutCreateFlags; 1454 1455typedef deUint32 VkSamplerCreateFlags; 1456 1457typedef deUint32 VkDescriptorPoolResetFlags; 1458 1459typedef deUint32 VkFramebufferCreateFlags; 1460 1461typedef deUint32 VkRenderPassCreateFlags; 1462 1463typedef deUint32 VkDisplayModeCreateFlagsKHR; 1464 1465typedef deUint32 VkDisplaySurfaceCreateFlagsKHR; 1466 1467typedef deUint32 VkXlibSurfaceCreateFlagsKHR; 1468 1469typedef deUint32 VkXcbSurfaceCreateFlagsKHR; 1470 1471typedef deUint32 VkWaylandSurfaceCreateFlagsKHR; 1472 1473typedef deUint32 VkMirSurfaceCreateFlagsKHR; 1474 1475typedef deUint32 VkAndroidSurfaceCreateFlagsKHR; 1476 1477typedef deUint32 VkWin32SurfaceCreateFlagsKHR; 1478 1479typedef deUint32 VkCommandPoolTrimFlagsKHR; 1480 1481typedef deUint32 VkDescriptorUpdateTemplateCreateFlagsKHR; 1482 1483VK_DEFINE_PLATFORM_TYPE(XlibDisplayPtr, void*); 1484VK_DEFINE_PLATFORM_TYPE(XlibWindow, deUintptr); 1485VK_DEFINE_PLATFORM_TYPE(XlibVisualID, deUint32); 1486VK_DEFINE_PLATFORM_TYPE(XcbConnectionPtr, void*); 1487VK_DEFINE_PLATFORM_TYPE(XcbWindow, deUintptr); 1488VK_DEFINE_PLATFORM_TYPE(XcbVisualid, deUint32); 1489VK_DEFINE_PLATFORM_TYPE(WaylandDisplayPtr, void*); 1490VK_DEFINE_PLATFORM_TYPE(WaylandSurfacePtr, void*); 1491VK_DEFINE_PLATFORM_TYPE(MirConnectionPtr, void*); 1492VK_DEFINE_PLATFORM_TYPE(MirSurfacePtr, void*); 1493VK_DEFINE_PLATFORM_TYPE(AndroidNativeWindowPtr, void*); 1494VK_DEFINE_PLATFORM_TYPE(Win32InstanceHandle, void*); 1495VK_DEFINE_PLATFORM_TYPE(Win32WindowHandle, void*); 1496VK_DEFINE_PLATFORM_TYPE(Win32Handle, void*); 1497VK_DEFINE_PLATFORM_TYPE(Win32SecurityAttributesPtr, const void*); 1498