summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-04-18 21:15:21 +0200
committerbunnei <bunneidev@gmail.com>2020-04-18 21:15:21 +0200
commit03726fb7f590635bf687671994c68c9a7a47ee1d (patch)
tree714fae5a0f341af87052fbbc16f8922491c9abed
parentMerge pull request #3666 from bunnei/new-vmm (diff)
downloadyuzu-03726fb7f590635bf687671994c68c9a7a47ee1d.tar
yuzu-03726fb7f590635bf687671994c68c9a7a47ee1d.tar.gz
yuzu-03726fb7f590635bf687671994c68c9a7a47ee1d.tar.bz2
yuzu-03726fb7f590635bf687671994c68c9a7a47ee1d.tar.lz
yuzu-03726fb7f590635bf687671994c68c9a7a47ee1d.tar.xz
yuzu-03726fb7f590635bf687671994c68c9a7a47ee1d.tar.zst
yuzu-03726fb7f590635bf687671994c68c9a7a47ee1d.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};