[Mesa-dev] [PATCH 02/59] vc4: lower lrp when operating with double operands
Samuel Iglesias Gonsálvez
siglesias at igalia.com
Fri Apr 29 11:28:59 UTC 2016
Lower lrp when operating with double operands because float version of
lrp is also lowered.
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
CC: Eric Anholt <eric at anholt.net>
---
src/gallium/drivers/vc4/vc4_program.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c
index b1c8b00..80ed5ca 100644
--- a/src/gallium/drivers/vc4/vc4_program.c
+++ b/src/gallium/drivers/vc4/vc4_program.c
@@ -1771,6 +1771,7 @@ static const nir_shader_compiler_options nir_options = {
.lower_extract_word = true,
.lower_ffma = true,
.lower_flrp32 = true,
+ .lower_flrp64 = true,
.lower_fpow = true,
.lower_fsat = true,
.lower_fsqrt = true,
--
2.5.0
More information about the mesa-dev
mailing list