summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/compiler/nir/nir_deref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_deref.c b/src/compiler/nir/nir_deref.c
index 1a3bf4ad206..4a87ee84d8a 100644
--- a/src/compiler/nir/nir_deref.c
+++ b/src/compiler/nir/nir_deref.c
@@ -481,7 +481,7 @@ rematerialize_deref_src(nir_src *src, void *_state)
bool
nir_rematerialize_derefs_in_use_blocks_impl(nir_function_impl *impl)
{
- struct rematerialize_deref_state state = { };
+ struct rematerialize_deref_state state = { 0 };
nir_builder_init(&state.builder, impl);
nir_foreach_block(block, impl) {