| // *** THIS FILE IS GENERATED - DO NOT EDIT *** |
| // See helper_file_generator.py for modifications |
| |
| |
| /*************************************************************************** |
| * |
| * Copyright (c) 2015-2017 The Khronos Group Inc. |
| * Copyright (c) 2015-2017 Valve Corporation |
| * Copyright (c) 2015-2017 LunarG, Inc. |
| * Copyright (c) 2015-2017 Google Inc. |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| * |
| * Author: Mark Lobodzinski <mark@lunarg.com> |
| * Author: Courtney Goeltzenleuchter <courtneygo@google.com> |
| * Author: Tobin Ehlis <tobine@google.com> |
| * Author: Chris Forbes <chrisforbes@google.com> |
| * Author: John Zulauf<jzulauf@lunarg.com> |
| * |
| ****************************************************************************/ |
| |
| #pragma once |
| #include <vulkan/vulkan.h> |
| |
| // These empty generic templates are specialized for each type with sType |
| // members and for each sType -- providing a two way map between structure |
| // types and sTypes |
| |
| template <VkStructureType id> struct LvlSTypeMap {}; |
| template <typename T> struct LvlTypeMap {}; |
| |
| // Map type VkApplicationInfo to id VK_STRUCTURE_TYPE_APPLICATION_INFO |
| template <> struct LvlTypeMap<VkApplicationInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_APPLICATION_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_APPLICATION_INFO> { |
| typedef VkApplicationInfo Type; |
| }; |
| |
| // Map type VkInstanceCreateInfo to id VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO |
| template <> struct LvlTypeMap<VkInstanceCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO> { |
| typedef VkInstanceCreateInfo Type; |
| }; |
| |
| // Map type VkDeviceQueueCreateInfo to id VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO |
| template <> struct LvlTypeMap<VkDeviceQueueCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO> { |
| typedef VkDeviceQueueCreateInfo Type; |
| }; |
| |
| // Map type VkDeviceCreateInfo to id VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO |
| template <> struct LvlTypeMap<VkDeviceCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO> { |
| typedef VkDeviceCreateInfo Type; |
| }; |
| |
| // Map type VkSubmitInfo to id VK_STRUCTURE_TYPE_SUBMIT_INFO |
| template <> struct LvlTypeMap<VkSubmitInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SUBMIT_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SUBMIT_INFO> { |
| typedef VkSubmitInfo Type; |
| }; |
| |
| // Map type VkMemoryAllocateInfo to id VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO |
| template <> struct LvlTypeMap<VkMemoryAllocateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO> { |
| typedef VkMemoryAllocateInfo Type; |
| }; |
| |
| // Map type VkMappedMemoryRange to id VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE |
| template <> struct LvlTypeMap<VkMappedMemoryRange> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE> { |
| typedef VkMappedMemoryRange Type; |
| }; |
| |
| // Map type VkBindSparseInfo to id VK_STRUCTURE_TYPE_BIND_SPARSE_INFO |
| template <> struct LvlTypeMap<VkBindSparseInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_BIND_SPARSE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BIND_SPARSE_INFO> { |
| typedef VkBindSparseInfo Type; |
| }; |
| |
| // Map type VkFenceCreateInfo to id VK_STRUCTURE_TYPE_FENCE_CREATE_INFO |
| template <> struct LvlTypeMap<VkFenceCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_FENCE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_FENCE_CREATE_INFO> { |
| typedef VkFenceCreateInfo Type; |
| }; |
| |
| // Map type VkSemaphoreCreateInfo to id VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO |
| template <> struct LvlTypeMap<VkSemaphoreCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO> { |
| typedef VkSemaphoreCreateInfo Type; |
| }; |
| |
| // Map type VkEventCreateInfo to id VK_STRUCTURE_TYPE_EVENT_CREATE_INFO |
| template <> struct LvlTypeMap<VkEventCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EVENT_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EVENT_CREATE_INFO> { |
| typedef VkEventCreateInfo Type; |
| }; |
| |
| // Map type VkQueryPoolCreateInfo to id VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO |
| template <> struct LvlTypeMap<VkQueryPoolCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO> { |
| typedef VkQueryPoolCreateInfo Type; |
| }; |
| |
| // Map type VkBufferCreateInfo to id VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO |
| template <> struct LvlTypeMap<VkBufferCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO> { |
| typedef VkBufferCreateInfo Type; |
| }; |
| |
| // Map type VkBufferViewCreateInfo to id VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO |
| template <> struct LvlTypeMap<VkBufferViewCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO> { |
| typedef VkBufferViewCreateInfo Type; |
| }; |
| |
| // Map type VkImageCreateInfo to id VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO |
| template <> struct LvlTypeMap<VkImageCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO> { |
| typedef VkImageCreateInfo Type; |
| }; |
| |
| // Map type VkImageViewCreateInfo to id VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO |
| template <> struct LvlTypeMap<VkImageViewCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO> { |
| typedef VkImageViewCreateInfo Type; |
| }; |
| |
| // Map type VkShaderModuleCreateInfo to id VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO |
| template <> struct LvlTypeMap<VkShaderModuleCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO> { |
| typedef VkShaderModuleCreateInfo Type; |
| }; |
| |
| // Map type VkPipelineCacheCreateInfo to id VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO |
| template <> struct LvlTypeMap<VkPipelineCacheCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO> { |
| typedef VkPipelineCacheCreateInfo Type; |
| }; |
| |
| // Map type VkPipelineShaderStageCreateInfo to id VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO |
| template <> struct LvlTypeMap<VkPipelineShaderStageCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO> { |
| typedef VkPipelineShaderStageCreateInfo Type; |
| }; |
| |
| // Map type VkPipelineVertexInputStateCreateInfo to id VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO |
| template <> struct LvlTypeMap<VkPipelineVertexInputStateCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO> { |
| typedef VkPipelineVertexInputStateCreateInfo Type; |
| }; |
| |
| // Map type VkPipelineInputAssemblyStateCreateInfo to id VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO |
| template <> struct LvlTypeMap<VkPipelineInputAssemblyStateCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO> { |
| typedef VkPipelineInputAssemblyStateCreateInfo Type; |
| }; |
| |
| // Map type VkPipelineTessellationStateCreateInfo to id VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO |
| template <> struct LvlTypeMap<VkPipelineTessellationStateCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO> { |
| typedef VkPipelineTessellationStateCreateInfo Type; |
| }; |
| |
| // Map type VkPipelineViewportStateCreateInfo to id VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO |
| template <> struct LvlTypeMap<VkPipelineViewportStateCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO> { |
| typedef VkPipelineViewportStateCreateInfo Type; |
| }; |
| |
| // Map type VkPipelineRasterizationStateCreateInfo to id VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO |
| template <> struct LvlTypeMap<VkPipelineRasterizationStateCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO> { |
| typedef VkPipelineRasterizationStateCreateInfo Type; |
| }; |
| |
| // Map type VkPipelineMultisampleStateCreateInfo to id VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO |
| template <> struct LvlTypeMap<VkPipelineMultisampleStateCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO> { |
| typedef VkPipelineMultisampleStateCreateInfo Type; |
| }; |
| |
| // Map type VkPipelineDepthStencilStateCreateInfo to id VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO |
| template <> struct LvlTypeMap<VkPipelineDepthStencilStateCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO> { |
| typedef VkPipelineDepthStencilStateCreateInfo Type; |
| }; |
| |
| // Map type VkPipelineColorBlendStateCreateInfo to id VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO |
| template <> struct LvlTypeMap<VkPipelineColorBlendStateCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO> { |
| typedef VkPipelineColorBlendStateCreateInfo Type; |
| }; |
| |
| // Map type VkPipelineDynamicStateCreateInfo to id VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO |
| template <> struct LvlTypeMap<VkPipelineDynamicStateCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO> { |
| typedef VkPipelineDynamicStateCreateInfo Type; |
| }; |
| |
| // Map type VkGraphicsPipelineCreateInfo to id VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO |
| template <> struct LvlTypeMap<VkGraphicsPipelineCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO> { |
| typedef VkGraphicsPipelineCreateInfo Type; |
| }; |
| |
| // Map type VkComputePipelineCreateInfo to id VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO |
| template <> struct LvlTypeMap<VkComputePipelineCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO> { |
| typedef VkComputePipelineCreateInfo Type; |
| }; |
| |
| // Map type VkPipelineLayoutCreateInfo to id VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO |
| template <> struct LvlTypeMap<VkPipelineLayoutCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO> { |
| typedef VkPipelineLayoutCreateInfo Type; |
| }; |
| |
| // Map type VkSamplerCreateInfo to id VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO |
| template <> struct LvlTypeMap<VkSamplerCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO> { |
| typedef VkSamplerCreateInfo Type; |
| }; |
| |
| // Map type VkDescriptorSetLayoutCreateInfo to id VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO |
| template <> struct LvlTypeMap<VkDescriptorSetLayoutCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO> { |
| typedef VkDescriptorSetLayoutCreateInfo Type; |
| }; |
| |
| // Map type VkDescriptorPoolCreateInfo to id VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO |
| template <> struct LvlTypeMap<VkDescriptorPoolCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO> { |
| typedef VkDescriptorPoolCreateInfo Type; |
| }; |
| |
| // Map type VkDescriptorSetAllocateInfo to id VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO |
| template <> struct LvlTypeMap<VkDescriptorSetAllocateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO> { |
| typedef VkDescriptorSetAllocateInfo Type; |
| }; |
| |
| // Map type VkWriteDescriptorSet to id VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET |
| template <> struct LvlTypeMap<VkWriteDescriptorSet> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET> { |
| typedef VkWriteDescriptorSet Type; |
| }; |
| |
| // Map type VkCopyDescriptorSet to id VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET |
| template <> struct LvlTypeMap<VkCopyDescriptorSet> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET> { |
| typedef VkCopyDescriptorSet Type; |
| }; |
| |
| // Map type VkFramebufferCreateInfo to id VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO |
| template <> struct LvlTypeMap<VkFramebufferCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO> { |
| typedef VkFramebufferCreateInfo Type; |
| }; |
| |
| // Map type VkRenderPassCreateInfo to id VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO |
| template <> struct LvlTypeMap<VkRenderPassCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO> { |
| typedef VkRenderPassCreateInfo Type; |
| }; |
| |
| // Map type VkCommandPoolCreateInfo to id VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO |
| template <> struct LvlTypeMap<VkCommandPoolCreateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO> { |
| typedef VkCommandPoolCreateInfo Type; |
| }; |
| |
| // Map type VkCommandBufferAllocateInfo to id VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO |
| template <> struct LvlTypeMap<VkCommandBufferAllocateInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO> { |
| typedef VkCommandBufferAllocateInfo Type; |
| }; |
| |
| // Map type VkCommandBufferInheritanceInfo to id VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO |
| template <> struct LvlTypeMap<VkCommandBufferInheritanceInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO> { |
| typedef VkCommandBufferInheritanceInfo Type; |
| }; |
| |
| // Map type VkCommandBufferBeginInfo to id VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO |
| template <> struct LvlTypeMap<VkCommandBufferBeginInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO> { |
| typedef VkCommandBufferBeginInfo Type; |
| }; |
| |
| // Map type VkMemoryBarrier to id VK_STRUCTURE_TYPE_MEMORY_BARRIER |
| template <> struct LvlTypeMap<VkMemoryBarrier> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MEMORY_BARRIER; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MEMORY_BARRIER> { |
| typedef VkMemoryBarrier Type; |
| }; |
| |
| // Map type VkBufferMemoryBarrier to id VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER |
| template <> struct LvlTypeMap<VkBufferMemoryBarrier> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER> { |
| typedef VkBufferMemoryBarrier Type; |
| }; |
| |
| // Map type VkImageMemoryBarrier to id VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER |
| template <> struct LvlTypeMap<VkImageMemoryBarrier> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER> { |
| typedef VkImageMemoryBarrier Type; |
| }; |
| |
| // Map type VkRenderPassBeginInfo to id VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO |
| template <> struct LvlTypeMap<VkRenderPassBeginInfo> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO> { |
| typedef VkRenderPassBeginInfo Type; |
| }; |
| |
| // Map type VkSwapchainCreateInfoKHR to id VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkSwapchainCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR> { |
| typedef VkSwapchainCreateInfoKHR Type; |
| }; |
| |
| // Map type VkPresentInfoKHR to id VK_STRUCTURE_TYPE_PRESENT_INFO_KHR |
| template <> struct LvlTypeMap<VkPresentInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PRESENT_INFO_KHR> { |
| typedef VkPresentInfoKHR Type; |
| }; |
| |
| // Map type VkDisplayModeCreateInfoKHR to id VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkDisplayModeCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR> { |
| typedef VkDisplayModeCreateInfoKHR Type; |
| }; |
| |
| // Map type VkDisplaySurfaceCreateInfoKHR to id VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkDisplaySurfaceCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR> { |
| typedef VkDisplaySurfaceCreateInfoKHR Type; |
| }; |
| |
| // Map type VkDisplayPresentInfoKHR to id VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR |
| template <> struct LvlTypeMap<VkDisplayPresentInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR> { |
| typedef VkDisplayPresentInfoKHR Type; |
| }; |
| |
| #ifdef VK_USE_PLATFORM_XLIB_KHR |
| // Map type VkXlibSurfaceCreateInfoKHR to id VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkXlibSurfaceCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR> { |
| typedef VkXlibSurfaceCreateInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_XLIB_KHR |
| #ifdef VK_USE_PLATFORM_XCB_KHR |
| // Map type VkXcbSurfaceCreateInfoKHR to id VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkXcbSurfaceCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR> { |
| typedef VkXcbSurfaceCreateInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_XCB_KHR |
| #ifdef VK_USE_PLATFORM_WAYLAND_KHR |
| // Map type VkWaylandSurfaceCreateInfoKHR to id VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkWaylandSurfaceCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR> { |
| typedef VkWaylandSurfaceCreateInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WAYLAND_KHR |
| #ifdef VK_USE_PLATFORM_MIR_KHR |
| // Map type VkMirSurfaceCreateInfoKHR to id VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkMirSurfaceCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR> { |
| typedef VkMirSurfaceCreateInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_MIR_KHR |
| #ifdef VK_USE_PLATFORM_ANDROID_KHR |
| // Map type VkAndroidSurfaceCreateInfoKHR to id VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkAndroidSurfaceCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR> { |
| typedef VkAndroidSurfaceCreateInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_ANDROID_KHR |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkWin32SurfaceCreateInfoKHR to id VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkWin32SurfaceCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR> { |
| typedef VkWin32SurfaceCreateInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkPhysicalDeviceFeatures2KHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHR |
| template <> struct LvlTypeMap<VkPhysicalDeviceFeatures2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHR> { |
| typedef VkPhysicalDeviceFeatures2KHR Type; |
| }; |
| |
| // Map type VkPhysicalDeviceProperties2KHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHR |
| template <> struct LvlTypeMap<VkPhysicalDeviceProperties2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHR> { |
| typedef VkPhysicalDeviceProperties2KHR Type; |
| }; |
| |
| // Map type VkFormatProperties2KHR to id VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHR |
| template <> struct LvlTypeMap<VkFormatProperties2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHR> { |
| typedef VkFormatProperties2KHR Type; |
| }; |
| |
| // Map type VkImageFormatProperties2KHR to id VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHR |
| template <> struct LvlTypeMap<VkImageFormatProperties2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHR> { |
| typedef VkImageFormatProperties2KHR Type; |
| }; |
| |
| // Map type VkPhysicalDeviceImageFormatInfo2KHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHR |
| template <> struct LvlTypeMap<VkPhysicalDeviceImageFormatInfo2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHR> { |
| typedef VkPhysicalDeviceImageFormatInfo2KHR Type; |
| }; |
| |
| // Map type VkQueueFamilyProperties2KHR to id VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHR |
| template <> struct LvlTypeMap<VkQueueFamilyProperties2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHR> { |
| typedef VkQueueFamilyProperties2KHR Type; |
| }; |
| |
| // Map type VkPhysicalDeviceMemoryProperties2KHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHR |
| template <> struct LvlTypeMap<VkPhysicalDeviceMemoryProperties2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHR> { |
| typedef VkPhysicalDeviceMemoryProperties2KHR Type; |
| }; |
| |
| // Map type VkSparseImageFormatProperties2KHR to id VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHR |
| template <> struct LvlTypeMap<VkSparseImageFormatProperties2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHR> { |
| typedef VkSparseImageFormatProperties2KHR Type; |
| }; |
| |
| // Map type VkPhysicalDeviceSparseImageFormatInfo2KHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR |
| template <> struct LvlTypeMap<VkPhysicalDeviceSparseImageFormatInfo2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR> { |
| typedef VkPhysicalDeviceSparseImageFormatInfo2KHR Type; |
| }; |
| |
| // Map type VkPhysicalDeviceExternalImageFormatInfoKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO_KHR |
| template <> struct LvlTypeMap<VkPhysicalDeviceExternalImageFormatInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO_KHR> { |
| typedef VkPhysicalDeviceExternalImageFormatInfoKHR Type; |
| }; |
| |
| // Map type VkExternalImageFormatPropertiesKHR to id VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES_KHR |
| template <> struct LvlTypeMap<VkExternalImageFormatPropertiesKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES_KHR> { |
| typedef VkExternalImageFormatPropertiesKHR Type; |
| }; |
| |
| // Map type VkPhysicalDeviceExternalBufferInfoKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO_KHR |
| template <> struct LvlTypeMap<VkPhysicalDeviceExternalBufferInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO_KHR> { |
| typedef VkPhysicalDeviceExternalBufferInfoKHR Type; |
| }; |
| |
| // Map type VkExternalBufferPropertiesKHR to id VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES_KHR |
| template <> struct LvlTypeMap<VkExternalBufferPropertiesKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES_KHR> { |
| typedef VkExternalBufferPropertiesKHR Type; |
| }; |
| |
| // Map type VkPhysicalDeviceIDPropertiesKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES_KHR |
| template <> struct LvlTypeMap<VkPhysicalDeviceIDPropertiesKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES_KHR> { |
| typedef VkPhysicalDeviceIDPropertiesKHR Type; |
| }; |
| |
| // Map type VkExternalMemoryImageCreateInfoKHR to id VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkExternalMemoryImageCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_KHR> { |
| typedef VkExternalMemoryImageCreateInfoKHR Type; |
| }; |
| |
| // Map type VkExternalMemoryBufferCreateInfoKHR to id VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkExternalMemoryBufferCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO_KHR> { |
| typedef VkExternalMemoryBufferCreateInfoKHR Type; |
| }; |
| |
| // Map type VkExportMemoryAllocateInfoKHR to id VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_KHR |
| template <> struct LvlTypeMap<VkExportMemoryAllocateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_KHR> { |
| typedef VkExportMemoryAllocateInfoKHR Type; |
| }; |
| |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkImportMemoryWin32HandleInfoKHR to id VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR |
| template <> struct LvlTypeMap<VkImportMemoryWin32HandleInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR> { |
| typedef VkImportMemoryWin32HandleInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkExportMemoryWin32HandleInfoKHR to id VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR |
| template <> struct LvlTypeMap<VkExportMemoryWin32HandleInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR> { |
| typedef VkExportMemoryWin32HandleInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkMemoryWin32HandlePropertiesKHR to id VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR |
| template <> struct LvlTypeMap<VkMemoryWin32HandlePropertiesKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR> { |
| typedef VkMemoryWin32HandlePropertiesKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkMemoryGetWin32HandleInfoKHR to id VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR |
| template <> struct LvlTypeMap<VkMemoryGetWin32HandleInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR> { |
| typedef VkMemoryGetWin32HandleInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkImportMemoryFdInfoKHR to id VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR |
| template <> struct LvlTypeMap<VkImportMemoryFdInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR> { |
| typedef VkImportMemoryFdInfoKHR Type; |
| }; |
| |
| // Map type VkMemoryFdPropertiesKHR to id VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR |
| template <> struct LvlTypeMap<VkMemoryFdPropertiesKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR> { |
| typedef VkMemoryFdPropertiesKHR Type; |
| }; |
| |
| // Map type VkMemoryGetFdInfoKHR to id VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR |
| template <> struct LvlTypeMap<VkMemoryGetFdInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR> { |
| typedef VkMemoryGetFdInfoKHR Type; |
| }; |
| |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkWin32KeyedMutexAcquireReleaseInfoKHR to id VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR |
| template <> struct LvlTypeMap<VkWin32KeyedMutexAcquireReleaseInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR> { |
| typedef VkWin32KeyedMutexAcquireReleaseInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkPhysicalDeviceExternalSemaphoreInfoKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO_KHR |
| template <> struct LvlTypeMap<VkPhysicalDeviceExternalSemaphoreInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO_KHR> { |
| typedef VkPhysicalDeviceExternalSemaphoreInfoKHR Type; |
| }; |
| |
| // Map type VkExternalSemaphorePropertiesKHR to id VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES_KHR |
| template <> struct LvlTypeMap<VkExternalSemaphorePropertiesKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES_KHR> { |
| typedef VkExternalSemaphorePropertiesKHR Type; |
| }; |
| |
| // Map type VkExportSemaphoreCreateInfoKHR to id VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkExportSemaphoreCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO_KHR> { |
| typedef VkExportSemaphoreCreateInfoKHR Type; |
| }; |
| |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkImportSemaphoreWin32HandleInfoKHR to id VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR |
| template <> struct LvlTypeMap<VkImportSemaphoreWin32HandleInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR> { |
| typedef VkImportSemaphoreWin32HandleInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkExportSemaphoreWin32HandleInfoKHR to id VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR |
| template <> struct LvlTypeMap<VkExportSemaphoreWin32HandleInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR> { |
| typedef VkExportSemaphoreWin32HandleInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkD3D12FenceSubmitInfoKHR to id VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR |
| template <> struct LvlTypeMap<VkD3D12FenceSubmitInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR> { |
| typedef VkD3D12FenceSubmitInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkSemaphoreGetWin32HandleInfoKHR to id VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR |
| template <> struct LvlTypeMap<VkSemaphoreGetWin32HandleInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR> { |
| typedef VkSemaphoreGetWin32HandleInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkImportSemaphoreFdInfoKHR to id VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR |
| template <> struct LvlTypeMap<VkImportSemaphoreFdInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR> { |
| typedef VkImportSemaphoreFdInfoKHR Type; |
| }; |
| |
| // Map type VkSemaphoreGetFdInfoKHR to id VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR |
| template <> struct LvlTypeMap<VkSemaphoreGetFdInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR> { |
| typedef VkSemaphoreGetFdInfoKHR Type; |
| }; |
| |
| // Map type VkPhysicalDevicePushDescriptorPropertiesKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR |
| template <> struct LvlTypeMap<VkPhysicalDevicePushDescriptorPropertiesKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR> { |
| typedef VkPhysicalDevicePushDescriptorPropertiesKHR Type; |
| }; |
| |
| // Map type VkPhysicalDevice16BitStorageFeaturesKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR |
| template <> struct LvlTypeMap<VkPhysicalDevice16BitStorageFeaturesKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR> { |
| typedef VkPhysicalDevice16BitStorageFeaturesKHR Type; |
| }; |
| |
| // Map type VkPresentRegionsKHR to id VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR |
| template <> struct LvlTypeMap<VkPresentRegionsKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR> { |
| typedef VkPresentRegionsKHR Type; |
| }; |
| |
| // Map type VkDescriptorUpdateTemplateCreateInfoKHR to id VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkDescriptorUpdateTemplateCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO_KHR> { |
| typedef VkDescriptorUpdateTemplateCreateInfoKHR Type; |
| }; |
| |
| // Map type VkSharedPresentSurfaceCapabilitiesKHR to id VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR |
| template <> struct LvlTypeMap<VkSharedPresentSurfaceCapabilitiesKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR> { |
| typedef VkSharedPresentSurfaceCapabilitiesKHR Type; |
| }; |
| |
| // Map type VkPhysicalDeviceExternalFenceInfoKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO_KHR |
| template <> struct LvlTypeMap<VkPhysicalDeviceExternalFenceInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO_KHR> { |
| typedef VkPhysicalDeviceExternalFenceInfoKHR Type; |
| }; |
| |
| // Map type VkExternalFencePropertiesKHR to id VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES_KHR |
| template <> struct LvlTypeMap<VkExternalFencePropertiesKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES_KHR> { |
| typedef VkExternalFencePropertiesKHR Type; |
| }; |
| |
| // Map type VkExportFenceCreateInfoKHR to id VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkExportFenceCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO_KHR> { |
| typedef VkExportFenceCreateInfoKHR Type; |
| }; |
| |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkImportFenceWin32HandleInfoKHR to id VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR |
| template <> struct LvlTypeMap<VkImportFenceWin32HandleInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR> { |
| typedef VkImportFenceWin32HandleInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkExportFenceWin32HandleInfoKHR to id VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR |
| template <> struct LvlTypeMap<VkExportFenceWin32HandleInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR> { |
| typedef VkExportFenceWin32HandleInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkFenceGetWin32HandleInfoKHR to id VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR |
| template <> struct LvlTypeMap<VkFenceGetWin32HandleInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR> { |
| typedef VkFenceGetWin32HandleInfoKHR Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkImportFenceFdInfoKHR to id VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR |
| template <> struct LvlTypeMap<VkImportFenceFdInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR> { |
| typedef VkImportFenceFdInfoKHR Type; |
| }; |
| |
| // Map type VkFenceGetFdInfoKHR to id VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR |
| template <> struct LvlTypeMap<VkFenceGetFdInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR> { |
| typedef VkFenceGetFdInfoKHR Type; |
| }; |
| |
| // Map type VkPhysicalDevicePointClippingPropertiesKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES_KHR |
| template <> struct LvlTypeMap<VkPhysicalDevicePointClippingPropertiesKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES_KHR> { |
| typedef VkPhysicalDevicePointClippingPropertiesKHR Type; |
| }; |
| |
| // Map type VkRenderPassInputAttachmentAspectCreateInfoKHR to id VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkRenderPassInputAttachmentAspectCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO_KHR> { |
| typedef VkRenderPassInputAttachmentAspectCreateInfoKHR Type; |
| }; |
| |
| // Map type VkImageViewUsageCreateInfoKHR to id VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkImageViewUsageCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO_KHR> { |
| typedef VkImageViewUsageCreateInfoKHR Type; |
| }; |
| |
| // Map type VkPipelineTessellationDomainOriginStateCreateInfoKHR to id VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkPipelineTessellationDomainOriginStateCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO_KHR> { |
| typedef VkPipelineTessellationDomainOriginStateCreateInfoKHR Type; |
| }; |
| |
| // Map type VkPhysicalDeviceSurfaceInfo2KHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR |
| template <> struct LvlTypeMap<VkPhysicalDeviceSurfaceInfo2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR> { |
| typedef VkPhysicalDeviceSurfaceInfo2KHR Type; |
| }; |
| |
| // Map type VkSurfaceCapabilities2KHR to id VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR |
| template <> struct LvlTypeMap<VkSurfaceCapabilities2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR> { |
| typedef VkSurfaceCapabilities2KHR Type; |
| }; |
| |
| // Map type VkSurfaceFormat2KHR to id VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR |
| template <> struct LvlTypeMap<VkSurfaceFormat2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR> { |
| typedef VkSurfaceFormat2KHR Type; |
| }; |
| |
| // Map type VkPhysicalDeviceVariablePointerFeaturesKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES_KHR |
| template <> struct LvlTypeMap<VkPhysicalDeviceVariablePointerFeaturesKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES_KHR> { |
| typedef VkPhysicalDeviceVariablePointerFeaturesKHR Type; |
| }; |
| |
| // Map type VkMemoryDedicatedRequirementsKHR to id VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS_KHR |
| template <> struct LvlTypeMap<VkMemoryDedicatedRequirementsKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS_KHR> { |
| typedef VkMemoryDedicatedRequirementsKHR Type; |
| }; |
| |
| // Map type VkMemoryDedicatedAllocateInfoKHR to id VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_KHR |
| template <> struct LvlTypeMap<VkMemoryDedicatedAllocateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_KHR> { |
| typedef VkMemoryDedicatedAllocateInfoKHR Type; |
| }; |
| |
| // Map type VkBufferMemoryRequirementsInfo2KHR to id VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR |
| template <> struct LvlTypeMap<VkBufferMemoryRequirementsInfo2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR> { |
| typedef VkBufferMemoryRequirementsInfo2KHR Type; |
| }; |
| |
| // Map type VkImageMemoryRequirementsInfo2KHR to id VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR |
| template <> struct LvlTypeMap<VkImageMemoryRequirementsInfo2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR> { |
| typedef VkImageMemoryRequirementsInfo2KHR Type; |
| }; |
| |
| // Map type VkImageSparseMemoryRequirementsInfo2KHR to id VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR |
| template <> struct LvlTypeMap<VkImageSparseMemoryRequirementsInfo2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR> { |
| typedef VkImageSparseMemoryRequirementsInfo2KHR Type; |
| }; |
| |
| // Map type VkMemoryRequirements2KHR to id VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR |
| template <> struct LvlTypeMap<VkMemoryRequirements2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR> { |
| typedef VkMemoryRequirements2KHR Type; |
| }; |
| |
| // Map type VkSparseImageMemoryRequirements2KHR to id VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR |
| template <> struct LvlTypeMap<VkSparseImageMemoryRequirements2KHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR> { |
| typedef VkSparseImageMemoryRequirements2KHR Type; |
| }; |
| |
| // Map type VkImageFormatListCreateInfoKHR to id VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkImageFormatListCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR> { |
| typedef VkImageFormatListCreateInfoKHR Type; |
| }; |
| |
| // Map type VkSamplerYcbcrConversionCreateInfoKHR to id VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO_KHR |
| template <> struct LvlTypeMap<VkSamplerYcbcrConversionCreateInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO_KHR> { |
| typedef VkSamplerYcbcrConversionCreateInfoKHR Type; |
| }; |
| |
| // Map type VkSamplerYcbcrConversionInfoKHR to id VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO_KHR |
| template <> struct LvlTypeMap<VkSamplerYcbcrConversionInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO_KHR> { |
| typedef VkSamplerYcbcrConversionInfoKHR Type; |
| }; |
| |
| // Map type VkBindImagePlaneMemoryInfoKHR to id VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO_KHR |
| template <> struct LvlTypeMap<VkBindImagePlaneMemoryInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO_KHR> { |
| typedef VkBindImagePlaneMemoryInfoKHR Type; |
| }; |
| |
| // Map type VkImagePlaneMemoryRequirementsInfoKHR to id VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO_KHR |
| template <> struct LvlTypeMap<VkImagePlaneMemoryRequirementsInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO_KHR> { |
| typedef VkImagePlaneMemoryRequirementsInfoKHR Type; |
| }; |
| |
| // Map type VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES_KHR |
| template <> struct LvlTypeMap<VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES_KHR> { |
| typedef VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR Type; |
| }; |
| |
| // Map type VkSamplerYcbcrConversionImageFormatPropertiesKHR to id VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES_KHR |
| template <> struct LvlTypeMap<VkSamplerYcbcrConversionImageFormatPropertiesKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES_KHR> { |
| typedef VkSamplerYcbcrConversionImageFormatPropertiesKHR Type; |
| }; |
| |
| // Map type VkBindBufferMemoryInfoKHR to id VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR |
| template <> struct LvlTypeMap<VkBindBufferMemoryInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR> { |
| typedef VkBindBufferMemoryInfoKHR Type; |
| }; |
| |
| // Map type VkBindImageMemoryInfoKHR to id VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR |
| template <> struct LvlTypeMap<VkBindImageMemoryInfoKHR> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR> { |
| typedef VkBindImageMemoryInfoKHR Type; |
| }; |
| |
| // Map type VkDebugReportCallbackCreateInfoEXT to id VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT |
| template <> struct LvlTypeMap<VkDebugReportCallbackCreateInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT> { |
| typedef VkDebugReportCallbackCreateInfoEXT Type; |
| }; |
| |
| // Map type VkPipelineRasterizationStateRasterizationOrderAMD to id VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD |
| template <> struct LvlTypeMap<VkPipelineRasterizationStateRasterizationOrderAMD> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD> { |
| typedef VkPipelineRasterizationStateRasterizationOrderAMD Type; |
| }; |
| |
| // Map type VkDebugMarkerObjectNameInfoEXT to id VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT |
| template <> struct LvlTypeMap<VkDebugMarkerObjectNameInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT> { |
| typedef VkDebugMarkerObjectNameInfoEXT Type; |
| }; |
| |
| // Map type VkDebugMarkerObjectTagInfoEXT to id VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT |
| template <> struct LvlTypeMap<VkDebugMarkerObjectTagInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT> { |
| typedef VkDebugMarkerObjectTagInfoEXT Type; |
| }; |
| |
| // Map type VkDebugMarkerMarkerInfoEXT to id VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT |
| template <> struct LvlTypeMap<VkDebugMarkerMarkerInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT> { |
| typedef VkDebugMarkerMarkerInfoEXT Type; |
| }; |
| |
| // Map type VkDedicatedAllocationImageCreateInfoNV to id VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV |
| template <> struct LvlTypeMap<VkDedicatedAllocationImageCreateInfoNV> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV> { |
| typedef VkDedicatedAllocationImageCreateInfoNV Type; |
| }; |
| |
| // Map type VkDedicatedAllocationBufferCreateInfoNV to id VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV |
| template <> struct LvlTypeMap<VkDedicatedAllocationBufferCreateInfoNV> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV> { |
| typedef VkDedicatedAllocationBufferCreateInfoNV Type; |
| }; |
| |
| // Map type VkDedicatedAllocationMemoryAllocateInfoNV to id VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV |
| template <> struct LvlTypeMap<VkDedicatedAllocationMemoryAllocateInfoNV> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV> { |
| typedef VkDedicatedAllocationMemoryAllocateInfoNV Type; |
| }; |
| |
| // Map type VkTextureLODGatherFormatPropertiesAMD to id VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD |
| template <> struct LvlTypeMap<VkTextureLODGatherFormatPropertiesAMD> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD> { |
| typedef VkTextureLODGatherFormatPropertiesAMD Type; |
| }; |
| |
| // Map type VkRenderPassMultiviewCreateInfoKHX to id VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO_KHX |
| template <> struct LvlTypeMap<VkRenderPassMultiviewCreateInfoKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO_KHX> { |
| typedef VkRenderPassMultiviewCreateInfoKHX Type; |
| }; |
| |
| // Map type VkPhysicalDeviceMultiviewFeaturesKHX to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES_KHX |
| template <> struct LvlTypeMap<VkPhysicalDeviceMultiviewFeaturesKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES_KHX> { |
| typedef VkPhysicalDeviceMultiviewFeaturesKHX Type; |
| }; |
| |
| // Map type VkPhysicalDeviceMultiviewPropertiesKHX to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES_KHX |
| template <> struct LvlTypeMap<VkPhysicalDeviceMultiviewPropertiesKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES_KHX> { |
| typedef VkPhysicalDeviceMultiviewPropertiesKHX Type; |
| }; |
| |
| // Map type VkExternalMemoryImageCreateInfoNV to id VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV |
| template <> struct LvlTypeMap<VkExternalMemoryImageCreateInfoNV> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV> { |
| typedef VkExternalMemoryImageCreateInfoNV Type; |
| }; |
| |
| // Map type VkExportMemoryAllocateInfoNV to id VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV |
| template <> struct LvlTypeMap<VkExportMemoryAllocateInfoNV> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV> { |
| typedef VkExportMemoryAllocateInfoNV Type; |
| }; |
| |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkImportMemoryWin32HandleInfoNV to id VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV |
| template <> struct LvlTypeMap<VkImportMemoryWin32HandleInfoNV> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV> { |
| typedef VkImportMemoryWin32HandleInfoNV Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkExportMemoryWin32HandleInfoNV to id VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV |
| template <> struct LvlTypeMap<VkExportMemoryWin32HandleInfoNV> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV> { |
| typedef VkExportMemoryWin32HandleInfoNV Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| #ifdef VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkWin32KeyedMutexAcquireReleaseInfoNV to id VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV |
| template <> struct LvlTypeMap<VkWin32KeyedMutexAcquireReleaseInfoNV> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV> { |
| typedef VkWin32KeyedMutexAcquireReleaseInfoNV Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_WIN32_KHR |
| // Map type VkMemoryAllocateFlagsInfoKHX to id VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO_KHX |
| template <> struct LvlTypeMap<VkMemoryAllocateFlagsInfoKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO_KHX> { |
| typedef VkMemoryAllocateFlagsInfoKHX Type; |
| }; |
| |
| // Map type VkDeviceGroupRenderPassBeginInfoKHX to id VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO_KHX |
| template <> struct LvlTypeMap<VkDeviceGroupRenderPassBeginInfoKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO_KHX> { |
| typedef VkDeviceGroupRenderPassBeginInfoKHX Type; |
| }; |
| |
| // Map type VkDeviceGroupCommandBufferBeginInfoKHX to id VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO_KHX |
| template <> struct LvlTypeMap<VkDeviceGroupCommandBufferBeginInfoKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO_KHX> { |
| typedef VkDeviceGroupCommandBufferBeginInfoKHX Type; |
| }; |
| |
| // Map type VkDeviceGroupSubmitInfoKHX to id VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO_KHX |
| template <> struct LvlTypeMap<VkDeviceGroupSubmitInfoKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO_KHX> { |
| typedef VkDeviceGroupSubmitInfoKHX Type; |
| }; |
| |
| // Map type VkDeviceGroupBindSparseInfoKHX to id VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO_KHX |
| template <> struct LvlTypeMap<VkDeviceGroupBindSparseInfoKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO_KHX> { |
| typedef VkDeviceGroupBindSparseInfoKHX Type; |
| }; |
| |
| // Map type VkBindBufferMemoryDeviceGroupInfoKHX to id VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO_KHX |
| template <> struct LvlTypeMap<VkBindBufferMemoryDeviceGroupInfoKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO_KHX> { |
| typedef VkBindBufferMemoryDeviceGroupInfoKHX Type; |
| }; |
| |
| // Map type VkBindImageMemoryDeviceGroupInfoKHX to id VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO_KHX |
| template <> struct LvlTypeMap<VkBindImageMemoryDeviceGroupInfoKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO_KHX> { |
| typedef VkBindImageMemoryDeviceGroupInfoKHX Type; |
| }; |
| |
| // Map type VkDeviceGroupPresentCapabilitiesKHX to id VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHX |
| template <> struct LvlTypeMap<VkDeviceGroupPresentCapabilitiesKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHX> { |
| typedef VkDeviceGroupPresentCapabilitiesKHX Type; |
| }; |
| |
| // Map type VkImageSwapchainCreateInfoKHX to id VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHX |
| template <> struct LvlTypeMap<VkImageSwapchainCreateInfoKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHX> { |
| typedef VkImageSwapchainCreateInfoKHX Type; |
| }; |
| |
| // Map type VkBindImageMemorySwapchainInfoKHX to id VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHX |
| template <> struct LvlTypeMap<VkBindImageMemorySwapchainInfoKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHX> { |
| typedef VkBindImageMemorySwapchainInfoKHX Type; |
| }; |
| |
| // Map type VkAcquireNextImageInfoKHX to id VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHX |
| template <> struct LvlTypeMap<VkAcquireNextImageInfoKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHX> { |
| typedef VkAcquireNextImageInfoKHX Type; |
| }; |
| |
| // Map type VkDeviceGroupPresentInfoKHX to id VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHX |
| template <> struct LvlTypeMap<VkDeviceGroupPresentInfoKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHX> { |
| typedef VkDeviceGroupPresentInfoKHX Type; |
| }; |
| |
| // Map type VkDeviceGroupSwapchainCreateInfoKHX to id VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHX |
| template <> struct LvlTypeMap<VkDeviceGroupSwapchainCreateInfoKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHX> { |
| typedef VkDeviceGroupSwapchainCreateInfoKHX Type; |
| }; |
| |
| // Map type VkValidationFlagsEXT to id VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT |
| template <> struct LvlTypeMap<VkValidationFlagsEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT> { |
| typedef VkValidationFlagsEXT Type; |
| }; |
| |
| #ifdef VK_USE_PLATFORM_VI_NN |
| // Map type VkViSurfaceCreateInfoNN to id VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN |
| template <> struct LvlTypeMap<VkViSurfaceCreateInfoNN> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN> { |
| typedef VkViSurfaceCreateInfoNN Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_VI_NN |
| // Map type VkPhysicalDeviceGroupPropertiesKHX to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES_KHX |
| template <> struct LvlTypeMap<VkPhysicalDeviceGroupPropertiesKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES_KHX> { |
| typedef VkPhysicalDeviceGroupPropertiesKHX Type; |
| }; |
| |
| // Map type VkDeviceGroupDeviceCreateInfoKHX to id VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO_KHX |
| template <> struct LvlTypeMap<VkDeviceGroupDeviceCreateInfoKHX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO_KHX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO_KHX> { |
| typedef VkDeviceGroupDeviceCreateInfoKHX Type; |
| }; |
| |
| // Map type VkDeviceGeneratedCommandsFeaturesNVX to id VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVX |
| template <> struct LvlTypeMap<VkDeviceGeneratedCommandsFeaturesNVX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVX> { |
| typedef VkDeviceGeneratedCommandsFeaturesNVX Type; |
| }; |
| |
| // Map type VkDeviceGeneratedCommandsLimitsNVX to id VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX |
| template <> struct LvlTypeMap<VkDeviceGeneratedCommandsLimitsNVX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX> { |
| typedef VkDeviceGeneratedCommandsLimitsNVX Type; |
| }; |
| |
| // Map type VkIndirectCommandsLayoutCreateInfoNVX to id VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX |
| template <> struct LvlTypeMap<VkIndirectCommandsLayoutCreateInfoNVX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX> { |
| typedef VkIndirectCommandsLayoutCreateInfoNVX Type; |
| }; |
| |
| // Map type VkCmdProcessCommandsInfoNVX to id VK_STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVX |
| template <> struct LvlTypeMap<VkCmdProcessCommandsInfoNVX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVX> { |
| typedef VkCmdProcessCommandsInfoNVX Type; |
| }; |
| |
| // Map type VkCmdReserveSpaceForCommandsInfoNVX to id VK_STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX |
| template <> struct LvlTypeMap<VkCmdReserveSpaceForCommandsInfoNVX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX> { |
| typedef VkCmdReserveSpaceForCommandsInfoNVX Type; |
| }; |
| |
| // Map type VkObjectTableCreateInfoNVX to id VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX |
| template <> struct LvlTypeMap<VkObjectTableCreateInfoNVX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX> { |
| typedef VkObjectTableCreateInfoNVX Type; |
| }; |
| |
| // Map type VkPipelineViewportWScalingStateCreateInfoNV to id VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV |
| template <> struct LvlTypeMap<VkPipelineViewportWScalingStateCreateInfoNV> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV> { |
| typedef VkPipelineViewportWScalingStateCreateInfoNV Type; |
| }; |
| |
| // Map type VkSurfaceCapabilities2EXT to id VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT |
| template <> struct LvlTypeMap<VkSurfaceCapabilities2EXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT> { |
| typedef VkSurfaceCapabilities2EXT Type; |
| }; |
| |
| // Map type VkDisplayPowerInfoEXT to id VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT |
| template <> struct LvlTypeMap<VkDisplayPowerInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT> { |
| typedef VkDisplayPowerInfoEXT Type; |
| }; |
| |
| // Map type VkDeviceEventInfoEXT to id VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT |
| template <> struct LvlTypeMap<VkDeviceEventInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT> { |
| typedef VkDeviceEventInfoEXT Type; |
| }; |
| |
| // Map type VkDisplayEventInfoEXT to id VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT |
| template <> struct LvlTypeMap<VkDisplayEventInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT> { |
| typedef VkDisplayEventInfoEXT Type; |
| }; |
| |
| // Map type VkSwapchainCounterCreateInfoEXT to id VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT |
| template <> struct LvlTypeMap<VkSwapchainCounterCreateInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT> { |
| typedef VkSwapchainCounterCreateInfoEXT Type; |
| }; |
| |
| // Map type VkPresentTimesInfoGOOGLE to id VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE |
| template <> struct LvlTypeMap<VkPresentTimesInfoGOOGLE> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE> { |
| typedef VkPresentTimesInfoGOOGLE Type; |
| }; |
| |
| // Map type VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX |
| template <> struct LvlTypeMap<VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX> { |
| typedef VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX Type; |
| }; |
| |
| // Map type VkPipelineViewportSwizzleStateCreateInfoNV to id VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV |
| template <> struct LvlTypeMap<VkPipelineViewportSwizzleStateCreateInfoNV> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV> { |
| typedef VkPipelineViewportSwizzleStateCreateInfoNV Type; |
| }; |
| |
| // Map type VkPhysicalDeviceDiscardRectanglePropertiesEXT to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT |
| template <> struct LvlTypeMap<VkPhysicalDeviceDiscardRectanglePropertiesEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT> { |
| typedef VkPhysicalDeviceDiscardRectanglePropertiesEXT Type; |
| }; |
| |
| // Map type VkPipelineDiscardRectangleStateCreateInfoEXT to id VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT |
| template <> struct LvlTypeMap<VkPipelineDiscardRectangleStateCreateInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT> { |
| typedef VkPipelineDiscardRectangleStateCreateInfoEXT Type; |
| }; |
| |
| // Map type VkPhysicalDeviceConservativeRasterizationPropertiesEXT to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT |
| template <> struct LvlTypeMap<VkPhysicalDeviceConservativeRasterizationPropertiesEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT> { |
| typedef VkPhysicalDeviceConservativeRasterizationPropertiesEXT Type; |
| }; |
| |
| // Map type VkPipelineRasterizationConservativeStateCreateInfoEXT to id VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT |
| template <> struct LvlTypeMap<VkPipelineRasterizationConservativeStateCreateInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT> { |
| typedef VkPipelineRasterizationConservativeStateCreateInfoEXT Type; |
| }; |
| |
| // Map type VkHdrMetadataEXT to id VK_STRUCTURE_TYPE_HDR_METADATA_EXT |
| template <> struct LvlTypeMap<VkHdrMetadataEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_HDR_METADATA_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_HDR_METADATA_EXT> { |
| typedef VkHdrMetadataEXT Type; |
| }; |
| |
| #ifdef VK_USE_PLATFORM_IOS_MVK |
| // Map type VkIOSSurfaceCreateInfoMVK to id VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK |
| template <> struct LvlTypeMap<VkIOSSurfaceCreateInfoMVK> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK> { |
| typedef VkIOSSurfaceCreateInfoMVK Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_IOS_MVK |
| #ifdef VK_USE_PLATFORM_MACOS_MVK |
| // Map type VkMacOSSurfaceCreateInfoMVK to id VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK |
| template <> struct LvlTypeMap<VkMacOSSurfaceCreateInfoMVK> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK> { |
| typedef VkMacOSSurfaceCreateInfoMVK Type; |
| }; |
| |
| #endif // VK_USE_PLATFORM_MACOS_MVK |
| // Map type VkSamplerReductionModeCreateInfoEXT to id VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT |
| template <> struct LvlTypeMap<VkSamplerReductionModeCreateInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT> { |
| typedef VkSamplerReductionModeCreateInfoEXT Type; |
| }; |
| |
| // Map type VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT |
| template <> struct LvlTypeMap<VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT> { |
| typedef VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT Type; |
| }; |
| |
| // Map type VkSampleLocationsInfoEXT to id VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT |
| template <> struct LvlTypeMap<VkSampleLocationsInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT> { |
| typedef VkSampleLocationsInfoEXT Type; |
| }; |
| |
| // Map type VkRenderPassSampleLocationsBeginInfoEXT to id VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT |
| template <> struct LvlTypeMap<VkRenderPassSampleLocationsBeginInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT> { |
| typedef VkRenderPassSampleLocationsBeginInfoEXT Type; |
| }; |
| |
| // Map type VkPipelineSampleLocationsStateCreateInfoEXT to id VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT |
| template <> struct LvlTypeMap<VkPipelineSampleLocationsStateCreateInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT> { |
| typedef VkPipelineSampleLocationsStateCreateInfoEXT Type; |
| }; |
| |
| // Map type VkPhysicalDeviceSampleLocationsPropertiesEXT to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT |
| template <> struct LvlTypeMap<VkPhysicalDeviceSampleLocationsPropertiesEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT> { |
| typedef VkPhysicalDeviceSampleLocationsPropertiesEXT Type; |
| }; |
| |
| // Map type VkMultisamplePropertiesEXT to id VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT |
| template <> struct LvlTypeMap<VkMultisamplePropertiesEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT> { |
| typedef VkMultisamplePropertiesEXT Type; |
| }; |
| |
| // Map type VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT |
| template <> struct LvlTypeMap<VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT> { |
| typedef VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT Type; |
| }; |
| |
| // Map type VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT |
| template <> struct LvlTypeMap<VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT> { |
| typedef VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT Type; |
| }; |
| |
| // Map type VkPipelineColorBlendAdvancedStateCreateInfoEXT to id VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT |
| template <> struct LvlTypeMap<VkPipelineColorBlendAdvancedStateCreateInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT> { |
| typedef VkPipelineColorBlendAdvancedStateCreateInfoEXT Type; |
| }; |
| |
| // Map type VkPipelineCoverageToColorStateCreateInfoNV to id VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV |
| template <> struct LvlTypeMap<VkPipelineCoverageToColorStateCreateInfoNV> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV> { |
| typedef VkPipelineCoverageToColorStateCreateInfoNV Type; |
| }; |
| |
| // Map type VkPipelineCoverageModulationStateCreateInfoNV to id VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV |
| template <> struct LvlTypeMap<VkPipelineCoverageModulationStateCreateInfoNV> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV> { |
| typedef VkPipelineCoverageModulationStateCreateInfoNV Type; |
| }; |
| |
| // Map type VkValidationCacheCreateInfoEXT to id VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT |
| template <> struct LvlTypeMap<VkValidationCacheCreateInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT> { |
| typedef VkValidationCacheCreateInfoEXT Type; |
| }; |
| |
| // Map type VkShaderModuleValidationCacheCreateInfoEXT to id VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT |
| template <> struct LvlTypeMap<VkShaderModuleValidationCacheCreateInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT> { |
| typedef VkShaderModuleValidationCacheCreateInfoEXT Type; |
| }; |
| |
| // Map type VkDeviceQueueGlobalPriorityCreateInfoEXT to id VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT |
| template <> struct LvlTypeMap<VkDeviceQueueGlobalPriorityCreateInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT> { |
| typedef VkDeviceQueueGlobalPriorityCreateInfoEXT Type; |
| }; |
| |
| // Map type VkImportMemoryHostPointerInfoEXT to id VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT |
| template <> struct LvlTypeMap<VkImportMemoryHostPointerInfoEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT> { |
| typedef VkImportMemoryHostPointerInfoEXT Type; |
| }; |
| |
| // Map type VkMemoryHostPointerPropertiesEXT to id VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT |
| template <> struct LvlTypeMap<VkMemoryHostPointerPropertiesEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT> { |
| typedef VkMemoryHostPointerPropertiesEXT Type; |
| }; |
| |
| // Map type VkPhysicalDeviceExternalMemoryHostPropertiesEXT to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT |
| template <> struct LvlTypeMap<VkPhysicalDeviceExternalMemoryHostPropertiesEXT> { |
| static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT; |
| }; |
| |
| template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT> { |
| typedef VkPhysicalDeviceExternalMemoryHostPropertiesEXT Type; |
| }; |
| |
| // Header "base class" for pNext chain traversal |
| struct LvlGenericHeader { |
| VkStructureType sType; |
| const LvlGenericHeader *pNext; |
| }; |
| |
| // Find an entry of the given type in the pNext chain |
| template <typename T> const T *lvl_find_in_chain(const void *next) { |
| const LvlGenericHeader *current = reinterpret_cast<const LvlGenericHeader *>(next); |
| const T *found = nullptr; |
| while (current) { |
| if (LvlTypeMap<T>::kSType == current->sType) { |
| found = reinterpret_cast<const T*>(current); |
| current = nullptr; |
| } else { |
| current = current->pNext; |
| } |
| } |
| return found; |
| } |
| |
| // Init the header of an sType struct with pNext |
| template <typename T> T lvl_init_struct(void *p_next) { |
| T out = {}; |
| out.sType = LvlTypeMap<T>::kSType; |
| out.pNext = p_next; |
| return out; |
| } |
| |
| // Init the header of an sType struct |
| template <typename T> T lvl_init_struct() { |
| T out = {}; |
| out.sType = LvlTypeMap<T>::kSType; |
| return out; |
| } |
| |