summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/tests/warnings/005-lequal.vert
blob: 73e476a1eb6a2863381f972530244d4e19dc9033 (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;
   }
}