Ian Romanick b8a21cc6df Track max accessed array element, reject additional out-of-bounds accesses
For unsized arrays, we can't flag out-of-bounds accesses until the
array is redeclared with a size.  Track the maximum accessed element
and generate an error if the declaration specifies a size that would
cause that access to be out-of-bounds.

This causes the following tests to pass:

    glslparsertest/shaders/array10.frag
2010-04-01 18:35:08 -07:00
2010-02-22 13:19:34 -08:00
2010-03-31 16:16:54 -07:00
2010-03-08 13:02:58 -08:00
2010-02-25 17:17:23 -08:00
2010-02-25 17:17:23 -08:00
2010-02-25 17:17:23 -08:00
2010-03-31 18:23:21 -07:00
2010-02-22 13:19:34 -08:00
2010-03-25 13:19:13 -07:00
S
Description
No description provided
538 MiB
Languages
C 75.5%
C++ 17.2%
Python 2.7%
Rust 1.8%
Assembly 1.5%
Other 1%