yuzu-emu
/
yuzu
Archived
1
0
Fork 0

gl_shader_decompiler: Add tailing return for HUnpack2

This commit is contained in:
ReinUsesLisp 2019-09-24 01:03:59 -03:00
parent 25bfaffdff
commit f926230ab1
No known key found for this signature in database
GPG Key ID: 2DFC508897B39CFE
1 changed files with 2 additions and 0 deletions

View File

@ -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) {