layers: Update database file for spec on 10/11/16
authorTobin Ehlis <tobine@google.com>
Tue, 11 Oct 2016 15:59:09 +0000 (09:59 -0600)
committerTobin Ehlis <tobine@google.com>
Tue, 11 Oct 2016 15:59:09 +0000 (09:59 -0600)
Update the error enum database file for spec as of 10/11/16.
There was only one change which was the removal of spurious </usage> tag
from error 500. Since this changed the error message, I had to force the
script to remap new 500 to the original 500.

Command line run to generate update:
python spec.py -update -remap 500-500

layers/vk_validation_error_database.txt
layers/vk_validation_error_messages.h

index 50c3eca..d1e5aeb 100644 (file)
@@ -506,7 +506,7 @@ VALIDATION_ERROR_00496~^~U~^~Unknown~^~For more information refer to Vulkan Spec
 VALIDATION_ERROR_00497~^~U~^~Unknown~^~For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'If flags contains the VK_PIPELINE_CREATE_DERIVATIVE_BIT flag, and basePipelineHandle is not VK_NULL_HANDLE, it must be a valid handle to a compute VkPipeline' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)
 VALIDATION_ERROR_00498~^~U~^~Unknown~^~For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'The stage member of stage must be VK_SHADER_STAGE_COMPUTE_BIT' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)
 VALIDATION_ERROR_00499~^~U~^~Unknown~^~For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'The shader code for the entry point identified by stage and the rest of the state identified by this structure must adhere to the pipeline linking rules described in the Shader Interfaces chapter' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)
-VALIDATION_ERROR_00500~^~U~^~Unknown~^~For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'layout must be consistent with the layout of the compute shader specified in stage</usage>' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)
+VALIDATION_ERROR_00500~^~U~^~Unknown~^~For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'layout must be consistent with the layout of the compute shader specified in stage' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)
 VALIDATION_ERROR_00501~^~U~^~Unknown~^~For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'sType must be VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)
 VALIDATION_ERROR_00502~^~U~^~Unknown~^~For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'pNext must be NULL' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)
 VALIDATION_ERROR_00503~^~U~^~Unknown~^~For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'flags must be a valid combination of VkPipelineCreateFlagBits values' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)
@@ -1699,4 +1699,4 @@ VALIDATION_ERROR_01689~^~U~^~Unknown~^~For more information refer to Vulkan Spec
 VALIDATION_ERROR_01690~^~U~^~Unknown~^~For more information refer to Vulkan Spec Section '30.4. Additional Image Capabilities' which states 'usage must be a valid combination of VkImageUsageFlagBits values' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkGetPhysicalDeviceImageFormatProperties)
 VALIDATION_ERROR_01691~^~U~^~Unknown~^~For more information refer to Vulkan Spec Section '30.4. Additional Image Capabilities' which states 'usage must not be 0' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkGetPhysicalDeviceImageFormatProperties)
 VALIDATION_ERROR_01692~^~U~^~Unknown~^~For more information refer to Vulkan Spec Section '30.4. Additional Image Capabilities' which states 'flags must be a valid combination of VkImageCreateFlagBits values' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkGetPhysicalDeviceImageFormatProperties)
-VALIDATION_ERROR_01693~^~U~^~Unknown~^~For more information refer to Vulkan Spec Section '30.4. Additional Image Capabilities' which states 'pImageFormatProperties must be a pointer to a VkImageFormatProperties structure' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkGetPhysicalDeviceImageFormatProperties)
+VALIDATION_ERROR_01693~^~U~^~Unknown~^~For more information refer to Vulkan Spec Section '30.4. Additional Image Capabilities' which states 'pImageFormatProperties must be a pointer to a VkImageFormatProperties structure' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkGetPhysicalDeviceImageFormatProperties)
\ No newline at end of file
index 80cb912..7660758 100644 (file)
@@ -2228,7 +2228,7 @@ static std::unordered_map<int, char const *const> validation_error_map{
     {VALIDATION_ERROR_00497, "For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'If flags contains the VK_PIPELINE_CREATE_DERIVATIVE_BIT flag, and basePipelineHandle is not VK_NULL_HANDLE, it must be a valid handle to a compute VkPipeline' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)"},
     {VALIDATION_ERROR_00498, "For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'The stage member of stage must be VK_SHADER_STAGE_COMPUTE_BIT' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)"},
     {VALIDATION_ERROR_00499, "For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'The shader code for the entry point identified by stage and the rest of the state identified by this structure must adhere to the pipeline linking rules described in the Shader Interfaces chapter' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)"},
-    {VALIDATION_ERROR_00500, "For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'layout must be consistent with the layout of the compute shader specified in stage</usage>' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)"},
+    {VALIDATION_ERROR_00500, "For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'layout must be consistent with the layout of the compute shader specified in stage' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)"},
     {VALIDATION_ERROR_00501, "For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'sType must be VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)"},
     {VALIDATION_ERROR_00502, "For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'pNext must be NULL' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)"},
     {VALIDATION_ERROR_00503, "For more information refer to Vulkan Spec Section '9.1. Compute Pipelines' which states 'flags must be a valid combination of VkPipelineCreateFlagBits values' (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkComputePipelineCreateInfo)"},