[Mesa-dev] [PATCH 0/4] Set render depth size based on LOD0 for 3D textures

Jordan Justen jordan.l.justen at intel.com
Sat May 10 18:30:48 PDT 2014


These patches were prompted by fixing piglit's
gl-3.2-layered-rendering-clear-color-all-types 3d mipmapped
on gen8. ("i965/gen8 renderbuffer" patch)

For Haswell I was able to force a similar failure on Haswell by
disabling blorp color clears, and "i965/gen7 renderbuffer" also
fixes that.

For the depth patches, I did not find a piglit test case that
they fix, but I think we should be using LOD0's depth size there
as well.

No piglit regressions observed on gen7 / gen8.

Jordan Justen (4):
  i965/gen7 renderbuffer: Set depth size based on LOD0 for 3D textures
  i965/gen8 renderbuffer: Set depth size based on LOD0 for 3D textures
  i965/gen7 depth: Set depth size based on LOD0 for 3D textures
  i965/gen8 depth: Set depth size based on LOD0 for 3D textures

 src/mesa/drivers/dri/i965/gen7_misc_state.c       | 4 ++--
 src/mesa/drivers/dri/i965/gen7_wm_surface_state.c | 2 +-
 src/mesa/drivers/dri/i965/gen8_depth_state.c      | 4 ++--
 src/mesa/drivers/dri/i965/gen8_surface_state.c    | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

-- 
2.0.0.rc2



More information about the mesa-dev mailing list