diff options
author | Rob Clark <[email protected]> | 2015-03-31 11:25:19 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-04-05 08:56:24 -0400 |
commit | 6829d76e0285f9ed8091990b908d2e7dc37c5218 (patch) | |
tree | f41184ad8f9bd67fcb26719be4601779f5a97130 /include/KHR | |
parent | 24b78fe54e1498dc3f66cb616561894039806642 (diff) |
nir: add option to lower slt/sge/seq/sne
In freedreno these get implemented as the matching f* instruction plus a
u2f to convert the result to float 1.0/0.0. But less lines of code to
just let nir_opt_algebraic handle this for us, plus opens up some small
window for other opt passes to improve (ie. if some shader ended up with
both a flt and slt with same src args, for example).
v2: use b2f rather than u2f
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'include/KHR')
0 files changed, 0 insertions, 0 deletions