mirror of https://github.com/RPCS3/rpcs3.git
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:
parent
e76b6e3f27
commit
e56d8db6a3
|
@ -873,10 +873,8 @@ bool GLGSRender::do_method(u32 cmd, u32 arg)
|
||||||
}
|
}
|
||||||
case NV4097_CLEAR_ZCULL_SURFACE:
|
case NV4097_CLEAR_ZCULL_SURFACE:
|
||||||
{
|
{
|
||||||
//TODO
|
// NOP
|
||||||
init_buffers(true);
|
// Clearing zcull memory does not modify depth/stencil buffers 'bound' to the zcull region
|
||||||
clear_surface(0x3);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
case NV4097_TEXTURE_READ_SEMAPHORE_RELEASE:
|
case NV4097_TEXTURE_READ_SEMAPHORE_RELEASE:
|
||||||
|
|
Loading…
Reference in New Issue