diff options
| author | Charles Giessen <charles@lunarg.com> | 2019-10-14 12:18:06 -0600 |
|---|---|---|
| committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2019-10-14 17:20:07 -0600 |
| commit | cdb7624451f5f641c4b6f8045869802e2ab12dca (patch) | |
| tree | cef1fd105b6da6d1584d4ee1ab170854740637f7 /scripts | |
| parent | fc7c0fd265347e3a195072efbe37ce1e88d2abe8 (diff) | |
| download | usermoji-cdb7624451f5f641c4b6f8045869802e2ab12dca.tar.xz | |
vulkaninfo: Added asserts to check output
Several places in the output code of vulkaninfo had preconditions,
like the indent level being zero or positive, but had no asserts
checking the value. This commit adds such defensive measures, as well
as a reordering IndentIncrease to be correct in regards to keeping
indents zero or above.
files modified
- vulkaninfo/outputprinter.h
- vulkaninfo/vulkaninfo.cpp
Change-Id: Iafa03193407229d345f550c4c4c3a9dd1e235919
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
