From b19d1a1e639cb7cce2eb4d0856317512aca6e01b Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 5 Apr 2019 05:45:01 +0000 Subject: panfrost/midgard: Enable lower_find_lsb This is exactly what the blob does. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/midgard/midgard_compile.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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, -- cgit v1.2.3