diff options
author | Ian Romanick <[email protected]> | 2015-11-17 18:35:00 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-11-18 18:35:56 -0800 |
commit | 2f554761536bbfd0d8ec22e807c18bd6df0f22b8 (patch) | |
tree | 3a33ff50a2681a36a8ea1d7542f0e3448a58e70a /src/gbm | |
parent | 0aded03046a5dd73bedece767dea8559463a7a57 (diff) |
glsl: Fix off-by-one error in array size check assertion
Apparently, this has been a bug since 2010 (c30f6e5d).
Also use ARRAY_SIZE instead of open coding it.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/gbm')
0 files changed, 0 insertions, 0 deletions