aboutsummaryrefslogtreecommitdiff
path: root/cube/cube.c
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2019-10-14 12:18:06 -0600
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2019-10-14 17:20:07 -0600
commitcdb7624451f5f641c4b6f8045869802e2ab12dca (patch)
treecef1fd105b6da6d1584d4ee1ab170854740637f7 /cube/cube.c
parentfc7c0fd265347e3a195072efbe37ce1e88d2abe8 (diff)
downloadusermoji-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 'cube/cube.c')
0 files changed, 0 insertions, 0 deletions