aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/glsl-es-1.00/compiler/clipping/clip-distance-unavailable.vert
blob: 108f9122211b773ce79b2bcd0a2b3231af9b6b91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* [config]
 * expect_result: fail
 * glsl_version: 1.20
 * glsles_version: 1.00
 * check_link: true
 * [end config]
 *
 * This test verifies that the vertex shader special variable
 * gl_ClipDistance (defined in GLSL 1.30) is not available when the
 * GLSL version is 1.20.
 */

varying float gl_ClipDistance[2];

void main()
{
  gl_Position = vec4(0.0);
}