[Mesa-dev] [PATCH 6/6] panfrost/midgard: Enable lower_find_lsb

Alyssa Rosenzweig alyssa at rosenzweig.io
Fri Apr 5 05:56:27 UTC 2019


This is exactly what the blob does.

Signed-off-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
---
 src/gallium/drivers/panfrost/midgard/midgard_compile.h | 1 +
 1 file changed, 1 insertion(+)

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,
-- 
2.20.1



More information about the mesa-dev mailing list