projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
976046a
)
nir: add initializer data to fix MSVC compile error
author
Juan A. Suarez Romero
<jasuarez@igalia.com>
Wed, 19 Sep 2018 09:27:49 +0000
(11:27 +0200)
committer
Juan A. Suarez Romero
<jasuarez@igalia.com>
Wed, 19 Sep 2018 09:46:44 +0000
(11:46 +0200)
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>
src/compiler/nir/nir_deref.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_deref.c
b/src/compiler/nir/nir_deref.c
index
1a3bf4a
..
4a87ee8
100644
(file)
--- 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) {