~mmach/netext73/mesa-haswell

« back to all changes in this revision

Viewing changes to src/compiler/glsl/tests/warnings/009-div-assign.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 defined = 2;
6
 
  int undefined;
7
 
  int fooInt;
8
 
 
9
 
  fooInt /= undefined;
10
 
  fooInt /= defined;
11
 
}
12