aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2017-06-02 16:31:30 -0600
committerMark Lobodzinski <mark@lunarg.com>2017-06-06 14:36:42 -0600
commit220e846088922f37607873aab7a463d0bdfa74b6 (patch)
tree6b8f69f903e3e6203148f47a5018c64e552a6a03
parent71ff739c20ab6b023945df59117559b3fed1a03e (diff)
downloadusermoji-220e846088922f37607873aab7a463d0bdfa74b6.tar.xz
layers: Fix script crash for special-cased err enum
Change-Id: Ic054c35fd777e66e85ed56978ad1628ec24b94a6
-rwxr-xr-xlayers/vk_validation_stats.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/vk_validation_stats.py b/layers/vk_validation_stats.py
index a586f67b..18ff01bd 100755
--- a/layers/vk_validation_stats.py
+++ b/layers/vk_validation_stats.py
@@ -170,6 +170,7 @@ class ValidationSource:
# 1790 is a special case that provides an exception when an extension is enabled. No specific error is flagged, but the exception is handled so add it here
self.enum_count_dict['VALIDATION_ERROR_1500099c'] = {}
self.enum_count_dict['VALIDATION_ERROR_1500099c']['count'] = 1
+ self.enum_count_dict['VALIDATION_ERROR_1500099c']['file_line'] = []
def parse(self):
duplicate_checks = 0
for sf in self.source_files: