From 92437d51d19946d72434dfb0e6ad591552a51faa Mon Sep 17 00:00:00 2001 From: Peter Particle Date: Sat, 16 Jul 2016 14:06:32 +0200 Subject: [PATCH] vulkan-docs-v1.0.21 --- source/erupted/types.d | 45 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 4 deletions(-) diff --git a/source/erupted/types.d b/source/erupted/types.d index 8f4d0f5..f0baf0c 100644 --- a/source/erupted/types.d +++ b/source/erupted/types.d @@ -29,7 +29,7 @@ pure { extern(System): // Version of corresponding c header file -enum VK_HEADER_VERSION = 19; +enum VK_HEADER_VERSION = 21; enum VK_NULL_HANDLE = null; @@ -235,6 +235,9 @@ enum VkStructureType { VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT = 1000022000, VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT = 1000022001, VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT = 1000022002, + VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV = 1000026000, + VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV = 1000026001, + VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV = 1000026002, VK_STRUCTURE_TYPE_BEGIN_RANGE = VK_STRUCTURE_TYPE_APPLICATION_INFO, VK_STRUCTURE_TYPE_END_RANGE = VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO, VK_STRUCTURE_TYPE_RANGE_SIZE = (VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO - VK_STRUCTURE_TYPE_APPLICATION_INFO + 1), @@ -307,6 +310,9 @@ enum VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD = Vk enum VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT = VkStructureType.VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT; enum VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT = VkStructureType.VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT; enum VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT = VkStructureType.VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT; +enum VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV = VkStructureType.VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV; +enum VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV = VkStructureType.VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV; +enum VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV = VkStructureType.VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV; enum VK_STRUCTURE_TYPE_BEGIN_RANGE = VkStructureType.VK_STRUCTURE_TYPE_BEGIN_RANGE; enum VK_STRUCTURE_TYPE_END_RANGE = VkStructureType.VK_STRUCTURE_TYPE_END_RANGE; enum VK_STRUCTURE_TYPE_RANGE_SIZE = VkStructureType.VK_STRUCTURE_TYPE_RANGE_SIZE; @@ -3664,9 +3670,28 @@ enum VK_AMD_EXTENSION_25_EXTENSION_NAME = "VK_AMD_extension_25"; enum VK_AMD_GCN_SHADER_SPEC_VERSION = 1; enum VK_AMD_GCN_SHADER_EXTENSION_NAME = "VK_AMD_gcn_shader"; -// VK_NV_extension_27 -enum VK_NV_EXTENSION_27_SPEC_VERSION = 0; -enum VK_NV_EXTENSION_27_EXTENSION_NAME = "VK_NV_extension_27"; +// VK_NV_dedicated_allocation +enum VK_NV_DEDICATED_ALLOCATION_SPEC_VERSION = 1; +enum VK_NV_DEDICATED_ALLOCATION_EXTENSION_NAME = "VK_NV_dedicated_allocation"; + +struct VkDedicatedAllocationImageCreateInfoNV { + VkStructureType sType = VkStructureType.VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV; + const(void)* pNext; + VkBool32 dedicatedAllocation; +} + +struct VkDedicatedAllocationBufferCreateInfoNV { + VkStructureType sType = VkStructureType.VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV; + const(void)* pNext; + VkBool32 dedicatedAllocation; +} + +struct VkDedicatedAllocationMemoryAllocateInfoNV { + VkStructureType sType = VkStructureType.VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV; + const(void)* pNext; + VkImage image; + VkBuffer buffer; +} // VK_EXT_extension_28 enum VK_EXT_EXTENSION_28_SPEC_VERSION = 0; @@ -3760,3 +3785,15 @@ enum VK_GOOGLE_EXTENSION_49_EXTENSION_NAME = "VK_GOOGLE_extension_49"; enum VK_GOOGLE_EXTENSION_50_SPEC_VERSION = 0; enum VK_GOOGLE_EXTENSION_50_EXTENSION_NAME = "VK_GOOGLE_extension_50"; +// VK_NVX_extension_51 +enum VK_NVX_EXTENSION_51_SPEC_VERSION = 0; +enum VK_NVX_EXTENSION_51_EXTENSION_NAME = "VK_NVX_extension_51"; + +// VK_NVX_extension_52 +enum VK_NVX_EXTENSION_52_SPEC_VERSION = 0; +enum VK_NVX_EXTENSION_52_EXTENSION_NAME = "VK_NVX_extension_52"; + +// VK_NV_extension_53 +enum VK_NV_EXTENSION_53_SPEC_VERSION = 0; +enum VK_NV_EXTENSION_53_EXTENSION_NAME = "VK_NV_extension_53"; +