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 #2892 from greg-lunarg/mb
[platform/upstream/glslang.git]
/
Test
/
spv.functionNestedOpaque.vert
1
#version 450
\r
2
\r
3
uniform struct S {
\r
4
sampler2D s;
\r
5
} si;
\r
6
\r
7
void foo(sampler2D t)
\r
8
{
\r
9
texture(t, vec2(0.5));
\r
10
}
\r
11
\r
12
void barc(const S p)
\r
13
{
\r
14
foo(p.s);
\r
15
}
\r
16
\r
17
void bar(S p)
\r
18
{
\r
19
foo(p.s);
\r
20
}
\r
21
\r
22
void main()
\r
23
{
\r
24
barc(si);
\r
25
bar(si);
\r
26
}
\r