summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2020-04-18 21:17:52 +0200
committerGitHub <noreply@github.com>2020-04-18 21:17:52 +0200
commit5305806071d2a2d04035df44198ebb14c84282e3 (patch)
tree3aaebf9091fb5d4631a3e8e3574dfdcf72ab9897
parentMerge pull request #3710 from lioncash/nso (diff)
parentvideo_core: gl_shader_decompiler: Fix implicit fallthrough errors. (diff)
downloadyuzu-5305806071d2a2d04035df44198ebb14c84282e3.tar
yuzu-5305806071d2a2d04035df44198ebb14c84282e3.tar.gz
yuzu-5305806071d2a2d04035df44198ebb14c84282e3.tar.bz2
yuzu-5305806071d2a2d04035df44198ebb14c84282e3.tar.lz
yuzu-5305806071d2a2d04035df44198ebb14c84282e3.tar.xz
yuzu-5305806071d2a2d04035df44198ebb14c84282e3.tar.zst
yuzu-5305806071d2a2d04035df44198ebb14c84282e3.zip
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp1
1 files changed, 1 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 9495f48a2..22242cce9 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -1145,6 +1145,7 @@ private:
return {"gl_FragCoord"s + GetSwizzle(element), Type::Float};
default:
UNREACHABLE();
+ return {"0", Type::Int};
}
case Attribute::Index::FrontColor:
return {"gl_Color"s + GetSwizzle(element), Type::Float};