projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2976 from jeremy-lunarg/hayes-fix-2975
[platform/upstream/glslang.git]
/
Test
/
noMatchingFunction.frag
1
#version 330
2
3
struct S
4
{
5
float a;
6
};
7
8
float func(S s)
9
{
10
return s.a;
11
}
12
13
layout(location = 0) out vec4 o_color;
14
15
void main()
16
{
17
float c = func(1.0f); // ERROR: no matching function
18
o_color = vec4(c);
19
}