[Mesa-dev] [PATCH 00/14] i965/gen7+ HiZ cleanup + gen8 hiz improvements

Jordan Justen jordan.l.justen at intel.com
Tue Jul 15 18:32:08 PDT 2014


1. No longer allocate a miptree structure for hiz on gen7+. This was
   previously sent out in the series: "i965 gen7+ hiz buffer change;
   always enable gen8 hiz"

2. Always enable HiZ for depth on gen8+. (Also part of the previous
   series.)

3. Enable HiZ Auxiliary Buffer support on gen8. This support allows
   Broadwell to sample from depth using the hiz buffer, and thereby
   removing the need to resolve depth to/from the hiz buffer in many
   cases.

With regards to the content in both this and the "i965 gen7+ hiz
buffer change; always enable gen8 hiz" series, there were these
changes:

1. Calculating hiz buffer parameters was separated out into a gen7 and
   a gen8 version.

2. Some variables were renamed in the functions that allocate the hiz
   buffer.

3. Some comments were added to show the code from the documents
   compared to the code doing the calculation.

No piglit regressions were seen on gen7 or gen8.

This series is available in the bdw-aux-hiz branch of:
git://people.freedesktop.org/~jljusten/mesa

Jordan Justen (13):
  i965/hiz: Start to separate miptree out from hiz buffers
  i965/gen7: Don't rely directly on the hiz miptree structure
  i965/gen8: Don't rely directly on the hiz miptree structure
  i965/gen7: Don't allocate hiz miptree structure
  i965/gen8: Don't allocate hiz miptree structure
  i965/gen8: Enable hiz for all depth levels
  i965: Wrap MCS miptree in intel_miptree_aux_buffer
  i965/gen8: Use intel_miptree_aux_buffer for auxiliary buffer
  i965/gen8: Use aux buf qpitch for Auxiliary Buffer (MCS)
  i965: Add function to indicate when sampling with hiz is supported
  i965: Support sampling with hiz during rendering
  i965/gen8: Initialize aux_mode to GEN8_SURFACE_AUX_MODE_NONE
  i965/gen8: Allow sampling with hiz when supported

Kenneth Graunke (1):
  i965/gen8: Add HiZ auxiliary buffer support

 src/mesa/drivers/dri/i965/brw_blorp_clear.cpp     |   2 +-
 src/mesa/drivers/dri/i965/brw_draw.c              |   5 +-
 src/mesa/drivers/dri/i965/brw_misc_state.c        |   4 +-
 src/mesa/drivers/dri/i965/gen6_blorp.cpp          |   2 +-
 src/mesa/drivers/dri/i965/gen7_blorp.cpp          |  10 +-
 src/mesa/drivers/dri/i965/gen7_misc_state.c       |   7 +-
 src/mesa/drivers/dri/i965/gen7_wm_surface_state.c |   8 +-
 src/mesa/drivers/dri/i965/gen8_depth_state.c      |   6 +-
 src/mesa/drivers/dri/i965/gen8_surface_state.c    |  45 +--
 src/mesa/drivers/dri/i965/intel_fbo.c             |   4 +-
 src/mesa/drivers/dri/i965/intel_mipmap_tree.c     | 357 ++++++++++++++++++----
 src/mesa/drivers/dri/i965/intel_mipmap_tree.h     |  41 ++-
 12 files changed, 388 insertions(+), 103 deletions(-)

-- 
2.0.0



More information about the mesa-dev mailing list