aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_vulkan_wrapper.py
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2020-02-27 15:02:29 -0700
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2020-03-03 15:38:38 -0700
commit1af57a3ec4143286f12d32565dcd7ed44f01754c (patch)
treeb0a7d2ec6f9194b053356b39270876728e34f1e3 /scripts/generate_vulkan_wrapper.py
parenta553ed74b7fe3d5d14da312d47144ccfc4514a4b (diff)
downloadusermoji-1af57a3ec4143286f12d32565dcd7ed44f01754c.tar.xz
vulkaninfo: Refactor error handling
Previously, if vulkaninfo encountered any errors, it shut down then and there. This is bad for json output where you are left with an invalid file. By using exceptions, vulkaninfo will catch errors, print it to cerr, then finish off the file so its left in a valid state. Change-Id: I2c0116b435713df6135b9c606fa95cfadbfdf8d8
Diffstat (limited to 'scripts/generate_vulkan_wrapper.py')
0 files changed, 0 insertions, 0 deletions