[Mesa-dev] [v4] i965: Compression support for single-sampled

Topi Pohjolainen topi.pohjolainen at intel.com
Thu Apr 21 11:58:55 UTC 2016


This is revised version sitting on top of blorp clears. It also
contains patches telling both the standard compiler backend as well
as blorp compiler to sample single samples compressed surfaces using
normal ld instead of ld2dms and mcs fetch. While ld2dms/mcs fetch
combo seems to work in practise it is unnecessary.

Topi Pohjolainen (11):
  i965/blorp: Set full resolve for lossless compressed
  i965: Relax assertion of halign == 16 for lossless compressed aux
  i965/gen9: Prepare surface state setup for lossless compression
  i965: Add helper for lossless compression support
  i965: Deferred allocation of mcs for lossless compressed
  i965/blorp: Prepare blits for lossless compression
  i965/blorp: Do not resolve lossless compressed blit sources
  i965/gen9: Setup MCS for compressed texture surfaces
  i965: Set render state for lossless compressed
  i965/wm: Don't sample lossless compressed as multisampled
  i965/gen9: Enable lossless compression

 src/mesa/drivers/dri/i965/brw_blorp.cpp        |  2 +-
 src/mesa/drivers/dri/i965/brw_blorp_blit.cpp   | 33 +++++++++--
 src/mesa/drivers/dri/i965/brw_blorp_clear.cpp  | 11 +++-
 src/mesa/drivers/dri/i965/brw_defines.h        |  1 +
 src/mesa/drivers/dri/i965/brw_draw.c           | 24 +++++++-
 src/mesa/drivers/dri/i965/brw_wm.c             |  6 +-
 src/mesa/drivers/dri/i965/gen8_blorp.cpp       |  5 +-
 src/mesa/drivers/dri/i965/gen8_surface_state.c | 12 ++--
 src/mesa/drivers/dri/i965/intel_mipmap_tree.c  | 79 +++++++++++++++++++++++++-
 src/mesa/drivers/dri/i965/intel_mipmap_tree.h  |  7 +++
 10 files changed, 163 insertions(+), 17 deletions(-)

-- 
2.5.5



More information about the mesa-dev mailing list