2016-02-26 13:39:01 +11:00
|
|
|
/*
|
2018-08-04 15:24:36 +10:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2016-02-26 13:39:01 +11:00
|
|
|
*
|
|
|
|
* Copyright:
|
2017-09-13 23:26:15 +10:00
|
|
|
* 2016-2017, Danny Robson <danny@nerdcruft.net>
|
2016-02-26 13:39:01 +11:00
|
|
|
*/
|
|
|
|
|
2017-05-26 16:30:48 +10:00
|
|
|
#ifndef CRUFT_VK_FWD_HPP
|
|
|
|
#define CRUFT_VK_FWD_HPP
|
2016-02-24 11:11:41 +11:00
|
|
|
|
2024-07-18 09:51:48 +10:00
|
|
|
#include <cruft/vk/vk.hpp>
|
2016-02-24 11:11:41 +11:00
|
|
|
|
2017-05-26 16:32:31 +10:00
|
|
|
#include <cruft/util/preprocessor.hpp>
|
|
|
|
|
|
|
|
|
2017-05-26 16:30:48 +10:00
|
|
|
namespace cruft::vk {
|
2017-09-14 02:13:41 +10:00
|
|
|
template <typename SelfT> struct object;
|
2017-09-09 15:34:06 +10:00
|
|
|
template <typename SelfT> struct descendant;
|
|
|
|
template <typename SelfT, typename ParentT> struct enumerated;
|
|
|
|
template <typename SelfT, typename OwnerT> struct owned;
|
2017-09-12 14:24:04 +10:00
|
|
|
|
2017-09-14 02:13:41 +10:00
|
|
|
template <typename SelfT> class owned_ptr;
|
|
|
|
|
2017-09-12 14:24:04 +10:00
|
|
|
enum class bindpoint {
|
|
|
|
GRAPHICS = VK_PIPELINE_BIND_POINT_GRAPHICS,
|
|
|
|
COMPUTE = VK_PIPELINE_BIND_POINT_COMPUTE,
|
|
|
|
};
|
|
|
|
|
2017-09-09 15:46:08 +10:00
|
|
|
struct buffer;
|
|
|
|
struct buffer_view;
|
2016-02-24 11:11:41 +11:00
|
|
|
struct command_buffer;
|
2017-09-09 15:46:08 +10:00
|
|
|
struct command_pool;
|
|
|
|
struct device;
|
|
|
|
struct device_memory;
|
2017-09-14 00:31:23 +10:00
|
|
|
struct debug_report;
|
2016-02-24 11:11:41 +11:00
|
|
|
struct event;
|
2017-09-09 15:46:08 +10:00
|
|
|
struct fence;
|
2016-02-24 11:11:41 +11:00
|
|
|
struct framebuffer;
|
2017-09-09 15:46:08 +10:00
|
|
|
struct instance;
|
|
|
|
struct image;
|
|
|
|
struct image_view;
|
|
|
|
struct physical_device;
|
2017-09-12 14:24:04 +10:00
|
|
|
template <bindpoint> struct pipeline;
|
2016-02-24 11:11:41 +11:00
|
|
|
struct pipeline_cache;
|
2017-09-10 13:54:27 +10:00
|
|
|
struct pipeline_layout;
|
2017-09-09 15:46:08 +10:00
|
|
|
struct queue;
|
|
|
|
struct render_pass;
|
|
|
|
struct semaphore;
|
|
|
|
struct shader_module;
|
2017-09-07 15:51:51 +10:00
|
|
|
struct surface;
|
2017-09-10 13:54:27 +10:00
|
|
|
struct swapchain;
|
2016-02-24 11:11:41 +11:00
|
|
|
|
|
|
|
class error;
|
|
|
|
template <VkResult> class error_code;
|
2017-05-26 16:32:31 +10:00
|
|
|
|
2017-09-12 14:24:04 +10:00
|
|
|
#define VK_BINDPOINT_MAP(FUNC) MAP0(FUNC, bindpoint::GRAPHICS, bindpoint::COMPUTE)
|
|
|
|
|
2017-05-26 16:32:31 +10:00
|
|
|
#define VK_ENUMERATED_TYPE_MAP(FUNC) \
|
2017-09-12 14:23:22 +10:00
|
|
|
MAP0(FUNC, \
|
|
|
|
physical_device)
|
2017-05-26 16:32:31 +10:00
|
|
|
|
2017-09-05 17:20:17 +10:00
|
|
|
#define VK_DESCENDANT_TYPE_MAP(FUNC) \
|
2017-09-12 14:23:22 +10:00
|
|
|
MAP0(FUNC, \
|
|
|
|
device)
|
2017-09-05 17:20:17 +10:00
|
|
|
|
2017-09-12 14:24:04 +10:00
|
|
|
#define VK_ARRAY_TYPE_MAP(FUNC) \
|
|
|
|
MAP0(FUNC, \
|
|
|
|
pipeline<::cruft::vk::bindpoint::GRAPHICS>, \
|
|
|
|
pipeline<::cruft::vk::bindpoint::COMPUTE> \
|
|
|
|
)
|
|
|
|
|
2017-09-05 17:20:17 +10:00
|
|
|
#define VK_OWNED_TYPE_MAP(FUNC) \
|
2017-09-12 14:23:22 +10:00
|
|
|
MAP0(FUNC, \
|
|
|
|
buffer, \
|
|
|
|
command_pool, \
|
2017-09-14 00:31:23 +10:00
|
|
|
debug_report, \
|
2017-09-12 14:23:22 +10:00
|
|
|
device_memory, \
|
|
|
|
framebuffer, \
|
|
|
|
image_view, \
|
|
|
|
pipeline_layout, \
|
|
|
|
queue, \
|
|
|
|
render_pass, \
|
|
|
|
semaphore, \
|
|
|
|
shader_module, \
|
|
|
|
surface, \
|
2017-09-12 14:24:04 +10:00
|
|
|
swapchain) \
|
|
|
|
VK_ARRAY_TYPE_MAP(FUNC)
|
2017-05-26 16:32:31 +10:00
|
|
|
|
|
|
|
#define VK_TYPE_MAP(FUNC) \
|
2017-09-12 14:23:22 +10:00
|
|
|
MAP0(FUNC,instance) \
|
2017-05-26 16:32:31 +10:00
|
|
|
VK_ENUMERATED_TYPE_MAP(FUNC) \
|
2017-09-05 17:20:17 +10:00
|
|
|
VK_DESCENDANT_TYPE_MAP(FUNC) \
|
|
|
|
VK_OWNED_TYPE_MAP(FUNC)
|
2017-09-12 14:24:21 +10:00
|
|
|
|
2017-09-19 18:22:40 +10:00
|
|
|
#define VK_NATIVE_ENUM_MAP(FUNC) \
|
|
|
|
MAP0(FUNC, \
|
|
|
|
VkImageAspectFlagBits, \
|
|
|
|
VkShaderStageFlagBits, \
|
|
|
|
VkSystemAllocationScope, \
|
|
|
|
VkInternalAllocationType, \
|
|
|
|
VkQueueFlagBits, \
|
|
|
|
VkStructureType, \
|
|
|
|
VkFilter, \
|
|
|
|
VkSamplerMipmapMode, \
|
|
|
|
VkSamplerAddressMode, \
|
|
|
|
VkCompareOp, \
|
|
|
|
VkBorderColor, \
|
|
|
|
VkIndexType, \
|
|
|
|
VkBufferCreateFlagBits, \
|
|
|
|
VkBufferUsageFlagBits, \
|
|
|
|
VkExternalMemoryHandleTypeFlagBitsKHR, \
|
|
|
|
VkPrimitiveTopology, \
|
|
|
|
VkIndirectCommandsTokenTypeNVX, \
|
|
|
|
VkDisplayPlaneAlphaFlagBitsKHR, \
|
|
|
|
VkSurfaceTransformFlagBitsKHR, \
|
|
|
|
VkCompositeAlphaFlagBitsKHR, \
|
|
|
|
VkImageUsageFlagBits, \
|
|
|
|
VkViewportCoordinateSwizzleNV, \
|
|
|
|
VkPipelineBindPoint, \
|
|
|
|
VkExternalMemoryFeatureFlagBitsNV, \
|
|
|
|
VkDebugReportFlagBitsEXT, \
|
|
|
|
VkDebugReportObjectTypeEXT, \
|
|
|
|
VkCommandBufferResetFlagBits, \
|
|
|
|
VkPhysicalDeviceType, \
|
|
|
|
VkFenceImportFlagBitsKHR, \
|
|
|
|
VkExternalFenceHandleTypeFlagBitsKHR, \
|
|
|
|
VkQueryType, \
|
|
|
|
VkQueryPipelineStatisticFlagBits, \
|
|
|
|
VkExternalSemaphoreHandleTypeFlagBitsKHR, \
|
|
|
|
VkImageLayout, \
|
|
|
|
VkFormatFeatureFlagBits, \
|
|
|
|
VkObjectEntryTypeNVX, \
|
|
|
|
VkObjectEntryUsageFlagBitsNVX, \
|
|
|
|
VkDescriptorType, \
|
|
|
|
VkSparseImageFormatFlagBits, \
|
|
|
|
VkComponentSwizzle, \
|
|
|
|
VkDescriptorSetLayoutCreateFlagBits, \
|
|
|
|
VkIndirectCommandsLayoutUsageFlagBitsNVX, \
|
|
|
|
VkAttachmentDescriptionFlagBits, \
|
|
|
|
VkSampleCountFlagBits, \
|
|
|
|
VkAttachmentLoadOp, \
|
|
|
|
VkAttachmentStoreOp, \
|
|
|
|
VkImageType, \
|
|
|
|
VkImageTiling, \
|
|
|
|
VkExternalMemoryFeatureFlagBitsKHR, \
|
|
|
|
VkStencilFaceFlagBits, \
|
|
|
|
VkStencilOp, \
|
|
|
|
VkPolygonMode, \
|
|
|
|
VkCullModeFlagBits, \
|
|
|
|
VkFrontFace, \
|
|
|
|
VkImageCreateFlagBits, \
|
|
|
|
VkExternalMemoryHandleTypeFlagBitsNV, \
|
|
|
|
VkImageViewType, \
|
|
|
|
VkSharingMode, \
|
|
|
|
VkDynamicState, \
|
|
|
|
VkCommandPoolCreateFlagBits, \
|
|
|
|
VkSemaphoreImportFlagBitsKHR, \
|
|
|
|
VkPipelineStageFlagBits, \
|
|
|
|
VkSwapchainCreateFlagBitsKHR, \
|
|
|
|
VkMemoryHeapFlagBits, \
|
|
|
|
VkPipelineCreateFlagBits, \
|
|
|
|
VkBlendOverlapEXT, \
|
|
|
|
VkSurfaceCounterFlagBitsEXT, \
|
|
|
|
VkDescriptorUpdateTemplateTypeKHR, \
|
|
|
|
VkExternalFenceFeatureFlagBitsKHR, \
|
|
|
|
VkQueryResultFlagBits, \
|
|
|
|
VkSparseMemoryBindFlagBits, \
|
|
|
|
VkValidationCacheHeaderVersionEXT, \
|
|
|
|
VkColorSpaceKHR, \
|
|
|
|
VkPresentModeKHR, \
|
|
|
|
VkCommandPoolResetFlagBits, \
|
|
|
|
VkVertexInputRate, \
|
|
|
|
VkSubpassDescriptionFlagBits, \
|
|
|
|
VkAccessFlagBits, \
|
|
|
|
VkDependencyFlagBits, \
|
|
|
|
VkExternalSemaphoreFeatureFlagBitsKHR, \
|
|
|
|
VkBlendFactor, \
|
|
|
|
VkBlendOp, \
|
|
|
|
VkColorComponentFlagBits, \
|
|
|
|
VkMemoryPropertyFlagBits, \
|
|
|
|
VkCommandBufferUsageFlagBits, \
|
|
|
|
VkQueryControlFlagBits, \
|
|
|
|
VkCommandBufferLevel, \
|
|
|
|
VkValidationCheckEXT, \
|
|
|
|
VkSubpassContents, \
|
|
|
|
VkLogicOp, \
|
|
|
|
VkDisplayPowerStateEXT, \
|
|
|
|
VkFenceCreateFlagBits, \
|
|
|
|
VkDisplayEventTypeEXT, \
|
|
|
|
VkDescriptorPoolCreateFlagBits, \
|
|
|
|
VkCoverageModulationModeNV, \
|
|
|
|
VkObjectType, \
|
|
|
|
VkPipelineCacheHeaderVersion, \
|
|
|
|
VkDiscardRectangleModeEXT, \
|
|
|
|
VkDeviceEventTypeEXT, \
|
|
|
|
VkSamplerReductionModeEXT, \
|
|
|
|
VkRasterizationOrderAMD \
|
|
|
|
)
|
|
|
|
|
|
|
|
#define VK_NATIVE_STRUCT_MAP(FUNC) \
|
2017-09-12 14:24:21 +10:00
|
|
|
MAP0(FUNC, \
|
|
|
|
VkClearColorValue, \
|
|
|
|
VkClearValue, \
|
|
|
|
VkOffset2D, \
|
|
|
|
VkOffset3D, \
|
|
|
|
VkExtent2D, \
|
|
|
|
VkExtent3D, \
|
|
|
|
VkViewport, \
|
|
|
|
VkRect2D, \
|
|
|
|
VkClearRect, \
|
|
|
|
VkComponentMapping, \
|
|
|
|
VkPhysicalDeviceProperties, \
|
|
|
|
VkExtensionProperties, \
|
|
|
|
VkLayerProperties, \
|
|
|
|
VkApplicationInfo, \
|
|
|
|
VkAllocationCallbacks, \
|
|
|
|
VkDeviceQueueCreateInfo, \
|
|
|
|
VkDeviceCreateInfo, \
|
|
|
|
VkInstanceCreateInfo, \
|
|
|
|
VkQueueFamilyProperties, \
|
|
|
|
VkPhysicalDeviceMemoryProperties, \
|
|
|
|
VkMemoryAllocateInfo, \
|
|
|
|
VkMemoryRequirements, \
|
|
|
|
VkSparseImageFormatProperties, \
|
|
|
|
VkSparseImageMemoryRequirements, \
|
|
|
|
VkMemoryType, \
|
|
|
|
VkMemoryHeap, \
|
|
|
|
VkMappedMemoryRange, \
|
|
|
|
VkFormatProperties, \
|
|
|
|
VkImageFormatProperties, \
|
|
|
|
VkDescriptorBufferInfo, \
|
|
|
|
VkDescriptorImageInfo, \
|
|
|
|
VkWriteDescriptorSet, \
|
|
|
|
VkCopyDescriptorSet, \
|
|
|
|
VkBufferCreateInfo, \
|
|
|
|
VkBufferViewCreateInfo, \
|
|
|
|
VkImageSubresource, \
|
|
|
|
VkImageSubresourceLayers, \
|
|
|
|
VkImageSubresourceRange, \
|
|
|
|
VkMemoryBarrier, \
|
|
|
|
VkBufferMemoryBarrier, \
|
|
|
|
VkImageMemoryBarrier, \
|
|
|
|
VkImageCreateInfo, \
|
|
|
|
VkSubresourceLayout, \
|
|
|
|
VkImageViewCreateInfo, \
|
|
|
|
VkBufferCopy, \
|
|
|
|
VkSparseMemoryBind, \
|
|
|
|
VkSparseImageMemoryBind, \
|
|
|
|
VkSparseBufferMemoryBindInfo, \
|
|
|
|
VkSparseImageOpaqueMemoryBindInfo, \
|
|
|
|
VkSparseImageMemoryBindInfo, \
|
|
|
|
VkBindSparseInfo, \
|
|
|
|
VkImageCopy, \
|
|
|
|
VkImageBlit, \
|
|
|
|
VkBufferImageCopy, \
|
|
|
|
VkImageResolve, \
|
|
|
|
VkShaderModuleCreateInfo, \
|
|
|
|
VkDescriptorSetLayoutBinding, \
|
|
|
|
VkDescriptorSetLayoutCreateInfo, \
|
|
|
|
VkDescriptorPoolSize, \
|
|
|
|
VkDescriptorPoolCreateInfo, \
|
|
|
|
VkDescriptorSetAllocateInfo, \
|
|
|
|
VkSpecializationMapEntry, \
|
|
|
|
VkSpecializationInfo, \
|
|
|
|
VkPipelineShaderStageCreateInfo, \
|
|
|
|
VkComputePipelineCreateInfo, \
|
|
|
|
VkVertexInputBindingDescription, \
|
|
|
|
VkVertexInputAttributeDescription, \
|
|
|
|
VkPipelineVertexInputStateCreateInfo, \
|
|
|
|
VkPipelineInputAssemblyStateCreateInfo, \
|
|
|
|
VkPipelineTessellationStateCreateInfo, \
|
|
|
|
VkPipelineViewportStateCreateInfo, \
|
|
|
|
VkPipelineRasterizationStateCreateInfo, \
|
|
|
|
VkPipelineMultisampleStateCreateInfo, \
|
|
|
|
VkPipelineColorBlendAttachmentState, \
|
|
|
|
VkPipelineColorBlendStateCreateInfo, \
|
|
|
|
VkPipelineDynamicStateCreateInfo, \
|
|
|
|
VkStencilOpState, \
|
|
|
|
VkPipelineDepthStencilStateCreateInfo, \
|
|
|
|
VkGraphicsPipelineCreateInfo, \
|
|
|
|
VkPipelineCacheCreateInfo, \
|
|
|
|
VkPushConstantRange, \
|
|
|
|
VkPipelineLayoutCreateInfo, \
|
|
|
|
VkSamplerCreateInfo, \
|
|
|
|
VkCommandPoolCreateInfo, \
|
|
|
|
VkCommandBufferAllocateInfo, \
|
|
|
|
VkCommandBufferInheritanceInfo, \
|
|
|
|
VkCommandBufferBeginInfo, \
|
|
|
|
VkRenderPassBeginInfo, \
|
|
|
|
VkClearDepthStencilValue, \
|
|
|
|
VkClearAttachment, \
|
|
|
|
VkAttachmentDescription, \
|
|
|
|
VkAttachmentReference, \
|
|
|
|
VkSubpassDescription, \
|
|
|
|
VkSubpassDependency, \
|
|
|
|
VkRenderPassCreateInfo, \
|
|
|
|
VkEventCreateInfo, \
|
|
|
|
VkFenceCreateInfo, \
|
|
|
|
VkPhysicalDeviceFeatures, \
|
|
|
|
VkPhysicalDeviceSparseProperties, \
|
|
|
|
VkPhysicalDeviceLimits, \
|
|
|
|
VkSemaphoreCreateInfo, \
|
|
|
|
VkQueryPoolCreateInfo, \
|
|
|
|
VkFramebufferCreateInfo, \
|
|
|
|
VkDrawIndirectCommand, \
|
|
|
|
VkDrawIndexedIndirectCommand, \
|
|
|
|
VkDispatchIndirectCommand, \
|
|
|
|
VkSubmitInfo, \
|
|
|
|
VkDisplayPropertiesKHR, \
|
|
|
|
VkDisplayPlanePropertiesKHR, \
|
|
|
|
VkDisplayModeParametersKHR, \
|
|
|
|
VkDisplayModePropertiesKHR, \
|
|
|
|
VkDisplayModeCreateInfoKHR, \
|
|
|
|
VkDisplayPlaneCapabilitiesKHR, \
|
|
|
|
VkDisplaySurfaceCreateInfoKHR, \
|
|
|
|
VkDisplayPresentInfoKHR, \
|
|
|
|
VkSurfaceCapabilitiesKHR, \
|
2018-08-23 13:56:31 +10:00
|
|
|
/*VkXcbSurfaceCreateInfoKHR,*/ \
|
2017-09-12 14:24:21 +10:00
|
|
|
VkSurfaceFormatKHR, \
|
|
|
|
VkSwapchainCreateInfoKHR, \
|
|
|
|
VkPresentInfoKHR, \
|
|
|
|
VkDebugReportCallbackCreateInfoEXT, \
|
|
|
|
VkValidationFlagsEXT, \
|
|
|
|
VkPipelineRasterizationStateRasterizationOrderAMD, \
|
|
|
|
VkDebugMarkerObjectNameInfoEXT, \
|
|
|
|
VkDebugMarkerObjectTagInfoEXT, \
|
|
|
|
VkDebugMarkerMarkerInfoEXT, \
|
|
|
|
VkDedicatedAllocationImageCreateInfoNV, \
|
|
|
|
VkDedicatedAllocationBufferCreateInfoNV, \
|
|
|
|
VkDedicatedAllocationMemoryAllocateInfoNV, \
|
|
|
|
VkExternalImageFormatPropertiesNV, \
|
|
|
|
VkExternalMemoryImageCreateInfoNV, \
|
|
|
|
VkExportMemoryAllocateInfoNV, \
|
|
|
|
VkDeviceGeneratedCommandsFeaturesNVX, \
|
|
|
|
VkDeviceGeneratedCommandsLimitsNVX, \
|
|
|
|
VkIndirectCommandsTokenNVX, \
|
|
|
|
VkIndirectCommandsLayoutTokenNVX, \
|
|
|
|
VkIndirectCommandsLayoutCreateInfoNVX, \
|
|
|
|
VkCmdProcessCommandsInfoNVX, \
|
|
|
|
VkCmdReserveSpaceForCommandsInfoNVX, \
|
|
|
|
VkObjectTableCreateInfoNVX, \
|
|
|
|
VkObjectTableEntryNVX, \
|
|
|
|
VkObjectTablePipelineEntryNVX, \
|
|
|
|
VkObjectTableDescriptorSetEntryNVX, \
|
|
|
|
VkObjectTableVertexBufferEntryNVX, \
|
|
|
|
VkObjectTableIndexBufferEntryNVX, \
|
|
|
|
VkObjectTablePushConstantEntryNVX, \
|
|
|
|
VkPhysicalDeviceFeatures2KHR, \
|
|
|
|
VkPhysicalDeviceProperties2KHR, \
|
|
|
|
VkFormatProperties2KHR, \
|
|
|
|
VkImageFormatProperties2KHR, \
|
|
|
|
VkPhysicalDeviceImageFormatInfo2KHR, \
|
|
|
|
VkQueueFamilyProperties2KHR, \
|
|
|
|
VkPhysicalDeviceMemoryProperties2KHR, \
|
|
|
|
VkSparseImageFormatProperties2KHR, \
|
|
|
|
VkPhysicalDeviceSparseImageFormatInfo2KHR, \
|
|
|
|
VkPhysicalDevicePushDescriptorPropertiesKHR, \
|
|
|
|
VkPresentRegionsKHR, \
|
|
|
|
VkPresentRegionKHR, \
|
|
|
|
VkRectLayerKHR, \
|
|
|
|
VkPhysicalDeviceVariablePointerFeaturesKHR, \
|
|
|
|
VkExternalMemoryPropertiesKHR, \
|
|
|
|
VkPhysicalDeviceExternalImageFormatInfoKHR, \
|
|
|
|
VkExternalImageFormatPropertiesKHR, \
|
|
|
|
VkPhysicalDeviceExternalBufferInfoKHR, \
|
|
|
|
VkExternalBufferPropertiesKHR, \
|
|
|
|
VkPhysicalDeviceIDPropertiesKHR, \
|
|
|
|
VkExternalMemoryImageCreateInfoKHR, \
|
|
|
|
VkExternalMemoryBufferCreateInfoKHR, \
|
|
|
|
VkExportMemoryAllocateInfoKHR, \
|
|
|
|
VkImportMemoryFdInfoKHR, \
|
|
|
|
VkMemoryFdPropertiesKHR, \
|
|
|
|
VkMemoryGetFdInfoKHR, \
|
|
|
|
VkPhysicalDeviceExternalSemaphoreInfoKHR, \
|
|
|
|
VkExternalSemaphorePropertiesKHR, \
|
|
|
|
VkExportSemaphoreCreateInfoKHR, \
|
|
|
|
VkImportSemaphoreFdInfoKHR, \
|
|
|
|
VkSemaphoreGetFdInfoKHR, \
|
|
|
|
VkPhysicalDeviceExternalFenceInfoKHR, \
|
|
|
|
VkExternalFencePropertiesKHR, \
|
|
|
|
VkExportFenceCreateInfoKHR, \
|
|
|
|
VkImportFenceFdInfoKHR, \
|
|
|
|
VkFenceGetFdInfoKHR, \
|
|
|
|
VkSurfaceCapabilities2EXT, \
|
|
|
|
VkDisplayPowerInfoEXT, \
|
|
|
|
VkDeviceEventInfoEXT, \
|
|
|
|
VkDisplayEventInfoEXT, \
|
|
|
|
VkSwapchainCounterCreateInfoEXT, \
|
|
|
|
VkDescriptorUpdateTemplateCreateInfoKHR, \
|
|
|
|
VkXYColorEXT, \
|
|
|
|
VkHdrMetadataEXT, \
|
|
|
|
VkRefreshCycleDurationGOOGLE, \
|
|
|
|
VkPastPresentationTimingGOOGLE, \
|
|
|
|
VkPresentTimesInfoGOOGLE, \
|
|
|
|
VkPresentTimeGOOGLE, \
|
|
|
|
VkViewportWScalingNV, \
|
|
|
|
VkPipelineViewportWScalingStateCreateInfoNV, \
|
|
|
|
VkViewportSwizzleNV, \
|
|
|
|
VkPipelineViewportSwizzleStateCreateInfoNV, \
|
|
|
|
VkPhysicalDeviceDiscardRectanglePropertiesEXT, \
|
|
|
|
VkPipelineDiscardRectangleStateCreateInfoEXT, \
|
|
|
|
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX, \
|
|
|
|
VkPhysicalDeviceSurfaceInfo2KHR, \
|
|
|
|
VkSurfaceCapabilities2KHR, \
|
|
|
|
VkSurfaceFormat2KHR, \
|
|
|
|
VkSharedPresentSurfaceCapabilitiesKHR, \
|
|
|
|
VkPhysicalDevice16BitStorageFeaturesKHR, \
|
|
|
|
VkBufferMemoryRequirementsInfo2KHR, \
|
|
|
|
VkImageMemoryRequirementsInfo2KHR, \
|
|
|
|
VkImageSparseMemoryRequirementsInfo2KHR, \
|
|
|
|
VkMemoryRequirements2KHR, \
|
|
|
|
VkSparseImageMemoryRequirements2KHR, \
|
|
|
|
VkMemoryDedicatedRequirementsKHR, \
|
|
|
|
VkMemoryDedicatedAllocateInfoKHR, \
|
|
|
|
VkTextureLODGatherFormatPropertiesAMD, \
|
|
|
|
VkPipelineCoverageToColorStateCreateInfoNV, \
|
|
|
|
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT, \
|
|
|
|
VkSampleLocationEXT, \
|
|
|
|
VkSampleLocationsInfoEXT, \
|
|
|
|
VkAttachmentSampleLocationsEXT, \
|
|
|
|
VkSubpassSampleLocationsEXT, \
|
|
|
|
VkRenderPassSampleLocationsBeginInfoEXT, \
|
|
|
|
VkPipelineSampleLocationsStateCreateInfoEXT, \
|
|
|
|
VkPhysicalDeviceSampleLocationsPropertiesEXT, \
|
|
|
|
VkMultisamplePropertiesEXT, \
|
|
|
|
VkSamplerReductionModeCreateInfoEXT, \
|
|
|
|
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT, \
|
|
|
|
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT, \
|
|
|
|
VkPipelineColorBlendAdvancedStateCreateInfoEXT, \
|
|
|
|
VkPipelineCoverageModulationStateCreateInfoNV, \
|
|
|
|
VkValidationCacheCreateInfoEXT, \
|
|
|
|
VkShaderModuleValidationCacheCreateInfoEXT)
|
|
|
|
|
2017-09-19 18:22:40 +10:00
|
|
|
#define VK_NATIVE_TYPE_MAP(FUNC) \
|
|
|
|
VK_NATIVE_ENUM_MAP(FUNC) \
|
|
|
|
VK_NATIVE_STRUCT_MAP(FUNC)
|
|
|
|
|
2016-02-24 11:11:41 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|