[Mesa-dev] i965: Remove surface state Tile-X / Tile-Y offsets (GEN8 enabling)

Abdiel Janulgue abdiel.janulgue at linux.intel.com
Tue Dec 10 01:18:43 PST 2013


On Monday, December 09, 2013 10:21:24 AM Jordan Justen wrote:

> > Gen 6/7 hardware support for tile_x and tile_y offset fields in
> > SURFACE_STATE has been removed in Gen8. All code dependencies must be
> > removed. This patch series completely eliminates the tile_x and y fields
> > in the normal render paths and BLORP. The LOD fields should be used
> > instead.
> 
> What about brw_update_renderbuffer_surface?
> 

Yeah, you are right. This needs to be updated as well.

> I think we should be able to enable AMD_vertex_shader_layer for gen6
> once the offsets are gone.
> 
> Did you get a chance to test piglit on gen6 too?

The implementation currently only supports mipmap levels for single-sampled 2D 
surfaces. Piglit on GEN6/7 currently fails on depth-stencil and multi-
dimensional formats. Seems we need to update Blorp's WM prog for this to work 
well. At that point, specifying LOD/level fields is not enough. I'm currently 
trying to figure out the best way to do this.


More information about the mesa-dev mailing list