[Mesa-dev] [PATCH v2 0/9] anv: Enable fast-clears for multisampled images

Jason Ekstrand jason at jlekstrand.net
Sat Feb 24 06:22:55 UTC 2018

We've had multisample compression support for some time and we've had
single-sampled fast-clears but multisampled fast clears haven't been all
that high on anyone's priority list.  I did send out a patch series for it
back in November: https://patchwork.freedesktop.org/series/33727/
Unfortunately, shortly after that, I ended up doing significant reworks to
the way that CCS fast-clears and resolves work which made hash of the
original series.

This series is accomplishes the same thing as the last for patches of the
original series.  The last two patches of the original series have been
completely rewritten and exploded into 7 patches.  Much of that explosion
is because I've broken it up to be a bit more reviewable.

Jason Ekstrand (9):
  intel/blorp: Add a helper for filling out VERTEX_BUFFER_STATE
  intel/blorp: Add indirect clear color support to mcs_partial_resolve
  anv/blorp: Add partial clear support to anv_image_mcs_op
  anv/blorp: Allow indirect clear colors on blorp sources on gen7
  anv/blorp: Pass the clear address to blorp for subpass MSAA resolves
  anv/cmd_buffer: Handle MCS identical to CCS_E in compute_aux_usage
  anv/cmd_buffer: Add helpers for computing resolve predicates
  anv/cmd_buffer: Add support for MCS fast-clears and resolves
  anv: Enable MSAA fast-clears

 src/intel/blorp/blorp_clear.c      |  25 ++++++-
 src/intel/blorp/blorp_genX_exec.h  | 121 +++++++++++++++++++++-------------
 src/intel/blorp/blorp_priv.h       |   1 +
 src/intel/vulkan/anv_blorp.c       |  21 +++++-
 src/intel/vulkan/anv_image.c       |  11 ++--
 src/intel/vulkan/genX_blorp_exec.c |   4 +-
 src/intel/vulkan/genX_cmd_buffer.c | 132 ++++++++++++++++++++++++++++++-------
 7 files changed, 239 insertions(+), 76 deletions(-)


More information about the mesa-dev mailing list