repo.or.cz
/
glslang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ci: Remove gcc from macos matrix
[glslang.git]
/
Test
/
link.multiBlocksInvalid.0.1.vert
blob
8b9ccd151460836e8799b440c037f7a1514e1449
1
#version 430
2
3
layout (std140) uniform ColorBlock
4
{
5
vec4 color2;
6
} uColorB;
7
8
layout (std140) uniform Block
9
{
10
mat4 uWorld;
11
} uDefaultB;
12
13
out Vertex
14
{
15
vec4 v2;
16
} oVert;
17
18
19
in vec4 P;
20
21
vec4 getColor2()
22
{
23
return uColorB.color2;
24
}
25
26
vec4 getWorld()
27
{
28
return uDefaultB.uWorld * P;
29
oVert.v2 = vec4(1);
30
}
31