mirror of https://github.com/PCSX2/pcsx2.git
GSdx-d3d: SetupDATE - > use pretty enum names.
This commit is contained in:
parent
6dca3656ed
commit
bb5d120a3b
|
@ -956,7 +956,7 @@ void GSDevice11::SetupDATE(GSTexture* rt, GSTexture* ds, const GSVertexPT1* vert
|
|||
|
||||
PSSetShaderResources(rt2, NULL);
|
||||
PSSetSamplerState(m_convert.pt, NULL);
|
||||
PSSetShader(m_convert.ps[datm ? 2 : 3], NULL);
|
||||
PSSetShader(m_convert.ps[datm ? ShaderConvert_DATM_1 : ShaderConvert_DATM_0], NULL);
|
||||
|
||||
//
|
||||
|
||||
|
|
|
@ -1077,7 +1077,7 @@ void GSDevice9::SetupDATE(GSTexture* rt, GSTexture* ds, const GSVertexPT1* verti
|
|||
GSTexture* rt2 = rt->IsMSAA() ? Resolve(rt) : rt;
|
||||
|
||||
PSSetShaderResources(rt2, NULL);
|
||||
PSSetShader(m_convert.ps[datm ? 2 : 3], NULL, 0);
|
||||
PSSetShader(m_convert.ps[datm ? ShaderConvert_DATM_1 : ShaderConvert_DATM_0], NULL, 0);
|
||||
PSSetSamplerState(&m_convert.pt);
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue