<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 - GL45-CTS.vertex_attrib_binding.basic-inputL-case1 fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97287">97287</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>GL45-CTS.vertex_attrib_binding.basic-inputL-case1 fails
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This test configures 4 double-precision vertex arrays as inputs and uses a
trivial shader with transform feedback to write the data out.  XFB output 6
(which comes from an immediate-mode value) and output 7 (which comes from the
last vertex array) have incorrect values.

I investigated this a bit:

 * I modified the shader to use immediate values to set the outputs.  This
produced the correct results, so I believe that XFB of doubles works correctly.

 * I thought some of the offsets or strides (vertex array 7 uses a zero stride
to get the same value for both vertices) could cause problems.  Modifying those
values did not help.

 * Disabling one of the earlier vertex arrays (I commented out the
"glEnableVertexAttribArray(5);" line and the lines that set expected_data[5]
and [5+8]) causes outputs 6 and 7 to get the expected values.

GL45-CTS.vertex_attrib_binding.basic-inputL-case2 is very similar.  However, it
only uses 3 inputs, and it passes.

My current theory is that having 4+ 64-bit inputs causes problems.  I don't
know that code very well, so I'm not sure where to start looking.  I'll come
back to this problem later, but if someone more familiar with that code has any
bright ideas, feel free to take the bug.</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>