<div dir="ltr"><div>Hi,</div>can someone please review or push this code?<div><br></div><div>Regards,</div><div>Sandra</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 20, 2017 at 12:14 PM, sandra koroniewska <span dir="ltr"><<a href="mailto:sandra.koroniewska@gmail.com" target="_blank">sandra.koroniewska@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, is this code alright now, and if so, can someone push it?<div>The purpose of these changes was to get rid of the compound literal which resulted in a crash caused by some Visual Studio optimalisations.</div><div><br></div><div>Regards,</div><div>Sandra</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 21, 2017 at 5:34 PM, sandra koroniewska <span dir="ltr"><<a href="mailto:sandra.koroniewska@gmail.com" target="_blank">sandra.koroniewska@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, thanks for your comment. I modified the code a little to get rid of the compound literal, but change as little as possible.<div><br></div><div>Regards,</div><div>Sandra</div></div><div class="m_4561949559582801870HOEnZb"><div class="m_4561949559582801870h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 21, 2017 at 5:32 PM, Sandra Koroniewska <span dir="ltr"><<a href="mailto:sandra.koroniewska@gmail.com" target="_blank">sandra.koroniewska@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>This fixes<br>
spec/khr_texture_compression_a<wbr>stc/khr_compressed_astc-array_<wbr>gl on<br>
Intel Windows driver.<br>
---<br>
</span> .../khr_compressed_astc-miptr<wbr>ee-array.c            | 27 ++++++++++++----------<br>
 1 file changed, 15 insertions(+), 12 deletions(-)<br>
<br>
diff --git a/tests/spec/khr_texture_compr<wbr>ession_astc/khr_compressed_ast<wbr>c-miptree-array.c b/tests/spec/khr_texture_compr<wbr>ession_astc/khr_compressed_ast<wbr>c-miptree-array.c<br>
index 0cc0ec819..111855137 100644<br>
--- a/tests/spec/khr_texture_compr<wbr>ession_astc/khr_compressed_ast<wbr>c-miptree-array.c<br>
+++ b/tests/spec/khr_texture_compr<wbr>ession_astc/khr_compressed_ast<wbr>c-miptree-array.c<br>
@@ -57,24 +57,27 @@ PIGLIT_GL_TEST_CONFIG_BEGIN<br>
<span>        config.window_width = 2 * level0_width;<br>
        config.window_height = level0_height + (level0_height >> 1);<br>
        config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;<br>
-       static bool is_odd[2] = {true, false};<br>
</span>+       static bool is_odd[2] = { true, false };<br>
<span><br>
-       config.subtests = (struct piglit_subtest[]) {<br>
</span>+       struct piglit_subtest subtests[] =<br>
+       {<br>
<span>                {<br>
-                       "5x5 Block Dim",<br>
-                       "odd",<br>
-                       test_miptrees,<br>
-                       &is_odd[0]<br>
</span>+                       .name = "5x5 Block Dim",<br>
+                       .option = "odd",<br>
+                       .subtest_func = test_miptrees,<br>
+                       .data = &is_odd[0]<br>
                },<br>
+<br>
<span>                {<br>
-                       "12x12 Block Dim",<br>
-                       "even",<br>
-                       test_miptrees,<br>
-                       &is_odd[1]<br>
-               },<br>
-               {NULL},<br>
</span>+                       .name = "12x12 Block Dim",<br>
+                       .option = "even",<br>
+                       .subtest_func = test_miptrees,<br>
+                       .data = &is_odd[1]<br>
+               }<br>
        };<br>
<br>
+       config.subtests = subtests;<br>
+<br>
 PIGLIT_GL_TEST_CONFIG_END<br>
<br>
 /**<br>
<span class="m_4561949559582801870m_-3790148759081902502HOEnZb"><font color="#888888">--<br>
2.11.0.windows.1<br>
<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>