commit | 6d37efe4d0cbd7e5622e1ef4ee038191b26dc9fd | [log] [tgz] |
---|---|---|
author | Yilong Li <liyl@google.com> | Sun Feb 07 02:11:20 2021 -0800 |
committer | Yilong Li <liyl@google.com> | Sun Feb 07 15:11:01 2021 -0800 |
tree | d7b613fc674cee65cd3e048127ead1a340be51c5 | |
parent | 0d0654329d66b7880e4e8fb42ab72755895d7ad7 [diff] |
codegen: Using local numbering for variables. Instead of keeping a global numbering of all cgen_var_* variables, we can restart the number from 0 for each code block. This will reduce changed lines of generated code when there is major change to vk.xml. Change-Id: Iaa9fb44066836f1c4843ac1321809c04d51a7f31