summaryrefslogtreecommitdiff
path: root/tests/spec/glsl-1.30/compiler/interpolation-qualifiers/local-smooth-01.frag
blob: 12cf0add79839daca21dbf2c2b47ec1db20e6bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// [config]
// expect_result: fail
// glsl_version: 1.30
// [end config]
//
// Attempt to declare a local varaible with 'smooth'.

#version 130

float f() {
	smooth float x = 0;
	return x;
}