<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Non-const initializers for matrix and vector constructors"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79373">bug 79373</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Non-const initializers for matrix and vector constructors"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79373#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Non-const initializers for matrix and vector constructors"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79373">bug 79373</a>
              from <span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span></b>
        <pre>author    Cody Northrop <<a href="mailto:cody@lunarg.com">cody@lunarg.com</a>>    2014-07-10 15:55:31 (GMT)
committer    Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>    2014-07-14 15:36:36
(GMT)
commit    0f679f0ab5afc8c1469453b922d37ae7216136a4 (patch) (side-by-side diff)

glsl: Fix aggregates with dynamic initializers.

Vectors are falling in to the ir_dereference_array() path. 
Without this change, the following glsl aborts the debug driver, or gets the
wrong answer in release: 
mat2x2 a = mat2( vec2( 1.0, vertex.x ), vec2( 0.0, 1.0 ) ); 
Also submitting piglit tests, will reference in bug.

v2: Rebase on Mesa master. 
v3: Remove unneeded check for arrays, which are covered by
process_array_constructor(), recommended by Timothy Arceri. 

Signed-off-by: Cody Northrop <<a href="mailto:cody@lunarg.com">cody@lunarg.com</a>>
Reviewed-by: Courtney Goeltzenleuchter <<a href="mailto:courtney@lunarg.com">courtney@lunarg.com</a>>
Reviewed-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>></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>