aboutsummaryrefslogtreecommitdiff
path: root/layers
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-11-23 13:08:01 -0700
committerTobin Ehlis <tobine@google.com>2016-11-23 16:12:36 -0700
commit36594c65e58bd877c653f153cc2ab4bc210a40b8 (patch)
tree0e676de33a3f83cbf1937bdbd9a1b0e47ef0ee8c /layers
parented1d7e36b89157868b610a12af9d1cb381dd8862 (diff)
downloadusermoji-36594c65e58bd877c653f153cc2ab4bc210a40b8.tar.xz
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.
Diffstat (limited to 'layers')
-rwxr-xr-xlayers/vk_validation_stats.py2
1 files changed, 2 insertions, 0 deletions
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: