diff options
author | Tobin Ehlis <tobine@google.com> | 2017-04-04 12:23:48 -0600 |
---|---|---|
committer | Tobin Ehlis <tobine@google.com> | 2017-04-04 16:06:09 -0600 |
commit | 60f59be7ded9ccf2d57c36b2e0974cc2798cf844 (patch) | |
tree | 73a20bfcf81128317688911cc52f4e2158786d51 /tests | |
parent | 4973641466149f295df5bd6847537e941b68acf0 (diff) |
scripts:Update unique IDs for spec v1.0.45.1
Another massive update. Totally overhauled the mapping algorithm.
The basic outline of the new algorithm is:
-Try to map complete error message to prev ID
-Then try to map error msg w/o link to prev ID
-Finally try to map just core error string (no section) to prev ID
-Else assign it a new unique ID
See code for complete details.
In anticipation of integrated uniqueIDs I took a little liberty with
this update in that I didn't attempt to remap EVERY new ID to previous
IDs. I did many of them and made sure to account for every previous ID
that was implemented.
IDs will all be undergoing a one-time change with their integration
into the spec anyway so there is little harm in letting non-implemented
IDs drift a bit for now and it helps save my sanity.
I did add a validation step to the spec.py script to make sure and flag
any IDs that previously were implemented and suddenly are no longer in
the re-mapped version of IDs.
I manually presevered IDs 911 & 912 which get masked from the extension
spec.
I also had to do some manual updates on an offline spec to keep the
parser from breaking on the non-xhtml compliant spec.
Command line was:
python spec.py -update -remap 92-72:97-77:112-92:116-96:123-103:124-105:
133-114:148-2349:154-133,2:156-135:157-139:204-156:205-155:206-154:
417-269:1189-769:1417-938:1446-965:1448-967:1449-968:1487-974:
2193-1430,5:683-496:684-494:728-529:729-527:1628-1086:1731-1180:
1736-1183:1796-1234:1815-1251
Diffstat (limited to 'tests')
-rw-r--r-- | tests/layer_validation_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/layer_validation_tests.cpp b/tests/layer_validation_tests.cpp index 7d9fbe5d..a964e941 100644 --- a/tests/layer_validation_tests.cpp +++ b/tests/layer_validation_tests.cpp @@ -15563,7 +15563,7 @@ TEST_F(VkLayerTest, CreateImageLimitsViolationMinWidth) { info.extent.width = 0; VkImage image; - m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, VALIDATION_ERROR_00716); + m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, VALIDATION_ERROR_02917); m_errorMonitor->SetUnexpectedError("parameter pCreateInfo->extent.width must be greater than 0"); vkCreateImage(m_device->device(), &info, NULL, &image); m_errorMonitor->VerifyFound(); |