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

void main()
{
   int undefined;
   int defined = 2;
   float fooFloat;

   if (undefined > 0) {
      fooFloat = 10.0;
   }

   if (defined > 0) {
      fooFloat = 10.0;
   }
}