diff options
author | Jason Ekstrand <[email protected]> | 2018-10-22 16:44:59 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-01-14 19:27:06 +0000 |
commit | 2d2737dcfe60f1e1b601c2c75a2695a544c9a3dc (patch) | |
tree | b167db1e8e395512504798f60d56075114358cd4 /src/compiler/Makefile.sources | |
parent | 09c3ff01dfd72aa84334fe82cc3319594fc99ac6 (diff) |
nir: Add a bool to float32 lowering pass
From @jekstrand's nir-1-bit-bool branch, with improved ior/inot lowering.
ior: fmax instead of fadd allows removing the fsat.
inot: seq(x, 0) can be better than fsub(1, x). On a2xx, it works better
with the scalar instruction set.
Reviewed-by: Jonathan Marek <[email protected]>
Diffstat (limited to 'src/compiler/Makefile.sources')
-rw-r--r-- | src/compiler/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/Makefile.sources b/src/compiler/Makefile.sources index ec62c2fbb42..66c1018be7a 100644 --- a/src/compiler/Makefile.sources +++ b/src/compiler/Makefile.sources @@ -232,6 +232,7 @@ NIR_FILES = \ nir/nir_lower_atomics_to_ssbo.c \ nir/nir_lower_bitmap.c \ nir/nir_lower_bit_size.c \ + nir/nir_lower_bool_to_float.c \ nir/nir_lower_bool_to_int32.c \ nir/nir_lower_clamp_color_outputs.c \ nir/nir_lower_clip.c \ |