Lower lrp when operating with double operands because float version of
lrp is also lowered.

Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
CC: Eric Anholt <[email protected]>
---
 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

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to