summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-05-15 07:24:42 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-05-22 04:20:43 +0200
commit5d0986a53be495f2a2158968db1bc0974f0dd0d3 (patch)
tree76b89957701a3e8cec21211b0090f8517b9338af /src/video_core/shader/decode
parentMerge pull request #3926 from ogniK5377/keyboard-states (diff)
downloadyuzu-5d0986a53be495f2a2158968db1bc0974f0dd0d3.tar
yuzu-5d0986a53be495f2a2158968db1bc0974f0dd0d3.tar.gz
yuzu-5d0986a53be495f2a2158968db1bc0974f0dd0d3.tar.bz2
yuzu-5d0986a53be495f2a2158968db1bc0974f0dd0d3.tar.lz
yuzu-5d0986a53be495f2a2158968db1bc0974f0dd0d3.tar.xz
yuzu-5d0986a53be495f2a2158968db1bc0974f0dd0d3.tar.zst
yuzu-5d0986a53be495f2a2158968db1bc0974f0dd0d3.zip
Diffstat (limited to 'src/video_core/shader/decode')
-rw-r--r--src/video_core/shader/decode/other.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/shader/decode/other.cpp b/src/video_core/shader/decode/other.cpp
index d4f95b18c..82ec7bb6f 100644
--- a/src/video_core/shader/decode/other.cpp
+++ b/src/video_core/shader/decode/other.cpp
@@ -272,6 +272,11 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) {
SetRegister(bb, instr.gpr0, GetRegister(instr.gpr8));
break;
}
+ case OpCode::Id::BAR: {
+ UNIMPLEMENTED_IF_MSG(instr.value != 0xF0A81B8000070000ULL, "BAR is not BAR.SYNC 0x0");
+ bb.push_back(Operation(OperationCode::Barrier));
+ break;
+ }
case OpCode::Id::MEMBAR: {
UNIMPLEMENTED_IF(instr.membar.type != Tegra::Shader::MembarType::GL);
UNIMPLEMENTED_IF(instr.membar.unknown != Tegra::Shader::MembarUnknown::Default);