Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify generation and usage of spec valid usage error strings #272

Merged
merged 2 commits into from
Aug 13, 2018

Conversation

daveh-lunarg
Copy link
Contributor

@daveh-lunarg daveh-lunarg commented Aug 7, 2018

Modified vk_validation_stats script to allow export of a new version of vk_validation_error_messages.h. Also improved the stripping of formatting codes to catch more cases, including one recent addition that was crashing the csv exporter.

Removed some lingering references to UNIQUE_VALIDATION_ERROR_CODE enums in validation code, and updated functions that were still passing (now unused) msg_code parameters.

@daveh-lunarg daveh-lunarg changed the title Fix illegal char export crash in vk_validation_stats WIP: Update validation_stats script to export a VUID error text header file Aug 8, 2018
@daveh-lunarg
Copy link
Contributor Author

Simple bug-fix has grown into a larger effort to update VUID error message handling. Added 'WIP'

@daveh-lunarg daveh-lunarg changed the title WIP: Update validation_stats script to export a VUID error text header file Modify generation and usage of spec valid usage error strings Aug 9, 2018
@daveh-lunarg
Copy link
Contributor Author

No longer WIP - please review again.

Improved format stripping of error text strings in vk_validation_stats
script and added functionality to export a new header file that
maps text VUIDs to these spec error strings. Removed lingering
references to UNIQUE_VALIDATION_ERROR_CODE enums and functions that
were still passing (now unused) msg_code parameters.

Updated CMakeLists to avoid build errors on Win64 related to the size
of the new error map.

Change-Id: I1ff74c7b57ce5021271842da5419055820bd4730
Change-Id: I6b4cf17b25b55cc6b6e4aace07b7654ccb41ce42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants