mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 22:38:34 +00:00
D3D: Add geometry shader stereoscopy support.
This commit is contained in:
parent
d5ebdf7a97
commit
9253bb7d96
10 changed files with 112 additions and 73 deletions
|
@ -57,7 +57,7 @@ FramebufferManager::FramebufferManager()
|
|||
D3D11_TEXTURE2D_DESC texdesc;
|
||||
HRESULT hr;
|
||||
|
||||
m_efb.slices = 1;
|
||||
m_efb.slices = (g_ActiveConfig.iStereoMode > 0) ? 2 : 1;
|
||||
|
||||
// EFB color texture - primary render target
|
||||
texdesc = CD3D11_TEXTURE2D_DESC(DXGI_FORMAT_R8G8B8A8_UNORM, target_width, target_height, m_efb.slices, 1, D3D11_BIND_SHADER_RESOURCE | D3D11_BIND_RENDER_TARGET, D3D11_USAGE_DEFAULT, 0, sample_desc.Count, sample_desc.Quality);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue