summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-01-21 16:30:04 -0300
committerGravatar ReinUsesLisp2020-01-29 17:53:11 -0300
commit9f0162e4b5b657f3eaa8e04e7ee587a90e6d8f56 (patch)
tree0ecce933d2f55a380058f29e7871f8a2d4f29bc1
parentshader/other: Stub S2R LaneId (diff)
downloadyuzu-9f0162e4b5b657f3eaa8e04e7ee587a90e6d8f56.tar.gz
yuzu-9f0162e4b5b657f3eaa8e04e7ee587a90e6d8f56.tar.xz
yuzu-9f0162e4b5b657f3eaa8e04e7ee587a90e6d8f56.zip
shader/other: Fix skips for SYNC and BRK
Diffstat (limited to '')
-rw-r--r--src/video_core/shader/decode/other.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/decode/other.cpp b/src/video_core/shader/decode/other.cpp
index bf8aac308..4944e9d69 100644
--- a/src/video_core/shader/decode/other.cpp
+++ b/src/video_core/shader/decode/other.cpp
@@ -191,7 +191,7 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) {
191 UNIMPLEMENTED_IF_MSG(cc != Tegra::Shader::ConditionCode::T, "SYNC condition code used: {}", 191 UNIMPLEMENTED_IF_MSG(cc != Tegra::Shader::ConditionCode::T, "SYNC condition code used: {}",
192 static_cast<u32>(cc)); 192 static_cast<u32>(cc));
193 193
194 if (disable_flow_stack) { 194 if (decompiled) {
195 break; 195 break;
196 } 196 }
197 197
@@ -203,7 +203,7 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) {
203 const Tegra::Shader::ConditionCode cc = instr.flow_condition_code; 203 const Tegra::Shader::ConditionCode cc = instr.flow_condition_code;
204 UNIMPLEMENTED_IF_MSG(cc != Tegra::Shader::ConditionCode::T, "BRK condition code used: {}", 204 UNIMPLEMENTED_IF_MSG(cc != Tegra::Shader::ConditionCode::T, "BRK condition code used: {}",
205 static_cast<u32>(cc)); 205 static_cast<u32>(cc));
206 if (disable_flow_stack) { 206 if (decompiled) {
207 break; 207 break;
208 } 208 }
209 209