summaryrefslogtreecommitdiff
path: root/tests/spec/glsl-1.30/compiler/storage-qualifiers/local-centroid-in-01.frag
blob: 7bb2c3a5bad4d2eabb23b7f104a4558f1d7a8aaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// [config]
// expect_result: fail
// glsl_version: 1.30
// [end config]
//
// Check that 'centroid in' cannot be used a local variable qualifier.

#version 130

float f() {
	centroid in float x = 0;
	return x;
}