1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00
shader's location is decremented by one to match cellGcm's constants.
This commit is contained in:
elad 2018-09-13 08:45:57 +03:00 committed by kd-11
parent b9ad578b00
commit d24f9194f7

View File

@ -389,7 +389,7 @@ namespace rsx
on_init_thread();
// Special value in initialization, this is not set by a context reset
method_registers.registers[NV4097_SET_SHADER_PROGRAM] = (0 << 2) | CELL_GCM_LOCATION_LOCAL;
method_registers.registers[NV4097_SET_SHADER_PROGRAM] = (0 << 2) | CELL_GCM_LOCATION_LOCAL + 1;
reset();
if (!zcull_ctrl)