commit | e11757bb896e3dadc54fb3d18adf4b71e3e883b3 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Mon Aug 23 14:54:06 2010 -0700 |
committer | Eric Anholt <eric@anholt.net> | Mon Aug 23 14:58:38 2010 -0700 |
tree | 13c6a301c511a87ef79eb3b53d6fd87068e6e043 | |
parent | d1e6b31cb848ed79dd82849f277ab07c9bcdd707 [diff] |
glsl: When unable to assign the initializer for a const variable, set it to 0. This prevents assertion failures or cascading errors after we've logged the fact that we were unable to handle the initializer. Fixes unsized-array-non-const-index-2.vert