summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-09-24 06:03:59 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-09-24 06:03:59 +0200
commitf926230ab107caac4d4e1dc8c99ea84bfe4e1b34 (patch)
tree0ac43a4a6ea205dbf8d2fedbf5debec81fd8cfbe
parentgl_shader_decompiler: Fix clang build issues (diff)
downloadyuzu-f926230ab107caac4d4e1dc8c99ea84bfe4e1b34.tar
yuzu-f926230ab107caac4d4e1dc8c99ea84bfe4e1b34.tar.gz
yuzu-f926230ab107caac4d4e1dc8c99ea84bfe4e1b34.tar.bz2
yuzu-f926230ab107caac4d4e1dc8c99ea84bfe4e1b34.tar.lz
yuzu-f926230ab107caac4d4e1dc8c99ea84bfe4e1b34.tar.xz
yuzu-f926230ab107caac4d4e1dc8c99ea84bfe4e1b34.tar.zst
yuzu-f926230ab107caac4d4e1dc8c99ea84bfe4e1b34.zip
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp2
1 files changed, 2 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 1eda0cb44..8fa9e6534 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -1491,6 +1491,8 @@ private:
case Tegra::Shader::HalfType::H1_H1:
return {fmt::format("vec2({}[1])", operand.AsHalfFloat()), Type::HalfFloat};
}
+ UNREACHABLE();
+ return {"0", Type::Int};
}
Expression HMergeF32(Operation operation) {