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