summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-link-initializer-01c.vert
blob: e8dba5e0f9a1b47af2f40e4d6f173380b96fff79 (plain)
1
2
3
4
5
6
float global_variable = 2.0;

/* This works around a bug in Apple's GLSL compiler.  Their compiler won't allow
 * a shader doesn't have any executable code.
 */
void apple_work_around2() {}