yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Diego NovilloFix erroneous parse errors in variable declarations using existing struct names (#4005)b4e66d7b

main
267 B15 linesraw
1#version 400
2
3struct B {
4    int a;
5};
6
7// Test struct parameter after non-struct parameter (minimal regression test).
8void test1(B b, int c) {} // works.
9void test2(int c, B b) {} // should work.
10
11void main() {
12    B b = B(42);
13    test1(b, 10);
14    test2(10, b);
15}