summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-01-21 20:30:04 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-01-29 21:53:11 +0100
commit9f0162e4b5b657f3eaa8e04e7ee587a90e6d8f56 (patch)
tree0ecce933d2f55a380058f29e7871f8a2d4f29bc1 /src/video_core
parentshader/other: Stub S2R LaneId (diff)
downloadyuzu-9f0162e4b5b657f3eaa8e04e7ee587a90e6d8f56.tar
yuzu-9f0162e4b5b657f3eaa8e04e7ee587a90e6d8f56.tar.gz
yuzu-9f0162e4b5b657f3eaa8e04e7ee587a90e6d8f56.tar.bz2
yuzu-9f0162e4b5b657f3eaa8e04e7ee587a90e6d8f56.tar.lz
yuzu-9f0162e4b5b657f3eaa8e04e7ee587a90e6d8f56.tar.xz
yuzu-9f0162e4b5b657f3eaa8e04e7ee587a90e6d8f56.tar.zst
yuzu-9f0162e4b5b657f3eaa8e04e7ee587a90e6d8f56.zip
Diffstat (limited to 'src/video_core')
-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) {
UNIMPLEMENTED_IF_MSG(cc != Tegra::Shader::ConditionCode::T, "SYNC condition code used: {}",
static_cast<u32>(cc));
- if (disable_flow_stack) {
+ if (decompiled) {
break;
}
@@ -203,7 +203,7 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) {
const Tegra::Shader::ConditionCode cc = instr.flow_condition_code;
UNIMPLEMENTED_IF_MSG(cc != Tegra::Shader::ConditionCode::T, "BRK condition code used: {}",
static_cast<u32>(cc));
- if (disable_flow_stack) {
+ if (decompiled) {
break;
}