summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/vc4
diff options
context:
space:
mode:
authorTimothy Arceri <tarceri@itsqueeze.com>2018-02-27 19:19:21 +1100
committerTimothy Arceri <tarceri@itsqueeze.com>2018-02-28 09:23:49 +1100
commita050ea60eef9c457a3d5185aa551631df0c35bec (patch)
treed9be44885ef144928971cb52e7643d5987777e62 /src/gallium/drivers/vc4
parent08fa84bb9adf81aa13422501fef8f077b51ef682 (diff)
nir: add lower_ldexp to nir compiler options
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r--src/gallium/drivers/vc4/vc4_program.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c
index 706982c4a1c..be80a851d2a 100644
--- a/src/gallium/drivers/vc4/vc4_program.c
+++ b/src/gallium/drivers/vc4/vc4_program.c
@@ -2188,6 +2188,7 @@ static const nir_shader_compiler_options nir_options = {
.lower_fpow = true,
.lower_fsat = true,
.lower_fsqrt = true,
+ .lower_ldexp = true,
.lower_negate = true,
.native_integers = true,
.max_unroll_iterations = 32,