yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

gl_shader_decompiler: Fix MrgH0 decompilation

GLSL decompilation for HMergeH0 was wrong. This addresses that issue.
This commit is contained in:
ReinUsesLisp 2019-04-15 19:15:55 -03:00
parent 64613db605
commit abcbcb1b2a
1 changed files with 2 additions and 2 deletions

View File

@ -1078,8 +1078,8 @@ private:
}
std::string HMergeH0(Operation operation) {
return "fromHalf2(vec2(toHalf2(" + Visit(operation[0]) + ")[1], toHalf2(" +
Visit(operation[1]) + ")[0]))";
return "fromHalf2(vec2(toHalf2(" + Visit(operation[1]) + ")[0], toHalf2(" +
Visit(operation[0]) + ")[1]))";
}
std::string HMergeH1(Operation operation) {