summaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorGravatar Subv2018-07-04 15:29:51 -0500
committerGravatar Subv2018-07-04 15:29:51 -0500
commit77cfe4f027bd91e4200d6cda5c985f94de378684 (patch)
treef44bc7a6653b399246e5afdeff3a5726e1a1979a /src/video_core/renderer_opengl
parentMerge pull request #618 from Subv/clear_used_buffers (diff)
downloadyuzu-77cfe4f027bd91e4200d6cda5c985f94de378684.tar.gz
yuzu-77cfe4f027bd91e4200d6cda5c985f94de378684.tar.xz
yuzu-77cfe4f027bd91e4200d6cda5c985f94de378684.zip
GPU: Stub the shader SYNC and DEPBAR instructions.
It is unknown at this moment if we actually need to do something with these instructions or if the GLSL compiler takes care of that for us.
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp7
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 ec9956edb..d5259e0b1 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -1599,6 +1599,13 @@ private:
1599 // can ignore this when generating GLSL code. 1599 // can ignore this when generating GLSL code.
1600 break; 1600 break;
1601 } 1601 }
1602 case OpCode::Id::DEPBAR:
1603 case OpCode::Id::SYNC: {
1604 // TODO(Subv): Find out if we actually have to care about these instructions or if
1605 // the GLSL compiler takes care of that for us.
1606 LOG_WARNING(HW_GPU, "DEPBAR/SYNC instruction is stubbed");
1607 break;
1608 }
1602 default: { 1609 default: {
1603 LOG_CRITICAL(HW_GPU, "Unhandled instruction: {}", opcode->GetName()); 1610 LOG_CRITICAL(HW_GPU, "Unhandled instruction: {}", opcode->GetName());
1604 UNREACHABLE(); 1611 UNREACHABLE();