vulkaninfo: Use a helper for the two-call idiom
authorBenjamin Saunders <ben.e.saunders@gmail.com>
Wed, 22 Jan 2020 04:43:03 +0000 (20:43 -0800)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Thu, 23 Jan 2020 20:57:05 +0000 (13:57 -0700)
commit93ab50fc27de5a2075535be35dd76b14138d46f2
treebe477c6bad0a74ccc7442676123cc5a150d1c9e6
parentd9854c32eee5d43d66f0c0273f9f5521e43f302e
vulkaninfo: Use a helper for the two-call idiom

Drastically reduces repetition and ensures consistent error handling.
vulkaninfo/vulkaninfo.h