<div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote">On Wed, Aug 10, 2016 at 7:34 PM, Timothy Arceri <span dir="ltr"><<a href="mailto:timothy.arceri@collabora.com" target="_blank">timothy.arceri@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Cause by 549222f5<br></blockquote><div><br></div><div>s/Cause/Caused/ ?<br><br></div><div>Fixes the make check failure for me (haven't done a full piglit run, just build/check/install test). Thanks for the quick turnaround.<br><br></div><div>--Aaron<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cc: Aaron Watry <<a href="mailto:awatry@gmail.com">awatry@gmail.com</a>><br>
---<br>
 src/compiler/glsl/tests/set_<wbr>uniform_initializer_tests.cpp | 5 +++++<br>
 1 file changed, 5 insertions(+)<br>
<br>
diff --git a/src/compiler/glsl/tests/set_<wbr>uniform_initializer_tests.cpp b/src/compiler/glsl/tests/set_<wbr>uniform_initializer_tests.cpp<br>
index a36ffdc..9d41017 100644<br>
--- a/src/compiler/glsl/tests/set_<wbr>uniform_initializer_tests.cpp<br>
+++ b/src/compiler/glsl/tests/set_<wbr>uniform_initializer_tests.cpp<br>
@@ -24,6 +24,7 @@<br>
 #include "main/compiler.h"<br>
 #include "main/mtypes.h"<br>
 #include "main/macros.h"<br>
+#include "program/hash_table.h"<br>
 #include "util/ralloc.h"<br>
 #include "uniform_initializer_utils.h"<br>
<br>
@@ -108,6 +109,7 @@ establish_uniform_storage(<wbr>struct gl_shader_program *prog, unsigned num_storage,<br>
                                               + type->components()));<br>
    const unsigned red_zone_components = total_components - data_components;<br>
<br>
+   prog->UniformHash = new string_to_uint_map;<br>
    prog->UniformStorage = rzalloc_array(prog, struct gl_uniform_storage,<br>
                                        num_storage);<br>
    prog->NumUniformStorage = num_storage;<br>
@@ -128,6 +130,9 @@ establish_uniform_storage(<wbr>struct gl_shader_program *prog, unsigned num_storage,<br>
                                     data_components,<br>
                                     red_zone_components);<br>
<br>
+   prog->UniformHash->put(index_<wbr>to_set,<br>
+                          prog->UniformStorage[index_to_<wbr>set].name);<br>
+<br>
    for (unsigned i = 0; i < num_storage; i++) {<br>
       if (i == index_to_set)<br>
         continue;<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.7.4<br>
<br>
</font></span></blockquote></div><br></div></div></div>