Lines Matching refs:vkinstance
366 VkInstance vkinstance; in VkJsonGetInstance() local
367 result = vkCreateInstance(&instance_info, nullptr, &vkinstance); in VkJsonGetInstance()
372 result = vkEnumeratePhysicalDevices(vkinstance, &count, nullptr); in VkJsonGetInstance()
374 vkDestroyInstance(vkinstance, nullptr); in VkJsonGetInstance()
379 result = vkEnumeratePhysicalDevices(vkinstance, &count, devices.data()); in VkJsonGetInstance()
381 vkDestroyInstance(vkinstance, nullptr); in VkJsonGetInstance()
390 instance.devices.emplace_back(VkJsonGetDevice(vkinstance, devices[i], in VkJsonGetInstance()
403 vkDestroyInstance(vkinstance, nullptr); in VkJsonGetInstance()
410 vkGetInstanceProcAddr(vkinstance, "vkEnumeratePhysicalDeviceGroups")); in VkJsonGetInstance()
413 result = (*vkpEnumeratePhysicalDeviceGroups)(vkinstance, &count, nullptr); in VkJsonGetInstance()
415 vkDestroyInstance(vkinstance, nullptr); in VkJsonGetInstance()
422 result = (*vkpEnumeratePhysicalDeviceGroups)(vkinstance, &count, in VkJsonGetInstance()
425 vkDestroyInstance(vkinstance, nullptr); in VkJsonGetInstance()
438 vkDestroyInstance(vkinstance, nullptr); in VkJsonGetInstance()