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
/
gs-also-uses-smooth-flat-noperspective.geom
blob
9eb0d7abdd7221303e894d47390fe8ccfe089ab0
1
// [config]
2
// expect_result: pass
3
// glsl_version: 1.50
4
// check_link: false
5
// [end config]
6
7
#version 150
8
9
layout(points) in;
10
layout(points, max_vertices = 1) out;
11
12
flat in int a[];
13
noperspective in int b[];
14
smooth in int c[];
15
16
flat out int aa;
17
noperspective out int bb;
18
smooth out int cc;
19
20
void main()
21
{
22
aa = a[0];
23
bb = b[0];
24
cc = c[0];
25
}