aboutsummaryrefslogtreecommitdiff
path: root/scripts/vk_validation_stats.py
AgeCommit message (Collapse)Author
2018-01-31layers: Improve doc validation init-list parsingJohn Zulauf
Change VALIDATION_ERROR_ parsing to correctly recognize error ids in initializer lists, including the formatting as done by clang-format. {VALIDATION_ERRROR_nnnn, ... VALIDATION_ERROR_nnnn} Change-Id: I25a1c0d0c9181ece458f7c83d2f184abea8d1f4a
2018-01-17layers: Fix doc validation file list checkJohn Zulauf
The check for required files was counting the files multiple times and aborting silently. The check now correct counts files and exits with non-zero exit code on failure. Change-Id: I5b158f7cca0dd541571d95c00c3450139daf32c4
2018-01-08scripts: Default doc validator to non-verbose modeMark Lobodzinski
Change-Id: Ib62e92a3b84609df55179e4868e5030a010f712f
2017-10-06tests: Fix doc validator scriptMark Lobodzinski
Script was intolerant of unicode characters that now show up in the spec. Change-Id: I125f12139eec395ffc8ae61e92de1428fa2ac0c6
2017-08-16layers: Re-architect parameter validation layerMark Lobodzinski
Changed the codegen to autogenerate validation functions for any new APIs without user intervention. Manual updates are only necessary to extend PV functionality. - parameter_validation.h is now checked into the layers directory - parameter_validation.cpp is now generated - parameter_validation_utils.cpp is new and contains any custom (non-generated) or housekeeping functions. - parameter_validation_utils.h is deprecated - updated database for new VUID coverage Change-Id: Ib9261894386145573ba9e8906ba4ad4e9fecbdfd
2017-08-02layers: Fix incorrect VUID for negative viewport htMark Lobodzinski
Layers used the wrong VUID for the checks for negative viewport height if the extensions were not enabled. Fixed existing test, added a new test, and updated the database, and removed special case from validation_stats script. Change-Id: Ia165e6245990a4fabb3745102b345a7b4f1b0202
2017-07-24build: Switch to generated object_tracker.cppMark Lobodzinski
- updated desktop/android build - removed layers/object_tracker.cpp - updated doc validator script for new location - updated error database for 124 new checks - added gen'd VU to GetSwapchainImages Change-Id: If1b218dfcf62b203a8df96a0f12cbeb8bdcaf826
2017-07-18layers: Reorganize ObjectTracker for future codegenMark Lobodzinski
Moved to-be-generated source to object_tracker.cpp, manually- written and helper functions to object_tracker_utils.cpp (new file), and reworked header. Updated doc validator to search new file. Change-Id: I0fd3bcc4f6d123db07c7f8e2633e6fe16833e231
2017-06-27scripts: Updated validation_stats error outputMark Lobodzinski
Change-Id: I41f592c8fa7a9180d5bd07446d965fa9eb287558
2017-06-27scripts: Add parameter_validation.h to doc validatorMark Lobodzinski
As the python script doesn't know where the generated source ends up, added a search of the build, dbuild, and release layers dirs. This generated file contains LOTS of VUIDs. Change-Id: I767ae2c3af11a0686ee629edb9964b294b5f7e08
2017-06-23scripts: Move layer scripts into scripts directoryMark Lobodzinski
Simplifies sharing code among python modules, keeps everything together. - Moved python scripts out of layers dir into scripts dir - Updated relative paths for input/output files in layers dir - Updated doc validation tests to use correct paths Change-Id: I57e6ad6f551d4fb652583315fe3dccb23b187db1