repo.or.cz
/
piglit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ext_gpu_shader4: add compiler tests for everything
[piglit.git]
/
tests
/
spec
/
glsl-1.50
/
compiler
/
geometry-basic.geom
blob
ede61e30c159c7887e00cd77dde653a2d3453115
1
// [config]
2
// expect_result: pass
3
// glsl_version: 1.50
4
// check_link: true
5
// [end config]
6
7
#version 150
8
9
layout(triangles) in;
10
layout(triangle_strip, max_vertices = 3) out;
11
12
void main()
13
{
14
for (int i = 0; i < 3; i++) {
15
gl_Position = vec4(0.0);
16
EmitVertex();
17
}
18
}