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
/
link.multiBlocksValid.1.1.vert
1
#version 430
2
3
layout (std140) uniform ColorBlock
4
{
5
vec4 color1;
6
vec4 color2;
7
} a;
8
9
layout (std140) uniform Block
10
{
11
mat4 uProj;
12
mat4 uWorld;
13
} b;
14
15
out Vertex
16
{
17
vec4 v1;
18
vec4 v2;
19
} c;
20
21
22
in vec4 P;
23
24
vec4 getColor2()
25
{
26
return a.color2;
27
}
28
29
vec4 getWorld()
30
{
31
return b.uWorld * P;
32
c.v2 = vec4(1);
33
}
34