summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/tests/warnings/006-gequal.vert
blob: f1694bd382da98725fb2be2079d8f0c8669f1552 (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;
   }
}