panfrost/midgard: Enable lower_find_lsb
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 5 Apr 2019 05:45:01 +0000 (05:45 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 7 Apr 2019 16:01:49 +0000 (16:01 +0000)
This is exactly what the blob does.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/midgard/midgard_compile.h

index ffc1b1f70e631569c3ce5c5797a4b3dbc8a071a5..4bc5d475b5a635f7fb90a2ad508410a2b3b7d571 100644 (file)
@@ -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,