<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [g965] [bisected] regression: piglit.spec.arb_pixel_buffer_object.texsubimage array pbo"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89459#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [g965] [bisected] regression: piglit.spec.arb_pixel_buffer_object.texsubimage array pbo"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89459">bug 89459</a>
              from <span class="vcard"><a class="email" href="mailto:neil@linux.intel.com" title="Neil Roberts <neil@linux.intel.com>"> <span class="fn">Neil Roberts</span></a>
</span></b>
        <pre>This is the assert:

texsubimage:
../../../../../../src/mesa/drivers/dri/i965/brw_wm_surface_state.c:691:
brw_update_renderbuffer_surface: Assertion `brw->has_surface_tile_offset ||
(tile_x == 0 && tile_y == 0)' failed.

Without that patch the texsubimage test doesn't use the PBO path because it
uses GL_UNPACK_IMAGE_HEIGHT. However I think you can make it hit that assert
without using the image height property so the patch doesn't cause the
regression but makes the test case detect the existing bug.

I can't find any 965 hardware but I can replicate it with a GM45 device if I
force Mesa to set brw->has_surface_tile_offset to false. It looks like the
problem is that the array slices aren't aligned to a tile and it needs to use a
tile offset but it can't. The fbo-array test fails in a similar way. In that
case maybe it's just a hardware limitation that 965 can't really render to
array slices other than 0. We should probably have a way to mark the
framebuffer as incomplete in that case.</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>