diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-05-18 05:09:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-18 05:09:46 +0200 |
commit | 55b7f1a7b3750de7549327d48ddc72f0da4287c1 (patch) | |
tree | f2398029c3833b8f885a454602fb92cde5c7146e | |
parent | Merge pull request #2703 from wwylele/pica-reg-revise (diff) | |
parent | pica: use correct register value for shader bool_uniforms (diff) | |
download | yuzu-55b7f1a7b3750de7549327d48ddc72f0da4287c1.tar yuzu-55b7f1a7b3750de7549327d48ddc72f0da4287c1.tar.gz yuzu-55b7f1a7b3750de7549327d48ddc72f0da4287c1.tar.bz2 yuzu-55b7f1a7b3750de7549327d48ddc72f0da4287c1.tar.lz yuzu-55b7f1a7b3750de7549327d48ddc72f0da4287c1.tar.xz yuzu-55b7f1a7b3750de7549327d48ddc72f0da4287c1.tar.zst yuzu-55b7f1a7b3750de7549327d48ddc72f0da4287c1.zip |
-rw-r--r-- | src/video_core/command_processor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp index 9a09f81dc..8d3f76bde 100644 --- a/src/video_core/command_processor.cpp +++ b/src/video_core/command_processor.cpp @@ -423,7 +423,7 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) { } case PICA_REG_INDEX(gs.bool_uniforms): - WriteUniformBoolReg(g_state.gs, value); + WriteUniformBoolReg(g_state.gs, g_state.regs.gs.bool_uniforms.Value()); break; 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): - WriteUniformBoolReg(g_state.vs, value); + WriteUniformBoolReg(g_state.vs, g_state.regs.vs.bool_uniforms.Value()); break; case PICA_REG_INDEX_WORKAROUND(vs.int_uniforms[0], 0x2b1): |