summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/swiz-02.glsl
blob: e3f043c47bd2224c1a003492f02148c5357c4cec (plain)
1
2
3
4
5
6
7
8
9
10
11
/* FAIL: assignment of a vec2 to a float */
#version 120

void main()
{
	float a;
	vec4 b;

	b.x = 6.0;
	a = b.xy;
}