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.20
/
compiler
/
storage-qualfiers
/
static-write-varying-01.frag
blob
924c95e17ae19b33dc13c283fde4c43946d2bba0
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.20
4
// [end config]
5
//
6
// From section 4.3.6 of the GLSL 1.20 spec:
7
// A fragment shader can not write to a varying variable.
8
9
#version 120
10
11
varying float x;
12
13
void g() {
14
x = 0.0;
15
}