Vulkan: Refactor initialization to only use a single instance

Hopefully will fix the crash in vkDestroyInstance on the NV Shield TV,
and likely reduce boot times slightly for drivers that take a while
to create instances.
This commit is contained in:
Stenzek
2017-01-29 22:14:09 +10:00
parent e823a9d80c
commit 3b218c64b1
4 changed files with 44 additions and 43 deletions

View File

@ -10,6 +10,7 @@ namespace Vulkan
{
class VideoBackend : public VideoBackendBase
{
public:
bool Initialize(void* window_handle) override;
void Shutdown() override;