From 03726fb7f590635bf687671994c68c9a7a47ee1d Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 18 Apr 2020 15:15:21 -0400 Subject: video_core: gl_shader_decompiler: Fix implicit fallthrough errors. --- src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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}; -- cgit v1.2.3