aboutsummaryrefslogtreecommitdiff
path: root/tests/glslparsertest/shaders/swizzle2.frag
blob: 486fa3a68f145c6a7cca923feb6ec2ab5e7f045f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// [config]
// expect_result: fail
// glsl_version: 1.10
//
// # NOTE: Config section was auto-generated from file
// # NOTE: 'glslparser.tests' at git revision
// # NOTE: 6cc17ae70b70d150aa1751f8e28db7b2a9bd50f0
// [end config]

void main()
{
    vec2 v;
    v.xx = vec2(1,1);  // x cannot be used twice in l-value
}