mirror of https://github.com/PCSX2/pcsx2.git
GS:MTL: Fix mad shader on M1
This commit is contained in:
parent
e8ce1e3445
commit
bae4a2df7e
|
@ -596,7 +596,8 @@ void GSDeviceMTL::DoInterlace(GSTexture* sTex, GSTexture* dTex, int shader, bool
|
|||
GSMTLInterlacePSUniform cb = {};
|
||||
cb.ZrH = {static_cast<float>(bufIdx), 1.0f / ds.y, ds.y, MAD_SENSITIVITY};
|
||||
|
||||
DoStretchRect(sTex, sRect, dTex, dRect, m_interlace_pipeline[shader], linear, shader > 1 ? LoadAction::DontCareIfFull : LoadAction::Load, &cb, sizeof(cb));
|
||||
const bool can_discard = shader == 0 || shader == 3;
|
||||
DoStretchRect(sTex, sRect, dTex, dRect, m_interlace_pipeline[shader], linear, !can_discard ? LoadAction::DontCareIfFull : LoadAction::Load, &cb, sizeof(cb));
|
||||
}}
|
||||
|
||||
void GSDeviceMTL::DoFXAA(GSTexture* sTex, GSTexture* dTex)
|
||||
|
|
Loading…
Reference in New Issue