i965: enable lrp lowering for doubles
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 19 Jan 2016 07:19:20 +0000 (08:19 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 10 May 2016 09:25:01 +0000 (11:25 +0200)
Broadwell and previous generations does not support lrp instruction
operating with doubles.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_compiler.c

index 0ea5e8bba408006dc7ea554f2d35b31db14d99d6..6141b0d58c3ba77257f9136c4cf7a7b1f876cd6c 100644 (file)
@@ -82,6 +82,7 @@ shader_perf_log_mesa(void *data, const char *fmt, ...)
    .lower_uadd_carry = true,                                                  \
    .lower_usub_borrow = true,                                                 \
    .lower_fdiv = true,                                                        \
+   .lower_flrp64 = true,                                                      \
    .native_integers = true,                                                   \
    .vertex_id_zero_based = true