yum-mirror/glslang

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

Greg FischerMerge pull request #2849 from jeremy-lunarg/hayes-fix-issue-2848950c6ddc

main
203 B19 linesraw
1#version 330
2
3struct S
4{
5	float a;
6};
7
8float func(S s)
9{
10	return s.a;
11}
12
13layout(location = 0) out vec4 o_color;
14
15void main()
16{
17	float c = func(1.0f); // ERROR: no matching function
18	o_color = vec4(c);
19}