Commit ea29e90
committed
Codegen of vkjson
The vkjson_generate.py script generates vkjson files from data in
vkjson_constants.py. While ideally vk.xml would serve as the source (a
future improvement), deriving vkjson_constants.py from vk.xml is a
separate task. To maintain concise CLs, this derivation will be
addressed in a separate CL. Adding symbols (features, properties,
extensions, limits) to vkjson is now straightforward. Simply define
their dependencies within vkjson_constants.py, and the script will
automatically update vkjson.h, vkjson.cc, and vkjson_instance.cc
accordingly.
Test: adb shell cmd gpu vkjson
Flag: NONE infeasible
Bug: b/401180969
Change-Id: I3652e80c465145e86cc4c25f79523a6dc2111d181 parent b0f3016 commit ea29e90
3 files changed
+2854
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
0 commit comments