mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-28 06:06:55 +00:00
gl_shader_decompiler: Add tailing return for HUnpack2
This commit is contained in:
parent
25bfaffdff
commit
f926230ab1
|
@ -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