diff options
author | bunnei <bunneidev@gmail.com> | 2019-12-11 20:24:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-11 20:24:39 +0100 |
commit | 1a66cde1753f4f0349989f3b9093b359e3e07136 (patch) | |
tree | 47aa17b54178b1aa150962401903d5a7dd659f83 /src/video_core/shader/decode/other.cpp | |
parent | Kernel: Correct behavior of Address Arbiter threads. (#3165) (diff) | |
parent | shader: Implement MEMBAR.GL (diff) | |
download | yuzu-1a66cde1753f4f0349989f3b9093b359e3e07136.tar yuzu-1a66cde1753f4f0349989f3b9093b359e3e07136.tar.gz yuzu-1a66cde1753f4f0349989f3b9093b359e3e07136.tar.bz2 yuzu-1a66cde1753f4f0349989f3b9093b359e3e07136.tar.lz yuzu-1a66cde1753f4f0349989f3b9093b359e3e07136.tar.xz yuzu-1a66cde1753f4f0349989f3b9093b359e3e07136.tar.zst yuzu-1a66cde1753f4f0349989f3b9093b359e3e07136.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/decode/other.cpp | 6 |
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 5c802886b..7321698b2 100644 --- a/src/video_core/shader/decode/other.cpp +++ b/src/video_core/shader/decode/other.cpp @@ -257,6 +257,12 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) { SetRegister(bb, instr.gpr0, GetRegister(instr.gpr8)); break; } + case OpCode::Id::MEMBAR: { + UNIMPLEMENTED_IF(instr.membar.type != Tegra::Shader::MembarType::GL); + UNIMPLEMENTED_IF(instr.membar.unknown != Tegra::Shader::MembarUnknown::Default); + bb.push_back(Operation(OperationCode::MemoryBarrierGL)); + break; + } case OpCode::Id::DEPBAR: { LOG_DEBUG(HW_GPU, "DEPBAR instruction is stubbed"); break; |