From: Boris Brezillon Date: Fri, 31 Jan 2020 08:25:07 +0000 (+0100) Subject: pan/midgard: Lower bitfield extract to shifts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef89a52fe58e85402d7652d863da1cc90b378772;p=mesa.git pan/midgard: Lower bitfield extract to shifts Let's lower bitfield extract to shifts until we figure out if it can be natively supported. Signed-off-by: Boris Brezillon Reviewed-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/midgard/midgard_compile.h b/src/panfrost/midgard/midgard_compile.h index 51d1c3fe1c3..91086f1a0ef 100644 --- a/src/panfrost/midgard/midgard_compile.h +++ b/src/panfrost/midgard/midgard_compile.h @@ -148,6 +148,7 @@ static const nir_shader_compiler_options midgard_nir_options = { .lower_doubles_options = nir_lower_dmod, + .lower_bitfield_extract_to_shifts = true, .vectorize_io = true, .use_interpolated_input_intrinsics = true };