gl: Do not modify bound depth/stencil buffers bound to zcull memory

- Fixes some rare cases where zcull always fails
This commit is contained in:
kd-11 2017-08-26 18:17:46 +03:00
parent e76b6e3f27
commit e56d8db6a3
1 changed files with 2 additions and 4 deletions

View File

@ -873,10 +873,8 @@ bool GLGSRender::do_method(u32 cmd, u32 arg)
}
case NV4097_CLEAR_ZCULL_SURFACE:
{
//TODO
init_buffers(true);
clear_surface(0x3);
// NOP
// Clearing zcull memory does not modify depth/stencil buffers 'bound' to the zcull region
return true;
}
case NV4097_TEXTURE_READ_SEMAPHORE_RELEASE: