mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 15:45:58 +00:00
Vulkan: Implement Quad-Buffered stereoscopy support.
This commit is contained in:
parent
f3508742ac
commit
1f2d43c870
4 changed files with 21 additions and 3 deletions
|
@ -32,6 +32,7 @@ public:
|
|||
VkSurfaceKHR GetSurface() const { return m_surface; }
|
||||
VkSurfaceFormatKHR GetSurfaceFormat() const { return m_surface_format; }
|
||||
bool IsVSyncEnabled() const { return m_vsync_enabled; }
|
||||
bool IsStereoEnabled() const { return m_layers == 2; }
|
||||
VkSwapchainKHR GetSwapChain() const { return m_swap_chain; }
|
||||
VkRenderPass GetRenderPass() const { return m_render_pass; }
|
||||
u32 GetWidth() const { return m_width; }
|
||||
|
@ -94,6 +95,7 @@ private:
|
|||
|
||||
u32 m_width = 0;
|
||||
u32 m_height = 0;
|
||||
u32 m_layers = 0;
|
||||
};
|
||||
|
||||
} // namespace Vulkan
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue