From: Vinson Lee Date: Sun, 23 Oct 2022 19:28:44 +0000 (-0700) Subject: v3d: Fix initializer-overrides warning. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da1477a9343bb4aceee830d189ee6507a9056b1e;p=platform%2Fupstream%2Fmesa.git v3d: Fix initializer-overrides warning. ../src/gallium/drivers/v3d/v3d_screen.c:733:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] .lower_mul_high = true, ^~~~ /usr/lib/llvm-14/lib/clang/14.0.0/include/stdbool.h:16:14: note: expanded from macro 'true' ^ ../src/gallium/drivers/v3d/v3d_screen.c:726:27: note: previous initialization is here .lower_mul_high = true, ^~~~ /usr/lib/llvm-14/lib/clang/14.0.0/include/stdbool.h:16:14: note: expanded from macro 'true' ^ Fixes: 73e8fc3efbf ("broadcom/compiler: don't use imprecise_32bit_lowering for idiv lowering") Signed-off-by: Vinson Lee Reviewed-by: Eric Engestrom Part-of: --- diff --git a/src/gallium/drivers/v3d/v3d_screen.c b/src/gallium/drivers/v3d/v3d_screen.c index ff8834b..05f1620 100644 --- a/src/gallium/drivers/v3d/v3d_screen.c +++ b/src/gallium/drivers/v3d/v3d_screen.c @@ -730,7 +730,6 @@ static const nir_shader_compiler_options v3d_nir_options = { .lower_int64_options = nir_lower_imul_2x32_64, .has_fsub = true, .has_isub = true, - .lower_mul_high = true, .divergence_analysis_options = nir_divergence_multiple_workgroup_per_compute_subgroup, /* This will enable loop unrolling in the state tracker so we won't