~mmach/netext73/mesa-haswell

« back to all changes in this revision

Viewing changes to src/compiler/glsl/tests/warnings/003-less.vert

  • Committer: mmach
  • Date: 2022-09-22 19:56:13 UTC
  • Revision ID: netbit73@gmail.com-20220922195613-wtik9mmy20tmor0i
2022-09-22 21:17:09

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#version 130
2
 
 
3
 
void main()
4
 
{
5
 
   int undefined;
6
 
   int defined = 2;
7
 
   float fooFloat;
8
 
 
9
 
   if (undefined < 0) {
10
 
      fooFloat = 10.0;
11
 
   }
12
 
 
13
 
   if (defined < 0) {
14
 
      fooFloat = 10.0;
15
 
   }
16
 
}
17