summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-04-05 05:45:01 +0000
committerAlyssa Rosenzweig <[email protected]>2019-04-07 16:01:49 +0000
commitb19d1a1e639cb7cce2eb4d0856317512aca6e01b (patch)
treea1a88ab2e9e2bccb4ab7c08a97369a0a61a34a36
parent65816ad6e8df9663401ec8f0454228de8e2074e2 (diff)
panfrost/midgard: Enable lower_find_lsb
This is exactly what the blob does. Signed-off-by: Alyssa Rosenzweig <[email protected]>
-rw-r--r--src/gallium/drivers/panfrost/midgard/midgard_compile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/midgard/midgard_compile.h b/src/gallium/drivers/panfrost/midgard/midgard_compile.h
index ffc1b1f70e6..4bc5d475b5a 100644
--- a/src/gallium/drivers/panfrost/midgard/midgard_compile.h
+++ b/src/gallium/drivers/panfrost/midgard/midgard_compile.h
@@ -97,6 +97,7 @@ static const nir_shader_compiler_options midgard_nir_options = {
.lower_idiv = true,
.lower_isign = true,
.lower_fpow = true,
+ .lower_find_lsb = true,
.vertex_id_zero_based = true,
.lower_extract_byte = true,