aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-10-31 11:10:38 -0600
committerTobin Ehlis <tobine@google.com>2016-10-31 11:10:38 -0600
commit14dd1564d687a863b756d6b6dc9bb9521cd3ba79 (patch)
tree3002f4b8257c20d89c05926ce907ecac63300b6c
parent837d5e44fd0b58914ae53483acfc1bebb62e7e8c (diff)
downloadusermoji-14dd1564d687a863b756d6b6dc9bb9521cd3ba79.tar.xz
scripts:Add newline at end of database file
This intends to always keep the newline there for consistency.
-rw-r--r--layers/spec.py2
-rw-r--r--layers/vk_validation_error_database.txt1
2 files changed, 2 insertions, 1 deletions
diff --git a/layers/spec.py b/layers/spec.py
index 75b3a16f..3ee77750 100644
--- a/layers/spec.py
+++ b/layers/spec.py
@@ -239,10 +239,10 @@ class Specification:
#print "delimiter: %s, id: %s, str: %s" % (self.delimiter, enum, self.val_error_dict[enum])
# No existing entry so default to N for implemented and None for testname
db_lines.append("%s%s%s%s%s%s%s%s%s%s%s" % (enum, self.delimiter, implemented, self.delimiter, testname, self.delimiter, self.val_error_dict[enum]['api'], self.delimiter, self.val_error_dict[enum]['error_msg'], self.delimiter, note))
+ db_lines.append("\n") # newline at end of file
print "Generating database file %s" % (db_file)
with open(db_file, "w") as outfile:
outfile.write("\n".join(db_lines))
- outfile.write("\n")
def readDB(self, db_file):
"""Read a db file into a dict, format of each line is <enum><implemented Y|N?><testname><errormsg>"""
db_dict = {} # This is a simple db of just enum->errormsg, the same as is created from spec
diff --git a/layers/vk_validation_error_database.txt b/layers/vk_validation_error_database.txt
index 868bbead..35816da6 100644
--- a/layers/vk_validation_error_database.txt
+++ b/layers/vk_validation_error_database.txt
@@ -2291,3 +2291,4 @@ VALIDATION_ERROR_02342~^~U~^~Unknown~^~vkQueuePresentKHR~^~For more information
VALIDATION_ERROR_02343~^~U~^~Unknown~^~vkCmdDebugMarkerEndEXT~^~For more information refer to Vulkan Spec Section '32.1.2. Command Buffer Markers' which states 'If the matching vkCmdDebugMarkerBeginEXT command was in a secondary command buffer, the vkCmdDebugMarkerEndEXT must be in the same commandBuffer' (https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#vkCmdDebugMarkerEndEXT)~^~
VALIDATION_ERROR_02344~^~U~^~Unknown~^~vkCreateImage~^~For more information refer to Vulkan Spec Section '11.3. Images' which states 'If imageType is VK_IMAGE_TYPE_3D, arrayLayers must be 1.' (https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkImageCreateInfo)~^~
VALIDATION_ERROR_02345~^~Y~^~DuplicateDescriptorBinding~^~vkCreateDescriptorSetLayout~^~For more information refer to Vulkan Spec Section '13.2.1. Descriptor Set Layout' which states 'The VkDescriptorSetLayoutBinding::binding members of the elements of the pBindings array must each have different values.' (https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkDescriptorSetLayoutCreateInfo)~^~
+