diff options
author | Ian Romanick <[email protected]> | 2017-09-18 15:56:22 -0500 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2017-10-02 14:46:10 -0700 |
commit | 4a8086c5a5b230384060fefdb0e92d104e88566c (patch) | |
tree | d1f5528c1e2cefa47e9567afb072eeaedcee6d7a /meson_options.txt | |
parent | ed80746c1c519bb173217fde39266c2af3525a0c (diff) |
glsl/ast: Use ir_binop_equal instead of ir_binop_all_equal
The values being compared are scalars, so these are the same. While
I'm here, simplify the run_default condition to just deref the flag
(instead of comparing a scalar bool with true).
There is a bit of extra change in this patch. When constructing an
ir_binop_equal ir_expression, there is an assertion that the types are
the same. There is no such assertion for ir_binop_all_equal, so
passing glsl_type::uint_type with glsl_type::int_type was previously
fine. A bunch of the code motion is to deal with that.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'meson_options.txt')
0 files changed, 0 insertions, 0 deletions