mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
rsx: Fix depth clipping
This commit is contained in:
parent
c5074ba81f
commit
7ca2c444cc
7 changed files with 39 additions and 29 deletions
|
@ -1159,6 +1159,7 @@ namespace rsx
|
|||
|
||||
// Stencil bits init to 00 - Tested with NPEB90184 (never sets the depth_stencil clear values but uses stencil test)
|
||||
registers[NV4097_SET_ZSTENCIL_CLEAR_VALUE] = 0xffffff00;
|
||||
registers[NV4097_SET_ZMIN_MAX_CONTROL] = 1;
|
||||
|
||||
// CELL_GCM_SURFACE_A8R8G8B8, CELL_GCM_SURFACE_Z24S8 and CELL_GCM_SURFACE_CENTER_1
|
||||
registers[NV4097_SET_SURFACE_FORMAT] = (8 << 0) | (2 << 5) | (0 << 12) | (1 << 16) | (1 << 24);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue