Searched refs:g_instances (Results 1 – 1 of 1) sorted by relevance
46 static std::array<hwvulkan_dispatch_t, kMaxInstances> g_instances; variable74 g_instances[i].magic = HWVULKAN_DISPATCH_MAGIC; in CreateInstance()75 *instance = reinterpret_cast<VkInstance>(&g_instances[i]); in CreateInstance()87 reinterpret_cast<hwvulkan_dispatch_t*>(instance) - &g_instances[0]; in DestroyInstance()