lp: fix gnu-empty-initializer warning

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34655>
(cherry picked from commit 501ed5be497f74e436f1ab89b47d07aeab814582)
This commit is contained in:
Aleksi Sapon
2025-04-22 12:00:22 -04:00
committed by Eric Engestrom
parent cdafaef206
commit 8125b0def2
2 changed files with 2 additions and 2 deletions

View File

@@ -3194,7 +3194,7 @@
"description": "lp: fix gnu-empty-initializer warning",
"nominated": false,
"nomination_type": 0,
"resolution": 4,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View File

@@ -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 */