summaryrefslogtreecommitdiff
path: root/src/glsl/tests/constructor-09.glsl
blob: 1985699b305b43bb14f0edc7dbd7f60ac2689457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* PASS */

uniform int a;
uniform float b;
uniform bool c;

void main()
{
  float x;
  int y;
  bool z;

  x = float(a);
  x = float(b);
  x = float(c);

  y = int(a);
  y = int(b);
  y = int(c);

  z = bool(a);
  z = bool(b);
  z = bool(c);

  gl_Position = gl_Vertex;
}