diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-12-22 14:31:01 -0700 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-12-23 14:39:34 -0700 |
| commit | 5f89a480520d0dc78c3df29d903eaeae209dbbbe (patch) | |
| tree | bfc36be9dce8f72e75e750800066d1273ecf87a2 | |
| parent | df503e081d4adb55edb6b7562059565c89c44acf (diff) | |
| download | usermoji-5f89a480520d0dc78c3df29d903eaeae209dbbbe.tar.xz | |
scripts:Add more duplicate error enum exceptions
Allow various other unique error enums to be used multiple times.
Addressing these on a case-by-case basis and documenting the exceptions
in the script.
| -rwxr-xr-x | layers/vk_validation_stats.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/layers/vk_validation_stats.py b/layers/vk_validation_stats.py index ecf48535..6003fa1c 100755 --- a/layers/vk_validation_stats.py +++ b/layers/vk_validation_stats.py @@ -57,8 +57,14 @@ header_file = 'vk_validation_error_messages.h' test_file = '../tests/layer_validation_tests.cpp' # List of enums that are allowed to be used more than once so don't warn on their duplicates duplicate_exceptions = [ -'VALIDATION_ERROR_00942', # This is a descriptor set write update error that we use for a couple copy cases as well +'VALIDATION_ERROR_00018', # This covers the broad case that all child objects must be destroyed at DestroyInstance time +'VALIDATION_ERROR_00049', # This covers the broad case that all child objects must be destroyed at DestroyDevice time 'VALIDATION_ERROR_00648', # This is a case for VkMappedMemoryRange struct that is used by both Flush & Invalidate MappedMemoryRange +'VALIDATION_ERROR_00741', # This is a blanket case for all invalid image aspect bit errors. The spec link has appropriate details for all separate cases. +'VALIDATION_ERROR_00768', # This case covers two separate checks which are done independently +'VALIDATION_ERROR_00769', # This case covers two separate checks which are done independently +'VALIDATION_ERROR_00942', # This is a descriptor set write update error that we use for a couple copy cases as well +'VALIDATION_ERROR_02525', # Used twice for the same error codepath as both a param & to set a variable, so not really a duplicate ] class ValidationDatabase: |
