aboutsummaryrefslogtreecommitdiff
path: root/tests/glslparsertest/shaders/attribute.vert
blob: 30bee9851b993b9f06038bab39414081afcf285d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// [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()
{
    attribute float foo;  // attributes can be declared at a global scope only
}