aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard_compile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/midgard/midgard_compile.h')
-rw-r--r--src/panfrost/midgard/midgard_compile.h1
1 files changed, 1 insertions, 0 deletions
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
};