Re: [Mesa-dev] [PATCH 16/16] i965/gen4: Set tile offsets to zero after depth rebase

2017-07-17 Thread Jason Ekstrand
9-16 are Reviewed-by: Jason Ekstrand On Mon, Jul 17, 2017 at 6:35 AM, Topi Pohjolainen < topi.pohjolai...@gmail.com> wrote: > Current logic calls intel_renderbuffer_set_draw_offset() which in > turn tries to calculate x and y offset against layer/level settings > that are

[Mesa-dev] [PATCH 16/16] i965/gen4: Set tile offsets to zero after depth rebase

2017-07-17 Thread Topi Pohjolainen
Current logic calls intel_renderbuffer_set_draw_offset() which in turn tries to calculate x and y offset against layer/level settings that are against the original miptree actually having sufficient levels/layers. This returns correctly x=0 y=0 regardless of the given layer/level only because one