summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-07-30 02:18:30 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-08-04 08:02:55 +0200
commit2ff80448068382005016b4aa5299beeda986668d (patch)
tree895985306447e214809e401d37055394b98ba471 /src/video_core/shader
parentMerge pull request #2770 from DarkLordZach/azure-pr-fix (diff)
downloadyuzu-2ff80448068382005016b4aa5299beeda986668d.tar
yuzu-2ff80448068382005016b4aa5299beeda986668d.tar.gz
yuzu-2ff80448068382005016b4aa5299beeda986668d.tar.bz2
yuzu-2ff80448068382005016b4aa5299beeda986668d.tar.lz
yuzu-2ff80448068382005016b4aa5299beeda986668d.tar.xz
yuzu-2ff80448068382005016b4aa5299beeda986668d.tar.zst
yuzu-2ff80448068382005016b4aa5299beeda986668d.zip
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/decode/other.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/shader/decode/other.cpp b/src/video_core/shader/decode/other.cpp
index c0f64d7a0..ac0e764d6 100644
--- a/src/video_core/shader/decode/other.cpp
+++ b/src/video_core/shader/decode/other.cpp
@@ -22,6 +22,12 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) {
const auto opcode = OpCode::Decode(instr);
switch (opcode->get().GetId()) {
+ case OpCode::Id::NOP: {
+ UNIMPLEMENTED_IF(instr.nop.cc != Tegra::Shader::ConditionCode::T);
+ UNIMPLEMENTED_IF(instr.nop.trigger != 0);
+ // With the previous preconditions, this instruction is a no-operation.
+ break;
+ }
case OpCode::Id::EXIT: {
const Tegra::Shader::ConditionCode cc = instr.flow_condition_code;
UNIMPLEMENTED_IF_MSG(cc != Tegra::Shader::ConditionCode::T, "EXIT condition code used: {}",