diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-05 18:54:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-05 18:54:19 +0200 |
commit | 762bf6a52201901374fd3bf7c866490036920c78 (patch) | |
tree | ebf04066d1f487b72a4521c67afd2c551111ba87 /src/video_core/renderer_opengl/gl_shader_decompiler.cpp | |
parent | Merge pull request #624 from Subv/f2f_round (diff) | |
parent | GPU: Stub the shader SYNC and DEPBAR instructions. (diff) | |
download | yuzu-762bf6a52201901374fd3bf7c866490036920c78.tar yuzu-762bf6a52201901374fd3bf7c866490036920c78.tar.gz yuzu-762bf6a52201901374fd3bf7c866490036920c78.tar.bz2 yuzu-762bf6a52201901374fd3bf7c866490036920c78.tar.lz yuzu-762bf6a52201901374fd3bf7c866490036920c78.tar.xz yuzu-762bf6a52201901374fd3bf7c866490036920c78.tar.zst yuzu-762bf6a52201901374fd3bf7c866490036920c78.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_decompiler.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 03ac4fe9e..e817aca5a 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -1632,6 +1632,13 @@ private: // can ignore this when generating GLSL code. break; } + case OpCode::Id::DEPBAR: + case OpCode::Id::SYNC: { + // TODO(Subv): Find out if we actually have to care about these instructions or if + // the GLSL compiler takes care of that for us. + LOG_WARNING(HW_GPU, "DEPBAR/SYNC instruction is stubbed"); + break; + } default: { LOG_CRITICAL(HW_GPU, "Unhandled instruction: {}", opcode->GetName()); UNREACHABLE(); |