mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-09 16:39:57 +00:00
gl_shader_decompiler: Fixup AssignCompositeHalf
This commit is contained in:
parent
50195b1704
commit
bb12f99b20
1 changed files with 1 additions and 1 deletions
|
@ -808,7 +808,7 @@ private:
|
||||||
if (meta.count > 2) {
|
if (meta.count > 2) {
|
||||||
const auto dst2 = std::get<GprNode>(*operation[2]).GetIndex();
|
const auto dst2 = std::get<GprNode>(*operation[2]).GetIndex();
|
||||||
const std::string src2 = "vec2(" + ReadComponent(2) + ", " + ReadComponent(3) + ')';
|
const std::string src2 = "vec2(" + ReadComponent(2) + ", " + ReadComponent(3) + ')';
|
||||||
code.AddLine(GetRegister(dst2) + " = utof(packHalf2x16(" + src2 + "))");
|
code.AddLine(GetRegister(dst2) + " = utof(packHalf2x16(" + src2 + "));");
|
||||||
}
|
}
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue