<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_arrays_of_arrays_compiler_initializer* fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80210">80210</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>[i965]Piglit spec_ARB_arrays_of_arrays_compiler_initializer* 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:  Ironlake
Libdrm:       
(master)libdrm-2.4.54-9-g8fc62ca8ac010659023bb63c4759eb683de4f9af
Mesa:        (master)88b887faa9209a58d29c819e01f9ad37ebc99a36
Xserver:   
(master)xorg-server-1.15.99.902-121-g2f5cf9ff9a0f713b7e038636484c77f113a5f10a
Xf86_video_intel:(master)2.99.912-77-gd49f53cc00258e3b1e1a898c02e219b336716002
Libva:        (master)ce3315accf067115fbe22a13bf8689bab01da778
Libva_intel_driver:(master)745340dd013399f64507de73401ab3adb712dad5
Kernel:    (drm-intel-nightly)fff6c5111af7356d3815521f597959554e7bc1cc

Bug detailed description:
-----------------------------
New cases spec_ARB_arrays_of_arrays_compiler_initializer* fail on Mesa master
branch, they skip on 10.2 branch.
spec_ARB_arrays_of_arrays_compiler_initializer-array-array-var.vert
spec_ARB_arrays_of_arrays_compiler_initializer-array-array-var2.vert
spec_ARB_arrays_of_arrays_compiler_initializer-array-var-array.vert
spec_ARB_arrays_of_arrays_compiler_initializer-array-var-array2.vert
spec_ARB_arrays_of_arrays_compiler_initializer-dec-list-type-array-array-var1-var2.vert
spec_ARB_arrays_of_arrays_compiler_initializer-dec-list-type-array-var1-array-var2-array.vert
spec_ARB_arrays_of_arrays_compiler_initializer-dec-list-type-var1-array-array-var2-array-array.vert
spec_ARB_arrays_of_arrays_compiler_initializer-struct-field-array-array-var.vert
spec_ARB_arrays_of_arrays_compiler_initializer-struct-field-array-var-array.vert
spec_ARB_arrays_of_arrays_compiler_initializer-struct-field-array-var-array2.vert
spec_ARB_arrays_of_arrays_compiler_initializer-struct-field-dec-list-array-array-var1-var2.vert
spec_ARB_arrays_of_arrays_compiler_initializer-struct-field-dec-list-array-var1-array-var2.vert
spec_ARB_arrays_of_arrays_compiler_initializer-struct-field-dec-list-array-var1-var2-array.vert
spec_ARB_arrays_of_arrays_compiler_initializer-struct-field-var-array-array.vert
spec_ARB_arrays_of_arrays_compiler_initializer-three-dimensions.vert
spec_ARB_arrays_of_arrays_compiler_initializer-three-dimensions2.vert
spec_ARB_arrays_of_arrays_compiler_initializer-var-array-array.vert
spec_ARB_arrays_of_arrays_compiler_initializer-var-array-array2.vert

run bin/glslparsertest
tests/spec/arb_arrays_of_arrays/compiler/initializer-array-array-var.vert pass
1.20 GL_ARB_shading_language_420pack
output:
Failed to compile vertex shader
/GFX/Test/Piglit/piglit/tests/spec/arb_arrays_of_arrays/compiler/initializer-array-array-var.vert:
0:9(12): warning: extension `GL_ARB_arrays_of_arrays' unsupported in vertex
shader
0:14(7): error: GL_ARB_arrays_of_arrays required for defining arrays of arrays

Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 1.20
 * require_extensions: GL_ARB_arrays_of_arrays
 * require_extensions: GL_ARB_shading_language_420pack
 * [end config]
 */
#version 120
#extension GL_ARB_arrays_of_arrays: enable
#extension GL_ARB_shading_language_420pack: enable

void main()
{
  vec4[3][2] a = {vec4[2](vec4(0.0), vec4(1.0)),
                  vec4[2](vec4(0.0), vec4(1.0)),
                  vec4[2](vec4(0.0), vec4(1.0)) };

  gl_Position = a[2][1];
}

PIGLIT: {'result': 'fail' }

Reproduce steps:
----------------------------
1. xinit
2. bin/glslparsertest
tests/spec/arb_arrays_of_arrays/compiler/initializer-array-array-var.vert pass
1.20 GL_ARB_shading_language_420pack</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>