diff options
| author | Charles Giessen <charles@lunarg.com> | 2021-11-29 15:33:23 -0700 |
|---|---|---|
| committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2022-02-02 16:22:12 -0700 |
| commit | 25802a2fa838932038ee8bdf76800b7c9c5fd517 (patch) | |
| tree | 594b83fb8ba20fc4f172ae3f95facb0552bf8214 /scripts/common_codegen.py | |
| parent | ce6a1491d6317d5311a939be50d854865018eee7 (diff) | |
| download | usermoji-25802a2fa838932038ee8bdf76800b7c9c5fd517.tar.xz | |
vulkaninfo: min_key_width now set in the object stack
Previously if a key-value pair wanted to be printed with padding, so the
output would be aligned, it would have to pass in the width into each and
every printer statement. This commit makes the min_key_width value set
per object (in the object_stack) so it can be set after the object is started
and re-used over and over. This simplifies the code gen and useability of
the Printer class.
Diffstat (limited to 'scripts/common_codegen.py')
0 files changed, 0 insertions, 0 deletions
