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.
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: