yuzu-emu
/
yuzu
Archived
1
0
Fork 0

Merge pull request #2709 from wwylele/pica-masked-value

pica: use correct register value for shader bool_uniforms
This commit is contained in:
Yuri Kunde Schlesner 2017-05-17 20:09:46 -07:00 committed by GitHub
commit 55b7f1a7b3
1 changed files with 2 additions and 2 deletions

View File

@ -423,7 +423,7 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) {
} }
case PICA_REG_INDEX(gs.bool_uniforms): case PICA_REG_INDEX(gs.bool_uniforms):
WriteUniformBoolReg(g_state.gs, value); WriteUniformBoolReg(g_state.gs, g_state.regs.gs.bool_uniforms.Value());
break; break;
case PICA_REG_INDEX_WORKAROUND(gs.int_uniforms[0], 0x281): case PICA_REG_INDEX_WORKAROUND(gs.int_uniforms[0], 0x281):
@ -475,7 +475,7 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) {
} }
case PICA_REG_INDEX(vs.bool_uniforms): case PICA_REG_INDEX(vs.bool_uniforms):
WriteUniformBoolReg(g_state.vs, value); WriteUniformBoolReg(g_state.vs, g_state.regs.vs.bool_uniforms.Value());
break; break;
case PICA_REG_INDEX_WORKAROUND(vs.int_uniforms[0], 0x2b1): case PICA_REG_INDEX_WORKAROUND(vs.int_uniforms[0], 0x2b1):