diff options
author | Ian Romanick <[email protected]> | 2014-07-18 16:10:16 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-08-04 14:40:06 -0700 |
commit | 146be3ddbe1e3cf8154bcc59cc5bcbd90e2072cb (patch) | |
tree | f43d74958b8de9920f6011ed41f99573eac1ad02 /bin/.gitignore | |
parent | b249712643991a011f3f802b9b453021ec88e1fc (diff) |
glsl: Use constant_expression_value instead of as_constant
Just a few lines earlier we may have wrapped the index expression with
ir_unop_i2u expression. Whenever that happens, as_constant will return
NULL, and that almost always happens.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'bin/.gitignore')
0 files changed, 0 insertions, 0 deletions