vulkaninfo: Prevent infinite loops
authorCharles Giessen <charles@lunarg.com>
Fri, 29 Jul 2022 22:23:12 +0000 (16:23 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Fri, 29 Jul 2022 23:35:30 +0000 (17:35 -0600)
commit8ac3b50e9d2f4aa11339c4b6f68038862b282971
tree80f528b907c9698d93cc1539efef23df5f990b73
parente734be0bb5aed1e542fad19ba91e93e1812de0ee
vulkaninfo: Prevent infinite loops

GetVectorInit could get stuck in an infinite loop if the underlying API call eternally returned
VK_INCOMPLETE. This commit makes GetVectorInit stop after 3 tries.
vulkaninfo/vulkaninfo.h