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
1 changed files with 1 additions and 1 deletions

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)