aboutsummaryrefslogtreecommitdiff
path: root/tests/glslparsertest/glsl2/draw_buffers-06.vert
blob: ad4b086047cb84a35138de67cb4fa5a96edb11d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// [config]
// expect_result: pass
// glsl_version: 1.10
//
// # NOTE: Config section was auto-generated from file
// # NOTE: 'glslparser.tests' at git revision
// # NOTE: 6cc17ae70b70d150aa1751f8e28db7b2a9bd50f0
// [end config]

/* PASS - GL_ARB_draw_buffers does exist in the vertex shader, but it only
 * makes the built in variable gl_MaxDrawBuffers be available.
 */
#version 110

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