mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Disabled zcomploc while update_enable has been set in zmode. Fixes zcomploc in F-Zero GX.
This commit is contained in:
parent
d3ecf98213
commit
006923e871
1 changed files with 1 additions and 1 deletions
|
@ -1147,7 +1147,7 @@ static bool WriteAlphaTest(char *&p, API_TYPE ApiType,DSTALPHA_MODE dstAlphaMode
|
||||||
WRITE(p, "ocol1 = 0;\n");
|
WRITE(p, "ocol1 = 0;\n");
|
||||||
if (DepthTextureEnable)
|
if (DepthTextureEnable)
|
||||||
WRITE(p, "depth = 1.f;\n");
|
WRITE(p, "depth = 1.f;\n");
|
||||||
if (!bpmem.zcontrol.zcomploc)
|
if (!(bpmem.zcontrol.zcomploc && bpmem.zmode.updateenable))
|
||||||
{
|
{
|
||||||
WRITE(p, "discard;\n");
|
WRITE(p, "discard;\n");
|
||||||
if (ApiType != API_D3D11)
|
if (ApiType != API_D3D11)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue