mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-14 08:44:58 +00:00
gl_shader_decompiler: Add tailing return for HUnpack2
This commit is contained in:
parent
25bfaffdff
commit
f926230ab1
1 changed files with 2 additions and 0 deletions
|
@ -1491,6 +1491,8 @@ private:
|
||||||
case Tegra::Shader::HalfType::H1_H1:
|
case Tegra::Shader::HalfType::H1_H1:
|
||||||
return {fmt::format("vec2({}[1])", operand.AsHalfFloat()), Type::HalfFloat};
|
return {fmt::format("vec2({}[1])", operand.AsHalfFloat()), Type::HalfFloat};
|
||||||
}
|
}
|
||||||
|
UNREACHABLE();
|
||||||
|
return {"0", Type::Int};
|
||||||
}
|
}
|
||||||
|
|
||||||
Expression HMergeF32(Operation operation) {
|
Expression HMergeF32(Operation operation) {
|
||||||
|
|
Loading…
Reference in a new issue