[Mesa-dev] [PATCH 08/12] nir/alu_to_scalar: Propagate the "exact" bit

Francisco Jerez currojerez at riseup.net
Fri Mar 18 21:45:20 UTC 2016


Jason Ekstrand <jason at jlekstrand.net> writes:

> ---
>  src/compiler/nir/nir_lower_alu_to_scalar.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/compiler/nir/nir_lower_alu_to_scalar.c b/src/compiler/nir/nir_lower_alu_to_scalar.c
> index 312d2f9..082242e 100644
> --- a/src/compiler/nir/nir_lower_alu_to_scalar.c
> +++ b/src/compiler/nir/nir_lower_alu_to_scalar.c
> @@ -80,6 +80,7 @@ lower_alu_instr_scalar(nir_alu_instr *instr, nir_builder *b)
>     assert(instr->dest.write_mask != 0);
>  
>     b->cursor = nir_before_instr(&instr->instr);
> +   b->exact = instr->exact;
>  

Reviewed-by: Francisco Jerez <currojerez at riseup.net>

>  #define LOWER_REDUCTION(name, chan, merge) \
>     case name##2: \
> -- 
> 2.5.0.400.gff86faf
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160318/cbcc2ccc/attachment-0001.sig>


More information about the mesa-dev mailing list