diff options
author | Kenneth Graunke <[email protected]> | 2016-08-17 15:02:59 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-08-18 01:27:15 -0700 |
commit | e8543feba790b68edfcacc9554967118029b88f8 (patch) | |
tree | 2cdf51995c65d144eb4c7efd325bc7d058b723d5 /src/getopt | |
parent | 241870fe5b91c6efaa77a68dc9ed4a335dc76650 (diff) |
nir/search: Fold src_is_bool()/alu_instr_is_bool() into src_is_type().
I don't want src_is_bool() and src_is_type(x, nir_type_bool) to behave
differently. Having the logic spread out over three functions makes it
harder to decide where to put new logic, as well.
So, combine them all. It's a bit simpler because there's now only one
recursive function rather than a pair of mutually recursive functions.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/getopt')
0 files changed, 0 insertions, 0 deletions