Mesa (main): pan/bi: Remove duplicate NIR compiler options

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jul 22 18:17:45 UTC 2021


Module: Mesa
Branch: main
Commit: 7346ab85b18e7c3bbb46c27f0041d3d4e558e4e0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7346ab85b18e7c3bbb46c27f0041d3d4e558e4e0

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Wed Jul 21 15:14:17 2021 -0400

pan/bi: Remove duplicate NIR compiler options

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 at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12003>

---

 src/panfrost/bifrost/bifrost_compile.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/panfrost/bifrost/bifrost_compile.h b/src/panfrost/bifrost/bifrost_compile.h
index c4d4860e6d6..45bfd522131 100644
--- a/src/panfrost/bifrost/bifrost_compile.h
+++ b/src/panfrost/bifrost/bifrost_compile.h
@@ -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,



More information about the mesa-commit mailing list