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

Jordan Justen jljusten at gmail.com
Mon Sep 1 15:22:33 PDT 2014


Ken,

I think you were concerned about:
[PATCH v2 06/14] i965/gen8: Enable hiz for all depth levels
but, you weren't able to reproduce any issues with it.

Should we try this series on master now that 10.3 has branched?

-Jordan

On Mon, Jul 21, 2014 at 11:00 PM, Jordan Justen
<jordan.l.justen at intel.com> wrote:
> 1. No longer allocate a miptree structure for hiz on gen7+.
>
> 2. Always enable hiz for depth on gen8+.
>
> 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.
>
> v2:
>  * Modified hz_height calculation in patches 4 & 5
>
> Patches without Reviewed-by: 4, 5, 6, 13 and 14
>
> This series is available in the bdw-aux-hiz-v2 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     | 363 ++++++++++++++++++----
>  src/mesa/drivers/dri/i965/intel_mipmap_tree.h     |  41 ++-
>  12 files changed, 394 insertions(+), 103 deletions(-)
>
> --
> 2.0.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list