From 501ed5be497f74e436f1ab89b47d07aeab814582 Mon Sep 17 00:00:00 2001 From: Aleksi Sapon Date: Tue, 22 Apr 2025 12:00:22 -0400 Subject: [PATCH] lp: fix gnu-empty-initializer warning Part-of: --- src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c index f23c89fe21e..a0de8f5d21f 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c @@ -3556,7 +3556,7 @@ lp_build_sample_soa_code(struct gallivm_state *gallivm, } else { LLVMValueRef lod_fpart = NULL, lod_positive = NULL; LLVMValueRef ilevel0 = NULL, ilevel1 = NULL, lod = NULL; - struct lp_aniso_values aniso_values = {}; + struct lp_aniso_values aniso_values = {0}; bool use_aos = util_format_fits_8unorm(bld.format_desc) && op_is_tex && /* not sure this is strictly needed or simply impossible */