<div dir="ltr"><div><div><div>Hello,<br><br></div>unluckily this didn't fix the warning...<br></div>I've done some more compile testing and found this solution:<br><br>
- static struct ir3_shader_key key = {{0}};<br>+static struct ir3_shader_key key = {{{0, 0, 0, 0, 0, 0, 0, 0}}, 0, 0, 0, 0, 0, 0, 0, 0};<br><br></div><div>is this correct? Should I send a new patch?<br></div><div><div class="gmail_extra"><br></div><div class="gmail_extra">Cheers,<br></div><div class="gmail_extra">Francesco<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-20 9:49 GMT+02:00 Francesco Ansanelli <span dir="ltr"><<a target="_blank" href="mailto:francians@gmail.com">francians@gmail.com</a>></span>:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">---<br>
src/gallium/drivers/freedreno/ir3/ir3_shader.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_shader.c b/src/gallium/drivers/freedreno/ir3/ir3_shader.c<br>
index 9f39f9f..5d57c0b 100644<br>
--- a/src/gallium/drivers/freedreno/ir3/ir3_shader.c<br>
+++ b/src/gallium/drivers/freedreno/ir3/ir3_shader.c<br>
@@ -309,7 +309,7 @@ ir3_shader_create(struct ir3_compiler *compiler,<br>
* (as otherwise nothing will trigger the shader to be<br>
* actually compiled)<br>
*/<br>
- static struct ir3_shader_key key = {0};<br>
+ static struct ir3_shader_key key = {{0}};<br>
ir3_shader_variant(shader, key, debug);<br>
}<br>
return shader;<br>
<span class="gmail-HOEnZb"><font color="#888888">--<br>
1.7.9.5<br>
<br>
</font></span></blockquote></div><br></div></div></div>