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]
/
generated_tests
/
templates
/
gen_gpu_shader4_tests
/
ternary.vert.mako
blob
549adfcc84700518f1d4cea0f9c2b01dc5bdb021
1
/* [config]
2
* expect_result: pass
3
* glsl_version: 1.10
4
* require_extensions: GL_EXT_gpu_shader4
5
* [end config]
6
*/
7
#extension GL_EXT_gpu_shader4 : require
8
9
attribute vec4 pos;
10
attribute ${type1} x;
11
attribute ${type2} y, z;
12
flat varying ${type1} v;
13
14
void main()
15
{
16
gl_Position = pos;
17
v = ${param.func}(x, y, z);
18
}