mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-11-23 19:43:36 +00:00
gl_shader_decompiler: Fix MrgH0 decompilation
GLSL decompilation for HMergeH0 was wrong. This addresses that issue.
This commit is contained in:
parent
64613db605
commit
abcbcb1b2a
1 changed files with 2 additions and 2 deletions
|
@ -1078,8 +1078,8 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string HMergeH0(Operation operation) {
|
std::string HMergeH0(Operation operation) {
|
||||||
return "fromHalf2(vec2(toHalf2(" + Visit(operation[0]) + ")[1], toHalf2(" +
|
return "fromHalf2(vec2(toHalf2(" + Visit(operation[1]) + ")[0], toHalf2(" +
|
||||||
Visit(operation[1]) + ")[0]))";
|
Visit(operation[0]) + ")[1]))";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string HMergeH1(Operation operation) {
|
std::string HMergeH1(Operation operation) {
|
||||||
|
|
Loading…
Reference in a new issue