1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

rsx: Clear some leaking register state between runs

This commit is contained in:
kd-11 2021-11-13 19:35:22 +03:00 committed by kd-11
parent 7dc3a50ddf
commit 1f627caa81

View File

@ -1736,6 +1736,8 @@ namespace rsx
registers.fill(0);
transform_program.fill(0);
transform_constants = {};
current_draw_clause = {};
register_vertex_info = {};
// Special values set at initialization, these are not set by a context reset
registers[NV4097_SET_SHADER_PROGRAM] = (0 << 2) | (CELL_GCM_LOCATION_LOCAL + 1);