<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [SKL] [Regression] webgl conformance/glsl/bugs/sampler-array-using-loop-index fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92500">bug 92500</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>kondapallykalyancontribute@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [SKL] [Regression] webgl conformance/glsl/bugs/sampler-array-using-loop-index fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92500#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [SKL] [Regression] webgl conformance/glsl/bugs/sampler-array-using-loop-index fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92500">bug 92500</a>
              from <span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span></b>
        <pre>I've upgraded Chrome to Chrome/46.0.2490.71 and now test fails. It uses
following shader:

---8< ---
#version 130
out vec4 webgl_FragColor;
uniform sampler2D webgl_b10f4de6e0297af8[2];
float webgl_dc8ac432e5f2d0a5(in int webgl_4fc82888d13de398){
return (float(webgl_4fc82888d13de398) - float(webgl_4fc82888d13de398));
}
void main(){
vec4 webgl_95a61de88fbe7420 = vec4(0.0, 0.0, 0.0, 0.0);
for (int webgl_e8ffc6842a7e307d = 1; (webgl_e8ffc6842a7e307d < 3);
(++webgl_e8ffc6842a7e307d))
{
if ((webgl_95a61de88fbe7420.x > 255.0))
{
(webgl_95a61de88fbe7420.x = (255.0 +
webgl_dc8ac432e5f2d0a5(webgl_e8ffc6842a7e307d)));
break;
}
(webgl_95a61de88fbe7420 +=
texture(webgl_b10f4de6e0297af8[int(clamp(float((webgl_e8ffc6842a7e307d - 1)),
0.0, float(1)))], vec2(0.5, 0.5)));
}
(webgl_FragColor = webgl_95a61de88fbe7420);
}
--- 8< ---

Mesa correctly errors out with following error:

--- 8< ---
0:16(36): error: sampler arrays indexed with non-constant expressions are 
forbidden in GLSL 1.30 and later
--- 8< ---

This looks like a bug in Chrome, maybe the glsl translation/validation layer.</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>