aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_source.py
AgeCommit message (Collapse)Author
2023-10-06mock: Ensure VkICD_mock_icd.json uses up to date API versionJuan Ramos
closes #617
2023-06-16icd: Move handwritten code into .cpp fileCharles Giessen
Takes the hand written portions of the mock_icd_generator.py and puts them in a .cpp file, then moves the code gen into function_declarations.h and function_definitions.h. This move makes it easier to maintain the C++ code that exists because it no longer lives in a python file. This commit does not make adding custom code easier, as it still is in the python file. The intent of this commit is to create a baseline that would allow such code to be put inside of C++ instead of python. Additionally, this commit removes egregious over engineering in the mock icd CMakeLists.txt. Things removed are macros that are only called once, foreach loops over single items, and replacing variables that had no solid reason to be a variable.
2023-05-24mock: Parameterization changes for Vulkan SCDaniel Rakos
2021-07-21build: Update to header 1.2.185Mike Schuchardt
- Update known-good - Re-enable code generation for VK_HUAWEI_subpass_shading - Generate source Change-Id: Ibb8d8898c9cdbb655c8162e76b68fa465fe8f912
2021-06-21build: Update to header 1.2.182Mike Schuchardt
- Update known-good - Add support for printing `int64_t` in `scripts/vulkaninfo_generator.py` - Disable codegen for VK_HUAWEI_subpass_shading KhronosGroup/Vulkan-Docs#1564 - Generate source Change-Id: I4417e99ed37da510bfaf94d676e22ac3fb088d5d
2020-05-26vulkaninfo: use generate_source.py for autogenCharles Giessen
Previously, to update the autogen for vulkaninfo required running a separate cmake target. This commit puts it all into the same target for ease of maintenance. Change-Id: I98e35b01ee164e9917564f6b603e4a78c6138041
2019-07-24scripts: Port codegen script from VVLMike Schuchardt