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.differentPC.1.2.frag
1
#version 450
\r
2
\r
3
layout(location=0) out vec4 color;
\r
4
\r
5
layout (push_constant) uniform PushConstantBlock
\r
6
{
\r
7
vec4 color;
\r
8
vec4 color2;
\r
9
float scale;
\r
10
} uPC;
\r
11
\r
12
vec4 getColor2();
\r
13
float getScale();
\r
14
\r
15
void main()
\r
16
{
\r
17
color = uPC.color + getColor2() * getScale();
\r
18
}
\r