<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mattst88@gmail.com" title="Matt Turner <mattst88@gmail.com>"> <span class="fn">Matt Turner</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [glsl] C-style const arrays trigger assertion in GLSL 4.30"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96320">bug 96320</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;">CC</td>
           <td>
                
           </td>
           <td>idr@freedesktop.org
           </td>
         </tr>

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

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [glsl] C-style const arrays trigger assertion in GLSL 4.30"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96320#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [glsl] C-style const arrays trigger assertion in GLSL 4.30"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96320">bug 96320</a>
              from <span class="vcard"><a class="email" href="mailto:mattst88@gmail.com" title="Matt Turner <mattst88@gmail.com>"> <span class="fn">Matt Turner</span></a>
</span></b>
        <pre>Interesting. Thanks for the heads up.

Looks like the difference in behavior between 4.20 and 4.30 is due to commit
92635a84a.

Ian, it looks like adding 'const' to a declaration and initializer like

<span class="quote">>     float[] EXAMPLE1 = {1.0, 2.0, 3.0};</span >

under #version 430 is enough to trigger the problem.

It seems strange to consider "1.0, 2.0, 3.0" to be a constant expression in the
same vein as the example with "float a[2,3]".

So I think we're doing something wrong and returning false is papering over the
problem.

I don't think comma separated lists of an aggregate initializer are intended
treated as constant expressions.

I'm going to reopen for now.</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>