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

/* PASS */

vec4 foo(vec4 a, vec4 b)
{
  return vec4(dot(a, b));
}

void main()
{
  struct foo {
    float f;
    int i;
    bool b;
  };

  gl_Position = gl_Vertex;
}