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 #2913 from greg-lunarg/i2905
[platform/upstream/glslang.git]
/
Test
/
spv.xfb2.vert
1
#version 450
\r
2
\r
3
layout (location = 0) in vec4 position;
\r
4
layout (binding = 5) uniform ComponentsBlock
\r
5
{
\r
6
vec4 c1;
\r
7
vec2 c2;
\r
8
} components;
\r
9
\r
10
layout (xfb_buffer = 3, xfb_offset = 16) out gl_PerVertex
\r
11
{
\r
12
vec4 gl_Position;
\r
13
};
\r
14
\r
15
void main()
\r
16
{
\r
17
gl_Position = position + components.c1 + vec4(components.c2, 0.0, 0.0);
\r
18
}