2020-12-25 02:05:48 +01:00
|
|
|
// Copyright 2020 yuzu Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <utility>
|
|
|
|
|
|
|
|
#include "common/common_types.h"
|
|
|
|
#include "common/dynamic_library.h"
|
|
|
|
#include "core/frontend/emu_window.h"
|
|
|
|
#include "video_core/vulkan_common/vulkan_wrapper.h"
|
|
|
|
|
|
|
|
namespace Vulkan {
|
|
|
|
|
|
|
|
[[nodiscard]] std::pair<vk::Instance, u32> CreateInstance(
|
2020-12-25 06:27:57 +01:00
|
|
|
const Common::DynamicLibrary& library, vk::InstanceDispatch& dld,
|
2020-12-25 02:05:48 +01:00
|
|
|
Core::Frontend::WindowSystemType window_type = Core::Frontend::WindowSystemType::Headless,
|
|
|
|
bool enable_debug_utils = false, bool enable_layers = false);
|
|
|
|
|
|
|
|
} // namespace Vulkan
|