<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [i965]Piglit spec_ARB_explicit_uniform_location_compiler_layout-01.frag fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80118">80118</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>[i965]Piglit spec_ARB_explicit_uniform_location_compiler_layout-01.frag fails
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>System Environment:
--------------------------
Platform: Haswell
Libdrm:       
(master)libdrm-2.4.54-9-g8fc62ca8ac010659023bb63c4759eb683de4f9af
Mesa:        (master)d6fd8a97711eb065603a8d667ff5dbe68a246439
Xserver:   
(master)xorg-server-1.15.99.902-121-g2f5cf9ff9a0f713b7e038636484c77f113a5f10a
Xf86_video_intel:(master)2.99.912-59-g38434b29f4a7b324704bbb1e772371be3c0e397b
Libva:        (staging)35e70cb9b9c77dfb99fb370e319ed501f0c31b17
Libva_intel_driver:(staging)9d49a6d693aa6c862467a4a879bc86d9cb98dbe5
Kernel:    (drm-intel-nightly)b438e8793c6d18b0998d75cdf8115a5898ed21d1

Bug detailed description:
-----------------------------
GL_ARB_explicit_uniform_location is enable on master branch,
spec_ARB_explicit_uniform_location_compiler_layout-01.frag and
spec_ARB_explicit_uniform_location_compiler_layout-01.vert fail on i965
platforms. they still skip on 10.2 branch

run bin/glslparsertest
tests/spec/arb_explicit_uniform_location/compiler/layout-01.frag pass 1.10
GL_ARB_explicit_uniform_location
output:
Failed to compile fragment shader
/GFX/Test/Piglit/piglit/tests/spec/arb_explicit_uniform_location/compiler/layout-01.frag:
0:8(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20,
1.30, 1.00 ES, and 3.00 ES

Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.10
// require_extensions: GL_ARB_explicit_uniform_location
// [end config]
//

#version 330
#extension GL_ARB_explicit_uniform_location: require
vec4 color;
layout(location = 42) uniform float test1;
uniform float test2;
uniform float test3;

void main()
{
        color = vec4(1.0);
}

PIGLIT: {'result': 'fail' }

commit f3750a2c8667961c0595f5813b15be1476d13079
Author:     Tapani Pälli <<a href="mailto:tapani.palli@intel.com">tapani.palli@intel.com</a>>
AuthorDate: Wed Mar 5 09:39:10 2014 +0200
Commit:     Tapani Pälli <<a href="mailto:tapani.palli@intel.com">tapani.palli@intel.com</a>>
CommitDate: Mon Jun 16 06:49:59 2014 +0300

    Enable GL_ARB_explicit_uniform_location in the drivers.

    v2: enable also for i915 (Ian)

    Signed-off-by: Tapani Pälli <<a href="mailto:tapani.palli@intel.com">tapani.palli@intel.com</a>>
    Reviewed-by: Petri Latvala <<a href="mailto:petri.latvala@intel.com">petri.latvala@intel.com</a>>

Reproduce steps:
----------------------------
1. xinit
2. bin/glslparsertest
tests/spec/arb_explicit_uniform_location/compiler/layout-01.frag pass 1.10
GL_ARB_explicit_uniform_location</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>