Bug 100582 - [GEN8+] piglit.spec.arb_stencil_texturing.glblitframebuffer corrupts state.gl_texture* assertions
Summary: [GEN8+] piglit.spec.arb_stencil_texturing.glblitframebuffer corrupts state.gl...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Jason Ekstrand
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-05 15:03 UTC by Mark Janes
Modified: 2017-04-06 20:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Mark Janes 2017-04-05 15:03:58 UTC
several piglit tests assert following mesa f938354362655a378d474c5f79c52cea9852ab91:
Author:     Jason Ekstrand <jason@jlekstrand.net>
i965/blorp: Align vertex buffers to 64B

genX_blorp_exec.c:237: gen8_blorp_exec: Assertion `(USED_BATCH(brw->batch) - saved_used) * 4 + (saved_state_batch_offset - brw->batch.state_batch_offset) < estimated_max_batch_usage' failed.

piglit.spec.arb_framebuffer_object.framebuffer-blit-levels draw stencil
piglit.spec.arb_framebuffer_object.framebuffer-blit-levels read stencil
piglit.spec.arb_stencil_texturing.glblitframebuffer corrupts state.gl_texture_1d
piglit.spec.arb_stencil_texturing.glblitframebuffer corrupts state.gl_texture_1d_array
piglit.spec.arb_stencil_texturing.glblitframebuffer corrupts state.gl_texture_2d
piglit.spec.arb_stencil_texturing.glblitframebuffer corrupts state.gl_texture_2d_array
piglit.spec.arb_stencil_texturing.glblitframebuffer corrupts state.gl_texture_2d_multisample
piglit.spec.arb_stencil_texturing.glblitframebuffer corrupts state.gl_texture_2d_multisample_array
piglit.spec.arb_stencil_texturing.glblitframebuffer corrupts state.gl_texture_cube_map_array
piglit.spec.arb_stencil_texturing.glblitframebuffer corrupts state.gl_texture_rectangle
Comment 1 Jason Ekstrand 2017-04-06 20:33:07 UTC
Fixed by the following commit in master:

commit c9c39812b91c8104bc0bea16053312547846249c
Author: Jason Ekstrand <jason.ekstrand@intel.com>
Date:   Wed Apr 5 13:41:56 2017 -0700

    i965/blorp: Bump the batch space estimate
    
    Commit f938354362655a378d474c5f79c52cea9852ab91 recently increased the
    alignment on vertex buffer data from 32 to 64.  This caused us to
    consume a bit more batch than we were before and we now go over the
    estimate by a small amount on certain blits on gen8+.  This commit bumps
    then gen8 batch estimate by a bit to compensate.  Haswell and older
    still seems to be well within the limit.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100582
    Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
    Acked-by: Kenneth Graunke <kenneth@whitecape.org>
    Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.