aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2017-01-10scripts: Handle vk.xml latexmath in helper filesMark Lobodzinski
The vk.xml file contains latex-formatted metadata which must be parsed for codegen. Change-Id: Ie64c9974371d2bb66ba460165a0c23505991ebd7
2017-01-10scripts: Include chain_size helper in struct_sizeMark Lobodzinski
Change-Id: I1afcee1ab90ad18d758fdb476d2d0012a891bdfc
2017-01-10scripts: Complete struct_size_helper source genMark Lobodzinski
This file will now output a complete vk_struct_size_helper.c file. Change-Id: Ic87fd7d3c9a95daa666e8e4da63a21d31e8bfb86
2017-01-10scripts: Add gen for struct_size_helper source fileMark Lobodzinski
First level code-gen, move some code into functions. Change-Id: Idf8ee44a1f74c4117aed74b8df5b548df618e790
2017-01-10scripts: Add generation of struct_size_helper headerMark Lobodzinski
Added generator-side plumbing to create the vk_struct_size_helper.h file. Change-Id: I5ff226131b8db2d773e4422877bdb2993ed76cf4
2017-01-10scripts: Add struct_size options for source, headerMark Lobodzinski
Added struct processing guts for building the struct_size_helper header and source files. Change-Id: I8172b921b670b47b8fd66499de6d76ddb3ef934d
2017-01-10scripts: Mod helper generator for multiple filesMark Lobodzinski
Added parsing of option, conditional file generation to helper file generator. Change-Id: Ia7c51d50fb1785f3002dc2868f98d8e384d0e36e
2017-01-10scripts: Pass parameters to helper file generatorMark Lobodzinski
The helper file generator will be used to output multiple helper files. Added passing of parameter and test call for this feature to the generator options block. Change-Id: I1e417ff50628f395c589282ed6f96f0340758f23
2017-01-06scripts: Remove debugging code from PVMark Lobodzinski
Change-Id: Ia58e87a07e0e182b6dd447f4d6dc2c7fb2a9f346
2017-01-06scripts: Fix handle tracking in parameter validationMark Lobodzinski
Handle list was reset for each feature -- accumulate handles across all Vulkan features to allow exension handle validation to proceed. Change-Id: Id240404d9cc6757d741f575b9152b0aa82a0c1c2
2017-01-04scripts: Fix dynamic array calc in vk_helper.pyMark Lobodzinski
VkSubmitInfo->pWaitDstStageMask should be treated as a dynamic array with a count of VkSubmitInfo->waitSemaphoreCount. Change-Id: I42da296eeb849f5baabc12d011c938f0f322274a
2017-01-03scripts: Remove hack from safe-struct generationMark Lobodzinski
Some special-cases were added to safe_struct genration so that it'd spit out unneeded worker routines for normal functions. Removed the offending code and the workaround. Change-Id: I9394b06e3cdda011f417c725622eec3dd224a989
2016-12-28scripts: Correct author emails in helper scriptMark Lobodzinski
Change-Id: I53196ed512f5465e6ebfb88b93b727e29a7e9809
2016-12-28scripts: Remove enum_string_helper from vk_helper.pyMark Lobodzinski
This functionality is now in helper_file_generate.py. Change-Id: Iea20fe5a9882de7001154d2a809106c5fb63f3cb
2016-12-28scripts: Update lvl_genvk.py w/new helper generatorMark Lobodzinski
Change-Id: Ib3afef2e275d2f7b4906d0ca95022aeb4fd2e674
2016-12-28scripts: Update helper gen to ignore disabled extsMark Lobodzinski
Header file description contains unimplemented/undefined extensions. Filter these out when processing enumerated types. Change-Id: I1a83dc932a10fe9b3565a4b1462f4ab7e934168f
2016-12-28scripts: Add helper file generatorMark Lobodzinski
This vk.xml generator will create the enum_string_helper header file, as well as the other vk_helper.py-generated files in the future. Change-Id: Ia19a2c6fd23c1df2af3ded66e2e80b88159a7d85
2016-12-28scripts: PR1314, Remove trailing whitespace/newlinesMichael Jurka
Change-Id: I41f7703540af202b94ebd78ec03b282abb321e35
2016-12-27scripts: Remove unused code from vk_helper.pyMark Lobodzinski
Mostly the string_struct_helper related stuff, but also some additional orphaned remnants. Change-Id: Ibdd124d10351c694b02917c81e97c56dc9645e6b
2016-12-20scripts: Remove enum/struct_validate_helper funcsMark Lobodzinski
From vk_helper.py. These were not used in the codebase. Change-Id: I3cc80e34eb831122ce8c54dbc004a003e02a47fe
2016-12-19layers: Make generators Python 2.7-compatible.Jamie Madill
ANGLE and Chromium are fixed with Python 2.7, so we need to update the generator to something that is compatible with 2.7 and 3.2. The unicode handling is different between the two, so switch scripts to use unicode literals (u'txt' instead of 'txt'). Change-Id: I1570a45e302a09bb1f99eabc84f50b2ec599944d
2016-12-19header: Update to Vulkan version 1.0.38Mark Lobodzinski
- header: Updated vulkan.h - scripts: Updated generator.py - scripts: Updated vk.xml - scripts: Merged recent genvk.py changes into lvl_genvk.py - layers: Updated json files - loader: Updated SOVERSION to 38 - header: Updated vulkan.hpp Change-Id: Id0f83c248169bd8b1e03a14c90a5f9b1661cfcc7
2016-12-14scripts: Add quiet option option to vk_helper.py.Jamie Madill
Chromium typically does not allow build steps to output anything during a build. This option allows for ANGLE to suppress normal script output during execution. Change-Id: I72695a80a5f25e9a2cf3f01832f3de63ca95b091
2016-12-12header: Update to Vulkan version 1.0.37Mark Lobodzinski
- header: Updated vulkan.h - scripts: Updated generator.py - scripts: Updated vk.xml - scripts: Merged recent genvk.py changes into lvl_genvk.py - layers: Updated json files - loader: Updated SOVERSION to 37 - header: Rebuilt and updated vulkan.hpp - layers: Updated thread_checker for new functions - scripts: Fix up vk_helper.py overzealous count detection Change-Id: Ia10f5fc759166a09999f01e68bbcadb30ddf67f7
2016-12-12scripts: Prevent bad dynamic array in vk_helper.pyMark Lobodzinski
An extension added some variables which defeat the mechanisms used by the header-parsing scripts to identify dynamic arrays. Change-Id: Idcf84f882b13bf5cc3be8b6bb48751db6922e01e
2016-12-12layers: Fix param_val codegen for arrays of structsMark Lobodzinski
New extensions exposed a hole where arrays of structs were not getting deferenced correctly. Change-Id: Ia2474babee10f25c1446dfe58b5bd9778d3c9abc
2016-12-09scripts: Remove layer doc gen scriptMark Lobodzinski
Change-Id: I4529546fadee343271db9ac2fa899bc9ee09dbf2
2016-12-09scripts: Remove vk-generate.pyMark Lobodzinski
No longer used for def-file or dispatch-table-helper generation. Change-Id: I3864441e900ecb3ebc2e9fdf5cb4dfc785b2ad83
2016-12-08scripts: Add dispatch table generator to lvl_genvk.pyMark Lobodzinski
Change-Id: I539b8248ef8fb151de702c7d5e1773d149ce5313
2016-12-08scripts: Add generator for dispatch_table_helperMark Lobodzinski
vk-generate.py generated the vk_dispatch_table_helper.h file based on the vulkan.py file. Added dispatch_table_generator.py, which is an vk.xml-based generator to automatically pick up API changes. Change-Id: I93adae00566823ce8fc653a68f4b1b4079a998fc
2016-12-07scripts: Remove unused cmake option from vk_helper.pyMark Lobodzinski
Change-Id: Iafaf5c45a53ae702ecad8a387b11710ad60358f3
2016-12-07scripts: Remove unused vk_helper.py struct_wrappersMark Lobodzinski
Change-Id: I9dcc1df2d979f1c36a88bb2d6181636c543431a1
2016-12-07scripts: Remove graphviz options from vk_helper.pyMark Lobodzinski
Change-Id: I8b7ff75f334e8c2f2e07c04b6183abcd96e662df
2016-12-07scripts: Remove no_addr options from vk_helper.pyMark Lobodzinski
This option was not used in any repo. Change-Id: I133a1aaf34bd3e1a842150fc06f795eef8d1e606
2016-12-02scripts: Remove ICD reference from build scriptMark Lobodzinski
Change-Id: Iaa32b64423a7df3e8533d3fcd3a38f07e4a94051
2016-11-29layers: Complete support for VK_KHR_Display extNorbert Nopper
Fixed using display extension only crash. Added vkGetDisplayPlaneCapabilitiesKHR. Fixes, that unique objects works for display extension. Change-Id: I66727a430b9d55bfa40fdddc884f40c91aa29f11
2016-11-28layers: Tweak PV generator to track newly introduced enums separatelyChris Forbes
Within each feature block, we need to generate a helper value for 'all valid bits'. This worked fine; however, across features blocks an enum may be used -- for example, core eums used in extension functions. Previously, we'd clear out all the enums we know about at the feature boundary, which left various fields unvalidated. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-21build: Move vk.xml file into scripts dirMark Lobodzinski
- Update android-generate batch/script files - Update layers CMakeLists.txt file Change-Id: I6423f441d61daa20aef2cc5e8bc719113fd7978d
2016-11-21build: Move XML codegen scripts into scripts dirMark Lobodzinski
- Update android-generate.bat and android-generate.sh - Updated layer CMakeLists.txt files for new path Change-Id: I1b1c9dbc9e944c90e95542fcfdda1d2e804517f3
2016-11-21build: Move codegen scripts into scripts dirMark Lobodzinski
- Set SCRIPTS_DIR in root CMakeLists.txt - Update android-generate.bat and android-generate.sh - Updated layer/loader/tests CMakeLists.txt files for new path - Updated test layer doc scripts for new location Change-Id: I2d519ec40883ebeec4e9daab8641ad65515bb08c
2016-11-21scripts: Move determine_vs_version into scripts dirMark Lobodzinski
- Moved determine_vs_version.py into scripts dir - Updated build_windows_targets.bat - Updated update_external_sources.bat Change-Id: I951a05763a7004f2ba641dad72ae3c109ce0aa5c