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 #2908 from Biswa96/cmake-spirv-remap
[platform/upstream/glslang.git]
/
Test
/
spv.multiStructFuncall.frag
1
#version 450
\r
2
\r
3
struct S { mat4 m; };
\r
4
buffer blockName { S s1; }; // need an S with decoration
\r
5
S s2; // no decorations on S
\r
6
\r
7
void fooConst(const in S s) { }
\r
8
void foo(in S s) { }
\r
9
void fooOut(inout S s) { }
\r
10
\r
11
void main()
\r
12
{
\r
13
fooConst(s1);
\r
14
fooConst(s2);
\r
15
\r
16
foo(s1);
\r
17
foo(s2);
\r
18
\r
19
fooOut(s1);
\r
20
fooOut(s2);
\r
21
}