mirror of https://github.com/PCSX2/pcsx2.git
gsdx-d3d11: Fix CopyOffscreen bug
Update CopyOffscreen to accept the ps_shader value when doing StretchRect. This fixes an issue where it was selecting the wrong PS for depth cache read. Should (hopefully) fix SMT.
This commit is contained in:
parent
f6df6b350b
commit
dc2eed6ca1
|
@ -671,7 +671,7 @@ GSTexture* GSDevice11::CopyOffscreen(GSTexture* src, const GSVector4& sRect, int
|
|||
|
||||
if(GSTexture* src2 = src->IsMSAA() ? Resolve(src) : src)
|
||||
{
|
||||
StretchRect(src2, sRect, rt, dRect, m_convert.ps[format == DXGI_FORMAT_R16_UINT ? 1 : 0], NULL);
|
||||
StretchRect(src2, sRect, rt, dRect, m_convert.ps[ps_shader], NULL);
|
||||
|
||||
if(src2 != src) Recycle(src2);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue