layers: Fix script crash for special-cased err enum
authorMark Lobodzinski <mark@lunarg.com>
Fri, 2 Jun 2017 22:31:30 +0000 (16:31 -0600)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 6 Jun 2017 20:36:42 +0000 (14:36 -0600)
Change-Id: Ic054c35fd777e66e85ed56978ad1628ec24b94a6

layers/vk_validation_stats.py

index a586f67b34c53afb4cef8abe9644cf4357c5091f..18ff01bda967e0eaf89fcb58fded67c9b5a7f351 100755 (executable)
@@ -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: