pan/bi: Remove duplicate NIR compiler options
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 21 Jul 2021 19:14:17 +0000 (15:14 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 22 Jul 2021 17:55:49 +0000 (17:55 +0000)
Fixes the warning caught by clang (why did gcc miss this one?)

../src/panfrost/bifrost/bifrost_compile.h:81:45: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
        .lower_bitfield_extract_to_shifts = true,

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12003>

src/panfrost/bifrost/bifrost_compile.h

index c4d4860..45bfd52 100644 (file)
@@ -78,7 +78,6 @@ static const nir_shader_compiler_options bifrost_nir_options = {
         .lower_mul_high = true,
         .lower_uadd_carry = true,
 
-        .lower_bitfield_extract_to_shifts = true,
         .has_fsub = true,
         .has_isub = true,
         .vectorize_io = true,