mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 01:10:16 +01:00
nir: add initializer data to fix MSVC compile error
CC: Jason Ekstrand <jason@jlekstrand.net>
Fixes: 82799a5d1b8 ("nir: Add a small pass to rematerialize derefs
per-block")
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
This commit is contained in:
parent
976046a8d8
commit
0c82e3603e
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue