diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-07-20 03:53:47 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2010-07-21 16:38:32 -0700 |
commit | e1d71850faba23d1bea3858a8c2e05a45fd21143 (patch) | |
tree | b3854a93eb048700703102f19526cbe0e57f546d /src/driclient | |
parent | 46d6b8d1ba09d9d6844ce99a30416283004f77c6 (diff) |
ast_to_hir: Fix bug in constant initializers.
Implicit conversions were not being performed, nor was there any
type checking - it was possible to have, say, var->type == float
and var->constant_value->type == int. Later use of the constant
expression would trigger an assertion.
Fixes piglit test const-implicit-conversion.frag.
Diffstat (limited to 'src/driclient')
0 files changed, 0 insertions, 0 deletions