From 36594c65e58bd877c653f153cc2ab4bc210a40b8 Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Wed, 23 Nov 2016 13:08:01 -0700 Subject: scripts:Add exception for error 1790 VALIDATION_ERROR_01790 is a special case that provides an exception for valid usage when VK_AMD_negative_viewport_height extension is enabled. There's no actual error to flag here, but the code does handle the exception case correctly so adding it as an exception in the stat script as well to reflect that it's implemented. --- layers/vk_validation_stats.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layers/vk_validation_stats.py b/layers/vk_validation_stats.py index 390431e6..fa3819d7 100755 --- a/layers/vk_validation_stats.py +++ b/layers/vk_validation_stats.py @@ -129,6 +129,8 @@ class ValidationSource: def __init__(self, source_file_list): self.source_files = source_file_list self.enum_count_dict = {} # dict of enum values to the count of how much they're used + # 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_01790'] = 1 def parse(self): duplicate_checks = 0 for sf in self.source_files: -- cgit v1.2.3