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 <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37569>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user