forked from ShuriZma/suyu
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
|
@ -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 New Issue