summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/tests/warnings/025-function-parameters.vert
blob: 0b7f7e5b182370bd92710acd5d81fd0975448341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#version 130

void foo(float normalVar, out float outVar, inout float inoutVar)
{
  outVar = 1.0f;
}

void main()
{
   float undefinedFloat;
   float noRaise;
   float undefinedFloat2;

   foo(undefinedFloat, noRaise, undefinedFloat2);
}