Cross Reference: 020-array-length.vert
xref: /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/warnings/020-array-length.vert
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/warnings/
101e04c3fSmrg#version 130
201e04c3fSmrg
301e04c3fSmrgvoid main()
401e04c3fSmrg{
501e04c3fSmrg  float array[4];
601e04c3fSmrg  int fooLength;
701e04c3fSmrg
801e04c3fSmrg  fooLength = array.length();
901e04c3fSmrg  array[0] = 2.0;
1001e04c3fSmrg  fooLength = array.length();
1101e04c3fSmrg}
1201e04c3fSmrg
13

Indexes created Sun Nov 30 00:09:37 GMT 2025