mirror of https://github.com/PCSX2/pcsx2.git
gsdx: replace hardcoded constant with nice enum
This commit is contained in:
parent
fb2182dd9b
commit
332ef5892b
|
@ -348,7 +348,7 @@ void GSDevice::ExternalFX()
|
||||||
GSVector4 sRect(0, 0, 1, 1);
|
GSVector4 sRect(0, 0, 1, 1);
|
||||||
GSVector4 dRect(0, 0, s.x, s.y);
|
GSVector4 dRect(0, 0, s.x, s.y);
|
||||||
|
|
||||||
StretchRect(m_current, sRect, m_shaderfx, dRect, 7, false);
|
StretchRect(m_current, sRect, m_shaderfx, dRect, ShaderConvert_TRANSPARENCY_FILTER, false);
|
||||||
DoExternalFX(m_shaderfx, m_current);
|
DoExternalFX(m_shaderfx, m_current);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -368,7 +368,7 @@ void GSDevice::FXAA()
|
||||||
GSVector4 sRect(0, 0, 1, 1);
|
GSVector4 sRect(0, 0, 1, 1);
|
||||||
GSVector4 dRect(0, 0, s.x, s.y);
|
GSVector4 dRect(0, 0, s.x, s.y);
|
||||||
|
|
||||||
StretchRect(m_current, sRect, m_fxaa, dRect, 7, false);
|
StretchRect(m_current, sRect, m_fxaa, dRect, ShaderConvert_TRANSPARENCY_FILTER, false);
|
||||||
DoFXAA(m_fxaa, m_current);
|
DoFXAA(m_fxaa, m_current);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -388,7 +388,7 @@ void GSDevice::ShadeBoost()
|
||||||
GSVector4 sRect(0, 0, 1, 1);
|
GSVector4 sRect(0, 0, 1, 1);
|
||||||
GSVector4 dRect(0, 0, s.x, s.y);
|
GSVector4 dRect(0, 0, s.x, s.y);
|
||||||
|
|
||||||
StretchRect(m_current, sRect, m_shadeboost, dRect, 0, false);
|
StretchRect(m_current, sRect, m_shadeboost, dRect, ShaderConvert_COPY, false);
|
||||||
DoShadeBoost(m_shadeboost, m_current);
|
DoShadeBoost(m_shadeboost, m_current);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue