summaryrefslogtreecommitdiff
path: root/tests/glslparsertest/glsl2/struct-04.vert
blob: 6ab786dcff3d42b85a2e8280c8b3edc84470551a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// [config]
// expect_result: pass
// glsl_version: 1.10
//
// [end config]

/* PASS */

struct foo {
  float f;
  int i;
  bool b;
};

void main()
{
  foo foo;

  gl_Position = gl_Vertex;
}