From 9a162f5e65e6d34cec22d2e0d4796bcdc68d3cf0 Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Mon, 16 Apr 2018 08:15:59 -0600 Subject: header: Update to version 1.1.73 of the Vulkan hdr - update json files - update vk.xml - update vulkan_core.h - update validusage.json - update vk_validation_error_messages.h - update vk_validation_error_database.txt - update vulkan.hpp - removed checks for the following deprecated VUIDs related to ImageCreateInfo and FormatProperties: - VALIDATION_ERROR_09e007ae - VALIDATION_ERROR_09e007b4 - VALIDATION_ERROR_09e007ac - VALIDATION_ERROR_09e007a6 - VALIDATION_ERROR_09e007b2 - VALIDATION_ERROR_09e007a4 - VALIDATION_ERROR_09e007aa - VALIDATION_ERROR_09e007a8 - VALIDATION_ERROR_09e007a2 - VALIDATION_ERROR_09e007b0 - modified CreateImageFormatSupportErrors test to remove killed checks - modified ImageLayerUnsupportedFormat test to remove killed check Change-Id: I8f1577747d87fdeb6f68b9db0340443a83c44630 --- scripts/validusage.json | 92 +++++++++++++++++++------------------------------ 1 file changed, 35 insertions(+), 57 deletions(-) (limited to 'scripts/validusage.json') diff --git a/scripts/validusage.json b/scripts/validusage.json index 25ac1294..2cde7336 100644 --- a/scripts/validusage.json +++ b/scripts/validusage.json @@ -1,9 +1,9 @@ { "version info": { "schema version": 2, - "api version": "1.1.72", - "comment": "from git branch: master commit: e1c0e426f37e45705273f2c5b6cbb0a0f74e3d75", - "date": "2018-04-05 21:58:05Z" + "api version": "1.1.73", + "comment": "from git branch: master commit: 5300d9f05e03f721812273d5f9f9676c3227f056", + "date": "2018-04-16 14:18:46Z" }, "validation": { "vkGetInstanceProcAddr": { @@ -198,7 +198,7 @@ }, { "vuid": "VUID-VkPhysicalDeviceProperties2-pNext-pNext", - "text": " Each pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT, VkPhysicalDeviceConservativeRasterizationPropertiesEXT, VkPhysicalDeviceDiscardRectanglePropertiesEXT, VkPhysicalDeviceExternalMemoryHostPropertiesEXT, VkPhysicalDeviceIDProperties, VkPhysicalDeviceMaintenance3Properties, VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX, VkPhysicalDeviceMultiviewProperties, VkPhysicalDevicePointClippingProperties, VkPhysicalDeviceProtectedMemoryProperties, VkPhysicalDevicePushDescriptorPropertiesKHR, VkPhysicalDeviceSampleLocationsPropertiesEXT, VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT, VkPhysicalDeviceShaderCorePropertiesAMD, VkPhysicalDeviceSubgroupProperties, or VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT" + "text": " Each pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT, VkPhysicalDeviceConservativeRasterizationPropertiesEXT, VkPhysicalDeviceDescriptorIndexingPropertiesEXT, VkPhysicalDeviceDiscardRectanglePropertiesEXT, VkPhysicalDeviceExternalMemoryHostPropertiesEXT, VkPhysicalDeviceIDProperties, VkPhysicalDeviceMaintenance3Properties, VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX, VkPhysicalDeviceMultiviewProperties, VkPhysicalDevicePointClippingProperties, VkPhysicalDeviceProtectedMemoryProperties, VkPhysicalDevicePushDescriptorPropertiesKHR, VkPhysicalDeviceSampleLocationsPropertiesEXT, VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT, VkPhysicalDeviceShaderCorePropertiesAMD, VkPhysicalDeviceSubgroupProperties, or VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT" }, { "vuid": "VUID-VkPhysicalDeviceProperties2-sType-unique", @@ -2580,6 +2580,10 @@ "vuid": "VUID-VkBufferMemoryBarrier-buffer-01196", "text": " If buffer was created with a sharing mode of VK_SHARING_MODE_EXCLUSIVE, and srcQueueFamilyIndex and dstQueueFamilyIndex are not VK_QUEUE_FAMILY_IGNORED, at least one of them must be the same as the family of the queue that will execute this barrier" }, + { + "vuid": "VUID-VkBufferMemoryBarrier-buffer-01931", + "text": " If buffer is non-sparse then it must be bound completely and contiguously to a single VkDeviceMemory object" + }, { "vuid": "VUID-VkBufferMemoryBarrier-sType-sType", "text": " sType must be VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER" @@ -2692,6 +2696,10 @@ "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01213", "text": " If either oldLayout or newLayout is VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL then image must have been created with VK_IMAGE_USAGE_TRANSFER_DST_BIT set" }, + { + "vuid": "VUID-VkImageMemoryBarrier-image-01932", + "text": " If image is non-sparse then it must be bound completely and contiguously to a single VkDeviceMemory object" + }, { "vuid": "VUID-VkImageMemoryBarrier-sType-sType", "text": " sType must be VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER" @@ -2889,27 +2897,37 @@ { "vuid": "VUID-VkRenderPassCreateInfo-pAttachments-01567", "text": " For any member of pAttachments with a stencilLoadOp equal to VK_ATTACHMENT_LOAD_OP_CLEAR, the first use of that attachment must not specify a layout equal to VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL." + }, + { + "vuid": "VUID-VkRenderPassCreateInfo-pNext-01926", + "text": " If the pNext chain includes an instance of VkRenderPassInputAttachmentAspectCreateInfo, the subpass member of each element of its pAspectReferences member must be less than subpassCount" + }, + { + "vuid": "VUID-VkRenderPassCreateInfo-pNext-01927", + "text": " If the pNext chain includes an instance of VkRenderPassInputAttachmentAspectCreateInfo, the inputAttachmentIndex member of each element of its pAspectReferences member must be less than the value of inputAttachmentCount in the member of pSubpasses identified by its subpass member" } - ] - }, - "VkRenderPassMultiviewCreateInfo": { + ], "(VK_VERSION_1_1,VK_KHR_multiview)": [ { - "vuid": "VUID-VkRenderPassMultiviewCreateInfo-subpassCount-00839", - "text": " If subpassCount is not zero, subpassCount must be equal to the subpassCount in the VkRenderPassCreateInfo structure at the start of the chain" + "vuid": "VUID-VkRenderPassCreateInfo-pNext-01928", + "text": " If the pNext chain includes an instance of VkRenderPassMultiviewCreateInfo, and its subpassCount member is not zero, that member must be equal to the value of subpassCount" }, { - "vuid": "VUID-VkRenderPassMultiviewCreateInfo-dependencyCount-00840", - "text": " If dependencyCount is not zero, dependencyCount must be equal to the dependencyCount in the VkRenderPassCreateInfo structure at the start of the chain" + "vuid": "VUID-VkRenderPassCreateInfo-pNext-01929", + "text": " If the pNext chain includes an instance of VkRenderPassMultiviewCreateInfo, if its dependencyCount member is not zero, it must be equal to dependencyCount" }, + { + "vuid": "VUID-VkRenderPassCreateInfo-pNext-01930", + "text": " If the pNext chain includes an instance of VkRenderPassMultiviewCreateInfo, for each non-zero element of pViewOffsets, the srcSubpass and dstSubpass members of pDependencies at the same index must not be equal" + } + ] + }, + "VkRenderPassMultiviewCreateInfo": { + "(VK_VERSION_1_1,VK_KHR_multiview)": [ { "vuid": "VUID-VkRenderPassMultiviewCreateInfo-pCorrelationMasks-00841", "text": " Each view index must not be set in more than one element of pCorrelationMasks" }, - { - "vuid": "VUID-VkRenderPassMultiviewCreateInfo-pViewOffsets-00842", - "text": " If an element of pViewOffsets is non-zero, the corresponding VkSubpassDependency structure must have different values of srcSubpass and dstSubpass." - }, { "vuid": "VUID-VkRenderPassMultiviewCreateInfo-sType-sType", "text": " sType must be VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO" @@ -6266,46 +6284,6 @@ "vuid": "VUID-VkImageCreateInfo-imageType-00976", "text": " If the <<features-features-sparseResidency16Samples,sparse residency for images with 16 samples>> feature is not enabled, imageType is VK_IMAGE_TYPE_2D, and samples is VK_SAMPLE_COUNT_16_BIT, flags must not contain VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT" }, - { - "vuid": "VUID-VkImageCreateInfo-tiling-00977", - "text": " If tiling is VK_IMAGE_TILING_LINEAR, format must be a format that has at least one supported feature bit present in the value of VkFormatProperties::linearTilingFeatures returned by vkGetPhysicalDeviceFormatProperties with the same value of format" - }, - { - "vuid": "VUID-VkImageCreateInfo-tiling-00978", - "text": " If tiling is VK_IMAGE_TILING_LINEAR, and VkFormatProperties::linearTilingFeatures (as returned by vkGetPhysicalDeviceFormatProperties with the same value of format) does not include VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT, usage must not contain VK_IMAGE_USAGE_SAMPLED_BIT" - }, - { - "vuid": "VUID-VkImageCreateInfo-tiling-00979", - "text": " If tiling is VK_IMAGE_TILING_LINEAR, and VkFormatProperties::linearTilingFeatures (as returned by vkGetPhysicalDeviceFormatProperties with the same value of format) does not include VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT, usage must not contain VK_IMAGE_USAGE_STORAGE_BIT" - }, - { - "vuid": "VUID-VkImageCreateInfo-tiling-00980", - "text": " If tiling is VK_IMAGE_TILING_LINEAR, and VkFormatProperties::linearTilingFeatures (as returned by vkGetPhysicalDeviceFormatProperties with the same value of format) does not include VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT, usage must not contain VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT" - }, - { - "vuid": "VUID-VkImageCreateInfo-tiling-00981", - "text": " If tiling is VK_IMAGE_TILING_LINEAR, and VkFormatProperties::linearTilingFeatures (as returned by vkGetPhysicalDeviceFormatProperties with the same value of format) does not include VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT, usage must not contain VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT" - }, - { - "vuid": "VUID-VkImageCreateInfo-tiling-00982", - "text": " If tiling is VK_IMAGE_TILING_OPTIMAL, format must be a format that has at least one supported feature bit present in the value of VkFormatProperties::optimalTilingFeatures returned by vkGetPhysicalDeviceFormatProperties with the same value of format" - }, - { - "vuid": "VUID-VkImageCreateInfo-tiling-00983", - "text": " If tiling is VK_IMAGE_TILING_OPTIMAL, and VkFormatProperties::optimalTilingFeatures (as returned by vkGetPhysicalDeviceFormatProperties with the same value of format) does not include VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT, usage must not contain VK_IMAGE_USAGE_SAMPLED_BIT" - }, - { - "vuid": "VUID-VkImageCreateInfo-tiling-00984", - "text": " If tiling is VK_IMAGE_TILING_OPTIMAL, and VkFormatProperties::optimalTilingFeatures (as returned by vkGetPhysicalDeviceFormatProperties with the same value of format) does not include VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT, usage must not contain VK_IMAGE_USAGE_STORAGE_BIT" - }, - { - "vuid": "VUID-VkImageCreateInfo-tiling-00985", - "text": " If tiling is VK_IMAGE_TILING_OPTIMAL, and VkFormatProperties::optimalTilingFeatures (as returned by vkGetPhysicalDeviceFormatProperties with the same value of format) does not include VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT, usage must not contain VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT" - }, - { - "vuid": "VUID-VkImageCreateInfo-tiling-00986", - "text": " If tiling is VK_IMAGE_TILING_OPTIMAL, and VkFormatProperties::optimalTilingFeatures (as returned by vkGetPhysicalDeviceFormatProperties with the same value of format) does not include VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT, usage must not contain VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT" - }, { "vuid": "VUID-VkImageCreateInfo-flags-00987", "text": " If flags contains VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT or VK_IMAGE_CREATE_SPARSE_ALIASED_BIT, it must also contain VK_IMAGE_CREATE_SPARSE_BINDING_BIT" @@ -16471,8 +16449,8 @@ "text": " presentMode must be one of the VkPresentModeKHR values returned by vkGetPhysicalDeviceSurfacePresentModesKHR for the surface" }, { - "vuid": "VUID-VkSwapchainCreateInfoKHR-oldSwapchain-01674", - "text": " oldSwapchain must not be in the retired state" + "vuid": "VUID-VkSwapchainCreateInfoKHR-oldSwapchain-01933", + "text": " If oldSwapchain is not VK_NULL_HANDLE, oldSwapchain must be a non-retired swapchain associated with native window referred to by surface" }, { "vuid": "VUID-VkSwapchainCreateInfoKHR-imageFormat-01778", -- cgit v1.2.3