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:

committed by
Eric Engestrom

parent
cdafaef206
commit
8125b0def2
@@ -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
|
||||
|
@@ -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 */
|
||||
|
Reference in New Issue
Block a user