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
glx: don't fail test if the X server is inconsistent
[piglit.git]
/
tests
/
spec
/
glsl-1.10
/
compiler
/
storage-qualfiers
/
static-write-varying-01.frag
blob
48f54d026696fabd9bff2495ddb65b5d8e17a90d
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.10
4
// [end config]
5
//
6
// From section 4.3.6 of the GLSL 1.10 spec:
7
// A fragment shader can not write to a varying variable.
8
9
#version 110
10
11
varying float x;
12
13
void g() {
14
x = 0.0;
15
}