TextureCache: Add stereoscopy support for EFB to texture copies.

This commit is contained in:
Jules Blok
2014-11-29 21:31:30 +01:00
parent 3355d8086d
commit 4b3e784949
7 changed files with 67 additions and 12 deletions

View File

@ -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());