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
/
spv.simpleMat.vert
1
#version 330
\r
2
\r
3
varying mat4 mvp;
\r
4
\r
5
in vec4 v;
\r
6
in mat3 am3;
\r
7
in mat4 arraym[3];
\r
8
\r
9
out float f;
\r
10
out vec4 glPos;
\r
11
//out mat4 mout[2];
\r
12
\r
13
void main()
\r
14
{
\r
15
//needs complex output blocks to work: gl_Position = mvp * v;
\r
16
glPos = mvp * v;
\r
17
f = am3[2][1] + arraym[1][2][3];
\r
18
//mout[1] = arraym[2];
\r
19
}
\r