summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-link-initializer-06a.vert
blob: f794e24677956f42acd31ed8a6233043bdd55fe0 (plain)
1
2
3
4
5
6
7
8
uniform float angle;
uniform float scale;
float global_variable = cos(angle) * scale;

float function(void)
{
  return global_variable;
}