projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Explicitly declare gl_PerVertex block
[platform/upstream/VK-GL-CTS.git]
/
external
/
vulkancts
/
data
/
vulkan
/
draw
/
VertexFetch.vert
1
#version 430
2
3
layout(location = 0) in vec4 in_position;
4
layout(location = 1) in vec4 in_color;
5
6
layout(location = 0) out vec4 out_color;
7
8
out gl_PerVertex {
9
vec4 gl_Position;
10
};
11
12
void main() {
13
gl_Position = in_position;
14
out_color = in_color;
15
}