Input:
#version 430
struct Foo {int A; int B;};
struct Bar {int A; int C; int B;};
Foo foo;
Bar bar;
void main() {
foo.A = 1;
foo.B = 2;
bar.A = 3;
bar.C = 4;
bar.B = 5;
}
Output:
#version 430
struct O{int m;int M;};
struct L{int K;int J;int I;};
O i;
L s;
void main()
{
i.K=1;
i.I=2;
s.K=3;
s.J=4;
s.I=5;
}
Field renaming doesn't match the fields definition.
Broken by #499
Input:
Output:
Field renaming doesn't match the fields definition.
Broken by #499