xref: /third_party/mesa3d/src/compiler/glsl/tests/warnings/005-lequal.vert
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/mesa3d/src/compiler/glsl/tests/warnings/
1bf215546Sopenharmony_ci#version 130
2bf215546Sopenharmony_ci
3bf215546Sopenharmony_civoid main()
4bf215546Sopenharmony_ci{
5bf215546Sopenharmony_ci   int undefined;
6bf215546Sopenharmony_ci   int defined = 2;
7bf215546Sopenharmony_ci   float fooFloat;
8bf215546Sopenharmony_ci
9bf215546Sopenharmony_ci   if (undefined <= 0) {
10bf215546Sopenharmony_ci      fooFloat = 10.0;
11bf215546Sopenharmony_ci   }
12bf215546Sopenharmony_ci
13bf215546Sopenharmony_ci   if (defined <= 0) {
14bf215546Sopenharmony_ci      fooFloat = 10.0;
15bf215546Sopenharmony_ci   }
16bf215546Sopenharmony_ci}
17bf215546Sopenharmony_ci
18

Indexes created Thu Nov 07 10:32:03 CST 2024