mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
Set default values for NV4097_SET_SURFACE_FORMAT register
This commit is contained in:
parent
57ef6dae91
commit
bf33a1827c
1 changed files with 3 additions and 0 deletions
|
@ -867,6 +867,9 @@ namespace rsx
|
|||
|
||||
registers[NV4097_SET_ZSTENCIL_CLEAR_VALUE] = 0xffffffff;
|
||||
|
||||
// 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);
|
||||
|
||||
for (auto& tex : fragment_textures) tex.init();
|
||||
for (auto& tex : vertex_textures) tex.init();
|
||||
for (auto& vtx : vertex_arrays_info) vtx.reset();
|
||||
|
|
Loading…
Add table
Reference in a new issue