mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
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
1 changed files with 2 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue