summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2020-04-18 15:17:52 -0400
committerGitHub <noreply@github.com>2020-04-18 15:17:52 -0400
commit5305806071d2a2d04035df44198ebb14c84282e3 (patch)
tree3aaebf9091fb5d4631a3e8e3574dfdcf72ab9897 /src
parent89e512ca8d1ae310747a6554f0f5d46b2b738123 (diff)
parent03726fb7f590635bf687671994c68c9a7a47ee1d (diff)
Merge pull request #3716 from bunnei/fix-another-impl-fallthrough
video_core: gl_shader_decompiler: Fix implicit fallthrough errors.
Diffstat (limited to 'src')
-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};