mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 07:10:09 +01:00
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:
parent
5120a91c82
commit
75292ae7e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue