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
/
clipping
/
clip-distance-unavailable.vert
blob
cd13aa3818a1a9cbce0de0f8826f7fe422f94ef3
1
/* [config]
2
* expect_result: fail
3
* glsl_version: 1.20
4
* check_link: true
5
* [end config]
6
*
7
* This test verifies that the vertex shader special variable
8
* gl_ClipDistance (defined in GLSL 1.30) is not available when the
9
* GLSL version is 1.20.
10
*/
11
#version 120
12
13
varying float gl_ClipDistance[2];
14
15
void main()
16
{
17
gl_Position = vec4(0.0);
18
}