diff options
author | Mat M <mathew1800@gmail.com> | 2020-04-18 21:17:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 21:17:52 +0200 |
commit | 5305806071d2a2d04035df44198ebb14c84282e3 (patch) | |
tree | 3aaebf9091fb5d4631a3e8e3574dfdcf72ab9897 /src/video_core | |
parent | Merge pull request #3710 from lioncash/nso (diff) | |
parent | video_core: gl_shader_decompiler: Fix implicit fallthrough errors. (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src/video_core')
-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}; |