summaryrefslogtreecommitdiff
path: root/vulkan/scripts/code_generator.py
Commit message (Collapse)AuthorAgeFilesLines
* Vulkan: add docs for the framework generation scriptsYiwei Zhang2019-10-111-3/+3
| | | | | | Bug: 134185757 Test: ./scripts/code_generator.py && build Change-Id: I108412fdc672c5513f570ddac9221074a0027cd0
* vulkan: clean up the framework generation scriptYiwei Zhang2019-10-111-11/+11
| | | | | | | | | | | | | | 1. Instead of mixing up all code formats, stick to pep8 and python style guide 2. Removed some redundant functions 3. Simplified seme code logic 4. Move constant codes back to main code gen blocks for readibility 5. Moved most of the hard-coded constants to the top 6. Removed a redundant clang format hint 7. Removed any mention of the legacy code gen stuff Bug: 134185757 Test: ./scripts/code_generator.py && build Change-Id: I1eca91fb0d181b7e8353c4c6a651d80ed1f2d1e0
* Merge "Generate Vulkan framework from Vulkan registry (Part 3)"TreeHugger Robot2019-07-111-0/+3
|\
| * Generate Vulkan framework from Vulkan registry (Part 3)Adithya Srinivasan2019-07-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | Instead of using the manually created vulkan.api file for generating the Vulkan driver framework, we generate it directly from the vulkan registry (vk.xml) Bug: 134711355 Test: Build and flash, dEQP tests Change-Id: I2fc3bc03489bd47c2239eb083c988157979fd674
* | Merge "Vulkan: make framework gen script executable"TreeHugger Robot2019-07-111-0/+0
|\ \ | |/ |/|
| * Vulkan: make framework gen script executableYiwei Zhang2019-07-101-0/+0
| | | | | | | | | | | | | | | | Also adds the .gitignore file to ignore the auto generated .pyc files. Bug: 134711355 Test: build, flash and boot. Change-Id: I68621c4af73c422c9f42c92822fc4a1daf89a451
* | Generate Vulkan framework from Vulkan registry (Part 2)Adithya Srinivasan2019-07-101-0/+3
|/ | | | | | | | | | | Instead of using the manually created vulkan.api file for generating the Vulkan driver framework, we generate it directly from the vulkan registry (vk.xml) Bug : 134711355 Test: Build and flash, dEQP tests Change-Id: I7a7c04a05d9eea5a03b4651fcff75948d3353933
* Generate Vulkan framework from Vulkan registryAdithya Srinivasan2019-07-021-0/+26
Instead of using the manually created vulkan.api file for generating the Vulkan framework, we generate it directly from the vulkan registry (vk.xml) Bug: 134711355 Test: Build and flash, dEQP tests Change-Id: I7e85cd4b64d13b8ed2c54678090f405171854a40