diff options
author | bunnei <bunneidev@gmail.com> | 2020-04-18 21:15:21 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-04-18 21:15:21 +0200 |
commit | 03726fb7f590635bf687671994c68c9a7a47ee1d (patch) | |
tree | 714fae5a0f341af87052fbbc16f8922491c9abed /src/video_core/renderer_opengl | |
parent | Merge pull request #3666 from bunnei/new-vmm (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 1 |
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}; |