mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: improve alpha test for GTA vice city (letters)
I don't understand why but it seems depth is rounded down even in 16 bits. So uses 0xFFFE to enable ate_all_color_then_depth in 16 bits format too :)
This commit is contained in:
parent
5fbf702500
commit
5c7e2432bd
|
@ -234,8 +234,9 @@ void GSRendererOGL::EmulateZbuffer()
|
||||||
max_z = 0xFFFFFF;
|
max_z = 0xFFFFFF;
|
||||||
max_z_flt = 0xFFFFFE;
|
max_z_flt = 0xFFFFFE;
|
||||||
} else {
|
} else {
|
||||||
|
// I don't understand why but it seems 0xFFFF becomes 65534.0 in m_vt.m_min.p.z
|
||||||
max_z = 0xFFFF;
|
max_z = 0xFFFF;
|
||||||
max_z_flt = 0xFFFF;
|
max_z_flt = 0xFFFE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The real GS appears to do no masking based on the Z buffer format and writing larger Z values
|
// The real GS appears to do no masking based on the Z buffer format and writing larger Z values
|
||||||
|
|
Loading…
Reference in New Issue