<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Regression: New WebGL conformance test failuers (GLSL Functions) with latest Mesa master"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=88115">88115</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Regression: New WebGL conformance test failuers (GLSL Functions) with latest Mesa master
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kondapallykalyancontribute@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I was checking WebGL conformance test results with latest Mesa master and
Chromium (using GLES backend). I see that the following tests fail now:

<a href="https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-ceil.html">https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-ceil.html</a>
<a href="https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-clamp-float.html">https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-clamp-float.html</a>
<a href="https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-clamp-gentype.html">https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-clamp-gentype.html</a>
<a href="https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-cos.html">https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-cos.html</a>
<a href="https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-floor.html">https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-floor.html</a>
<a href="https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-normalize.html">https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-normalize.html</a>
<a href="https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-sign.html">https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-sign.html</a>
<a href="https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-sin.html">https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-sin.html</a>
<a href="https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-step-float.html">https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-step-float.html</a>
<a href="https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-step-gentype.html">https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/functions/glsl-function-step-gentype.html</a>

I could track down the regression to this commit:

commit 44573458bdc52acc304fb75d6df502312b8e149c
Author: Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>>
Date:   Sat Dec 20 11:50:31 2014 -0800

    i965/vec4: Add pass to gather constants into a vector-float MOV.

    Currently only handles consecutive instructions with the same
    destination that collectively write all channels.

    total instructions in shared programs: 5879798 -> 5869011 (-0.18%)
    instructions in affected programs:     465236 -> 454449 (-2.32%)

    Reviewed-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>

Steps to reproduce the issue:
1) Launch Chrome and force it to use GLES backend(i.e. One can force Chrome to
use GLES backend as following: chrome --use-gl=egl).  I am not sure if its
necessary to use GLES backend to replicate the above mentioned issues but I
haven't tested them with GL backend.
2)Open any of the above mentioned URLS in the browser.</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>