aboutsummaryrefslogtreecommitdiff
path: root/tests/glslparsertest/glsl2/constructor-28.vert
blob: 66b88a8e6894f293ad2b42f70ea639ade6c24388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// [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 - type mismatch in assignment
 */
uniform float alpha;

void main()
{
	gl_Position = gl_Vertex;

	/* This reproduces the assertion failure reported in bugzilla #30623.
	 */
	gl_FrontColor = vec4(vec3(0.0, 1.0, 0.0), alpha);
}