Mesa (master): panfrost/midgard: Enable lower_find_lsb

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Apr 7 16:04:42 UTC 2019


Module: Mesa
Branch: master
Commit: b19d1a1e639cb7cce2eb4d0856317512aca6e01b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b19d1a1e639cb7cce2eb4d0856317512aca6e01b

Author: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Date:   Fri Apr  5 05:45:01 2019 +0000

panfrost/midgard: Enable lower_find_lsb

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,




More information about the mesa-commit mailing list