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-es-3.00
/
compiler
/
const-initializer
/
from-function.frag
blob
8a90994e5beeb0ab41ec29777013c12fddd3ec5e
1
#version 300 es
2
3
/* [config]
4
* expect_result: pass
5
* glsl_version: 3.00
6
* [end config]
7
*/
8
9
precision mediump float;
10
11
const float f = cos(0.0);
12
out vec4 fragdata;
13
14
void main()
15
{
16
fragdata = vec4(f);
17
}