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.vk.pcNamingValid.0.0.vert
1
#version 450
2
layout (push_constant) uniform PCBlock
3
{
4
mat4 uWorld;
5
mat4 uProj;
6
vec4 color1;
7
vec4 color2;
8
} a;
9
10
vec4 getWorld();
11
vec4 getColor2();
12
13
layout(location = 0) out vec4 oColor;
14
15
void
16
main()
17
{
18
oColor = a.color1 * getColor2();
19
20
gl_Position = a.uProj * getWorld();
21
}