mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-09-15 00:45:33 +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 New Issue
Block a user