<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - valgrind errors in glsl-fs-uniform-array-loop-unroll.shader_test; random code generation"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79202#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - valgrind errors in glsl-fs-uniform-array-loop-unroll.shader_test; random code generation"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79202">bug 79202</a>
              from <span class="vcard"><a class="email" href="mailto:itoral@igalia.com" title="Iago Toral <itoral@igalia.com>"> <span class="fn">Iago Toral</span></a>
</span></b>
        <pre>BTW, this is the error that gets fixed, as reported by Valgrind:

==18969== Invalid read of size 4
==18969==    at 0xA8FA80D: fs_visitor::demote_pull_constants()
(brw_fs.cpp:1966)
==18969==    by 0xA8FDEAB: fs_visitor::run() (brw_fs.cpp:3044)
==18969==    by 0xA8FE3BB: brw_wm_fs_emit (brw_fs.cpp:3169)
==18969==    by 0xA97E219: do_wm_prog (brw_wm.c:183)
==18969==    by 0xA8FEC88: brw_fs_precompile(gl_context*, gl_shader_program*)
(brw_fs.cpp:3294)
==18969==    by 0xA93F2BA: brw_shader_precompile(gl_context*,
gl_shader_program*) (brw_shader.cpp:72)
==18969==    by 0xA93FB51: brw_link_shader (brw_shader.cpp:274)
==18969==    by 0xA7B03C7: _mesa_glsl_link_shader (ir_to_mesa.cpp:3092)
==18969==    by 0xA64AC43: link_program (shaderapi.c:915)
==18969==    by 0xA64BDC4: _mesa_LinkProgram (shaderapi.c:1383)
==18969==    by 0x81DA11E: shared_dispatch_stub_509 (glapi_mapi_tmp.h:17831)
==18969==    by 0x4EDE27D: stub_glLinkProgram (piglit-dispatch-gen.c:31514)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>