projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
generate OpLine before OpFunction
[platform/upstream/glslang.git]
/
Test
/
link.vk.pcNamingValid.0.1.vert
1
#version 450
2
3
layout (push_constant) uniform PCBlock
4
{
5
mat4 uWorld;
6
mat4 uProj;
7
vec4 color1;
8
vec4 color2;
9
} b;
10
11
layout(location = 0) in vec4 P;
12
13
vec4 getColor2()
14
{
15
return b.color2;
16
}
17
18
vec4 getWorld()
19
{
20
return b.uWorld * P;
21
}
22