diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-12-21 22:47:22 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 21:54:52 +0100 |
commit | fc46ecddb3bca4861babbf610cd64ab9fdc1bb08 (patch) | |
tree | 6dbb61cb71db90909e801b6bfd52e4fbdadcf360 /src/video_core/shader/shader_ir.cpp | |
parent | shader_decode: Implement FFMA (diff) | |
download | yuzu-fc46ecddb3bca4861babbf610cd64ab9fdc1bb08.tar yuzu-fc46ecddb3bca4861babbf610cd64ab9fdc1bb08.tar.gz yuzu-fc46ecddb3bca4861babbf610cd64ab9fdc1bb08.tar.bz2 yuzu-fc46ecddb3bca4861babbf610cd64ab9fdc1bb08.tar.lz yuzu-fc46ecddb3bca4861babbf610cd64ab9fdc1bb08.tar.xz yuzu-fc46ecddb3bca4861babbf610cd64ab9fdc1bb08.tar.zst yuzu-fc46ecddb3bca4861babbf610cd64ab9fdc1bb08.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_ir.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/shader/shader_ir.cpp b/src/video_core/shader/shader_ir.cpp index 3c37c7145..1f39dc6d0 100644 --- a/src/video_core/shader/shader_ir.cpp +++ b/src/video_core/shader/shader_ir.cpp @@ -158,6 +158,7 @@ Node ShaderIR::ConvertIntegerSize(Node value, Tegra::Shader::Register::Size size return value; default: UNREACHABLE_MSG("Unimplemented conversion size: {}", static_cast<u32>(size)); + return value; } } @@ -403,6 +404,7 @@ void ShaderIR::SetLocalMemory(BasicBlock& bb, Node address, Node value) { UNREACHABLE_MSG("Can't apply absolute to an unsigned integer"); } UNREACHABLE_MSG("Unknown signed operation with code={}", static_cast<u32>(operation_code)); + return {}; } } // namespace VideoCommon::Shader
\ No newline at end of file |