const void* pNext;
VkInstanceCreateFlags flags;
const VkApplicationInfo* pApplicationInfo;
- deUint32 enabledLayerNameCount;
+ deUint32 enabledLayerCount;
const char* const* ppEnabledLayerNames;
- deUint32 enabledExtensionNameCount;
+ deUint32 enabledExtensionCount;
const char* const* ppEnabledExtensionNames;
};
VkBool32 dualSrcBlend;
VkBool32 logicOp;
VkBool32 multiDrawIndirect;
+ VkBool32 drawIndirectFirstInstance;
VkBool32 depthClamp;
VkBool32 depthBiasClamp;
VkBool32 fillModeNonSolid;
VkBool32 sparseResidency16Samples;
VkBool32 sparseResidencyAliased;
VkBool32 variableMultisampleRate;
+ VkBool32 inheritedQueries;
};
struct VkFormatProperties
struct VkExtent3D
{
- deInt32 width;
- deInt32 height;
- deInt32 depth;
+ deUint32 width;
+ deUint32 height;
+ deUint32 depth;
};
struct VkImageFormatProperties
VkSampleCountFlags sampledImageStencilSampleCounts;
VkSampleCountFlags storageImageSampleCounts;
deUint32 maxSampleMaskWords;
+ VkBool32 timestampComputeAndGraphics;
float timestampPeriod;
deUint32 maxClipDistances;
deUint32 maxCullDistances;
VkDeviceCreateFlags flags;
deUint32 queueCreateInfoCount;
const VkDeviceQueueCreateInfo* pQueueCreateInfos;
- deUint32 enabledLayerNameCount;
+ deUint32 enabledLayerCount;
const char* const* ppEnabledLayerNames;
- deUint32 enabledExtensionNameCount;
+ deUint32 enabledExtensionCount;
const char* const* ppEnabledExtensionNames;
const VkPhysicalDeviceFeatures* pEnabledFeatures;
};
struct VkSubmitInfo
{
- VkStructureType sType;
- const void* pNext;
- deUint32 waitSemaphoreCount;
- const VkSemaphore* pWaitSemaphores;
- deUint32 commandBufferCount;
- const VkCommandBuffer* pCommandBuffers;
- deUint32 signalSemaphoreCount;
- const VkSemaphore* pSignalSemaphores;
+ VkStructureType sType;
+ const void* pNext;
+ deUint32 waitSemaphoreCount;
+ const VkSemaphore* pWaitSemaphores;
+ const VkPipelineStageFlags* pWaitDstStageMask;
+ deUint32 commandBufferCount;
+ const VkCommandBuffer* pCommandBuffers;
+ deUint32 signalSemaphoreCount;
+ const VkSemaphore* pSignalSemaphores;
};
struct VkMemoryAllocateInfo
struct VkSparseImageMemoryRequirements
{
VkSparseImageFormatProperties formatProperties;
- deUint32 imageMipTailStartLod;
+ deUint32 imageMipTailFirstLod;
VkDeviceSize imageMipTailSize;
VkDeviceSize imageMipTailOffset;
VkDeviceSize imageMipTailStride;
const void* pNext;
VkQueryPoolCreateFlags flags;
VkQueryType queryType;
- deUint32 entryCount;
+ deUint32 queryCount;
VkQueryPipelineStatisticFlags pipelineStatistics;
};
VkDeviceSize offset;
VkDeviceSize size;
VkDeviceSize rowPitch;
+ VkDeviceSize arrayPitch;
VkDeviceSize depthPitch;
};
{
VkStructureType sType;
const void* pNext;
- VkPipelineTesselationStateCreateFlags flags;
+ VkPipelineTessellationStateCreateFlags flags;
deUint32 patchControlPoints;
};
struct VkExtent2D
{
- deInt32 width;
- deInt32 height;
+ deUint32 width;
+ deUint32 height;
};
struct VkRect2D
VkSamplerAddressMode addressModeV;
VkSamplerAddressMode addressModeW;
float mipLodBias;
+ VkBool32 anisotropyEnable;
float maxAnisotropy;
VkBool32 compareEnable;
VkCompareOp compareOp;
const void* pNext;
VkDescriptorSetLayoutCreateFlags flags;
deUint32 bindingCount;
- const VkDescriptorSetLayoutBinding* pBinding;
+ const VkDescriptorSetLayoutBinding* pBindings;
};
struct VkDescriptorPoolSize
VkStructureType sType;
const void* pNext;
VkDescriptorPool descriptorPool;
- deUint32 setLayoutCount;
+ deUint32 descriptorSetCount;
const VkDescriptorSetLayout* pSetLayouts;
};
const VkAttachmentReference* pResolveAttachments;
const VkAttachmentReference* pDepthStencilAttachment;
deUint32 preserveAttachmentCount;
- const VkAttachmentReference* pPreserveAttachments;
+ const deUint32* pPreserveAttachments;
};
struct VkSubpassDependency
const void* pNext;
VkCommandPool commandPool;
VkCommandBufferLevel level;
- deUint32 bufferCount;
+ deUint32 commandBufferCount;
};
-struct VkCommandBufferBeginInfo
+struct VkCommandBufferInheritanceInfo
{
VkStructureType sType;
const void* pNext;
- VkCommandBufferUsageFlags flags;
VkRenderPass renderPass;
deUint32 subpass;
VkFramebuffer framebuffer;
VkQueryPipelineStatisticFlags pipelineStatistics;
};
+struct VkCommandBufferBeginInfo
+{
+ VkStructureType sType;
+ const void* pNext;
+ VkCommandBufferUsageFlags flags;
+ const VkCommandBufferInheritanceInfo* pInheritanceInfo;
+};
+
struct VkBufferCopy
{
VkDeviceSize srcOffset;
struct VkImageBlit
{
VkImageSubresourceLayers srcSubresource;
- VkOffset3D srcOffset;
- VkExtent3D srcExtent;
+ VkOffset3D srcOffsets[2];
VkImageSubresourceLayers dstSubresource;
- VkOffset3D dstOffset;
- VkExtent3D dstExtent;
+ VkOffset3D dstOffsets[2];
};
struct VkBufferImageCopy
VkExtent3D extent;
};
-struct VkRenderPassBeginInfo
+struct VkMemoryBarrier
{
- VkStructureType sType;
- const void* pNext;
- VkRenderPass renderPass;
- VkFramebuffer framebuffer;
- VkRect2D renderArea;
- deUint32 clearValueCount;
- const VkClearValue* pClearValues;
+ VkStructureType sType;
+ const void* pNext;
+ VkAccessFlags srcAccessMask;
+ VkAccessFlags dstAccessMask;
};
struct VkBufferMemoryBarrier
VkDeviceSize size;
};
+struct VkImageMemoryBarrier
+{
+ VkStructureType sType;
+ const void* pNext;
+ VkAccessFlags srcAccessMask;
+ VkAccessFlags dstAccessMask;
+ VkImageLayout oldLayout;
+ VkImageLayout newLayout;
+ deUint32 srcQueueFamilyIndex;
+ deUint32 dstQueueFamilyIndex;
+ VkImage image;
+ VkImageSubresourceRange subresourceRange;
+};
+
+struct VkRenderPassBeginInfo
+{
+ VkStructureType sType;
+ const void* pNext;
+ VkRenderPass renderPass;
+ VkFramebuffer framebuffer;
+ VkRect2D renderArea;
+ deUint32 clearValueCount;
+ const VkClearValue* pClearValues;
+};
+
struct VkDispatchIndirectCommand
{
deUint32 x;
deUint32 firstInstance;
};
-struct VkImageMemoryBarrier
-{
- VkStructureType sType;
- const void* pNext;
- VkAccessFlags srcAccessMask;
- VkAccessFlags dstAccessMask;
- VkImageLayout oldLayout;
- VkImageLayout newLayout;
- deUint32 srcQueueFamilyIndex;
- deUint32 dstQueueFamilyIndex;
- VkImage image;
- VkImageSubresourceRange subresourceRange;
-};
-
-struct VkMemoryBarrier
-{
- VkStructureType sType;
- const void* pNext;
- VkAccessFlags srcAccessMask;
- VkAccessFlags dstAccessMask;
-};
-
struct VkSurfaceCapabilitiesKHR
{
deUint32 minImageCount;
VkBool32 persistent;
};
+struct VkXlibSurfaceCreateInfoKHR
+{
+ VkStructureType sType;
+ const void* pNext;
+ VkXlibSurfaceCreateFlagsKHR flags;
+ pt::XlibDisplayPtr dpy;
+ pt::XlibWindow window;
+};
+
+struct VkXcbSurfaceCreateInfoKHR
+{
+ VkStructureType sType;
+ const void* pNext;
+ VkXcbSurfaceCreateFlagsKHR flags;
+ pt::XcbConnectionPtr connection;
+ pt::XcbWindow window;
+};
+
+struct VkWaylandSurfaceCreateInfoKHR
+{
+ VkStructureType sType;
+ const void* pNext;
+ VkWaylandSurfaceCreateFlagsKHR flags;
+ pt::WaylandDisplayPtr display;
+ pt::WaylandSurfacePtr surface;
+};
+
+struct VkMirSurfaceCreateInfoKHR
+{
+ VkStructureType sType;
+ const void* pNext;
+ VkMirSurfaceCreateFlagsKHR flags;
+ pt::MirConnectionPtr connection;
+ pt::MirSurfacePtr mirSurface;
+};
+
+struct VkAndroidSurfaceCreateInfoKHR
+{
+ VkStructureType sType;
+ const void* pNext;
+ VkAndroidSurfaceCreateFlagsKHR flags;
+ pt::AndroidNativeWindowPtr window;
+};
+
+struct VkWin32SurfaceCreateInfoKHR
+{
+ VkStructureType sType;
+ const void* pNext;
+ VkWin32SurfaceCreateFlagsKHR flags;
+ pt::Win32InstanceHandle hinstance;
+ pt::Win32WindowHandle hwnd;
+};
+
+struct VkDebugReportCallbackCreateInfoEXT
+{
+ VkStructureType sType;
+ const void* pNext;
+ VkDebugReportFlagsEXT flags;
+ PFN_vkDebugReportCallbackEXT pfnCallback;
+ void* pUserData;
+};
+