1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

Rsx: add missing default vertex shader attributes registers states

This commit is contained in:
eladash 2018-08-23 10:16:46 +03:00 committed by kd-11
parent 23f5cee653
commit e279bdb304

View File

@ -1314,6 +1314,10 @@ namespace rsx
registers[NV4097_SET_CONTEXT_DMA_COLOR_D] = CELL_GCM_CONTEXT_DMA_MEMORY_FRAME_BUFFER;
registers[NV4097_SET_CONTEXT_DMA_ZETA] = CELL_GCM_CONTEXT_DMA_MEMORY_FRAME_BUFFER;
// Vertex shader attributes masks
registers[NV4097_SET_VERTEX_ATTRIB_INPUT_MASK] = 0xFFFF;
registers[NV4097_SET_VERTEX_ATTRIB_OUTPUT_MASK] = 0x3FFFFF;
registers[NV3089_SET_CONTEXT_SURFACE] = 0x313371C3; // CELL_GCM_CONTEXT_SURFACE2D
for (auto& tex : fragment_textures) tex.init();