mirror of https://github.com/PCSX2/pcsx2.git
GSdx-d3d: Use a pretty enum for ate_second_pass.
This commit is contained in:
parent
0dcd60b524
commit
b1ca6ba528
|
@ -705,10 +705,10 @@ void GSRendererDX::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sourc
|
||||||
|
|
||||||
switch(m_context->TEST.AFAIL)
|
switch(m_context->TEST.AFAIL)
|
||||||
{
|
{
|
||||||
case 0: z = r = g = b = a = false; break; // none
|
case AFAIL_KEEP: z = r = g = b = a = false; break; // none
|
||||||
case 1: z = false; break; // rgba
|
case AFAIL_FB_ONLY: z = false; break; // rgba
|
||||||
case 2: r = g = b = a = false; break; // z
|
case AFAIL_ZB_ONLY: r = g = b = a = false; break; // z
|
||||||
case 3: z = a = false; break; // rgb
|
case AFAIL_RGB_ONLY: z = a = false; break; // rgb
|
||||||
default: __assume(0);
|
default: __assume(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue