diff options
author | Eric Anholt <[email protected]> | 2010-11-30 11:23:28 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-11-30 11:42:42 -0800 |
commit | ff79633d9f930e396933a0ad9564824ec73ea4dc (patch) | |
tree | dfb739086ec04a08b8c4fedcb9dd12a666951bfc /src/talloc/talloc.c | |
parent | 6b937465d4aeab72fabcfe5250d477cf6790a521 (diff) |
glsl: Fix structure and array comparisions.
We were trying to emit a single ir_expression to compare the whole
thing. The backends (ir_to_mesa.cpp and brw_fs.cpp so far) expected
ir_binop_any_nequal or ir_binop_all_equal to apply to at most a vector
(with matrices broken down by the lowering pass). Break them down to
a bunch of ORed or ANDed any_nequals/all_equals.
Fixes:
glsl-array-compare
glsl-array-compare-02
glsl-fs-struct-equal
glsl-fs-struct-notequal
Bug #31909
Diffstat (limited to 'src/talloc/talloc.c')
0 files changed, 0 insertions, 0 deletions