[Mesa-dev] [PATCH 1/2] i965: Check actual tile offsets in Gen4 miptree workaround.

Kenneth Graunke kenneth at whitecape.org
Mon Jul 25 16:14:36 PDT 2011


On 07/25/2011 09:13 PM, Kenneth Graunke wrote:
> The apitrace dump in bug #34009 managed to fool the draw_offset check
> into thinking that we were tile aligned when we weren't.  This led to an
> assertion failure in brw_update_renderbuffer_surface with tile_y != 0.
> 
> Simply compute tile_x and tile_y and check those, as that way both
> places are checking the same thing.
> 
> NOTE: This is a candidate for stable release branches.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34009
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

Scratch this patch, it breaks things on Gen7.  Will rework and post an
updated version soon.



More information about the mesa-dev mailing list