summaryrefslogtreecommitdiff
path: root/vulkan/scripts/null_generator.py
AgeCommit message (Collapse)Author
2019-10-11Vulkan: add docs for the framework generation scriptsYiwei Zhang
Bug: 134185757 Test: ./scripts/code_generator.py && build Change-Id: I108412fdc672c5513f570ddac9221074a0027cd0
2019-10-11vulkan: clean up the framework generation scriptYiwei Zhang
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
2019-10-10Vulkan: remove redundant function definitions in null_driverYiwei Zhang
When deprecating the old gen scripts, there's some duplicate entries get added, which is fixed by this change. This change also reorders the extension constants in the gen scripts so that future modification is less likely to put duplicate entries. Bug: 134185757 Test: ./scripts/code_generator.py && build Change-Id: I6c8356b01e8a9c042293804eb628ed0a72da4a5c
2019-07-12Generate Vulkan framework from Vulkan registry (Part 4)Adithya Srinivasan
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: Ie38d93c51ff16d2108cbe9a9a717a0bea24947df
2019-07-11Generate Vulkan framework from Vulkan registry (Part 3)Adithya Srinivasan
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