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

#version 130

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