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
/
unary_op.frag.mako
blob
c7407abc51e316912e7ac3f8429713b231485b82
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
flat varying ${type1} x;
10
11
void main()
12
{
13
${type1} v = ${param.op}x;
14
gl_FragColor = vec4(v${swizzle});
15
}