From 75292ae7e40c03775b1b7a76db55c8d8e1d11063 Mon Sep 17 00:00:00 2001 From: Aleksi Sapon Date: Thu, 25 Sep 2025 10:11:12 -0400 Subject: [PATCH] nir: Fix gnu-empty-initializer warning This also causes a build error on older MSVC. Fixes: 75381670 ("nir,rusticl: NIR_PASS/nir_pass! validation fixes and improvements") Reviewed-by: Alyssa Rosenzweig Part-of: --- src/compiler/nir/nir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 396bceb3061..b4f3e998d9a 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -4779,7 +4779,7 @@ nir_metadata_require_most(nir_shader *shader) static inline struct blob nir_validate_progress_setup(nir_shader *shader) { - return (struct blob){}; + return (struct blob){0}; } static inline void nir_validate_progress_finish(nir_shader *shader, struct blob *setup_blob, bool progress, const char *when)