<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Reviewed-by: Samuel Iglesias Gonsálvez <a
class="gmail-m_8921927488160221503moz-txt-link-rfc2396E"
href="mailto:siglesias@igalia.com" target="_blank"><siglesias@igalia.com></a></p>
<br>
<div class="moz-cite-prefix">On 19/09/18 11:40, Juan A. Suarez
Romero wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20180919094007.3338-1-jasuarez@igalia.com">
<pre wrap="">CC: Jason Ekstrand <a class="moz-txt-link-rfc2396E" href="mailto:jason@jlekstrand.net"><jason@jlekstrand.net></a>
Fixes: 82799a5d1b8 ("nir: Add a small pass to rematerialize derefs
per-block")
---
src/compiler/nir/nir_deref.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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) {
</pre>
</blockquote>
<br>
</body>
</html>