mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
TextureCache: Add stereoscopy support for EFB to texture copies.
This commit is contained in:
parent
3355d8086d
commit
4b3e784949
7 changed files with 67 additions and 12 deletions
|
@ -208,7 +208,7 @@ void XFBSource::CopyEFB(float Gamma)
|
|||
D3D::drawShadedTexQuad(FramebufferManager::GetEFBColorTexture()->GetSRV(), sourceRc.AsRECT(),
|
||||
Renderer::GetTargetWidth(), Renderer::GetTargetHeight(),
|
||||
PixelShaderCache::GetColorCopyProgram(true), VertexShaderCache::GetSimpleVertexShader(),
|
||||
VertexShaderCache::GetSimpleInputLayout(),Gamma);
|
||||
VertexShaderCache::GetSimpleInputLayout(), nullptr, Gamma);
|
||||
|
||||
D3D::context->OMSetRenderTargets(1, &FramebufferManager::GetEFBColorTexture()->GetRTV(),
|
||||
FramebufferManager::GetEFBDepthTexture()->GetDSV());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue