[Mesa-dev] [PATCH 0/8] radv: some cleanups & preliminary work for DCC MSAA

Samuel Pitoiset samuel.pitoiset at gmail.com
Fri Apr 6 17:34:03 UTC 2018


Hi,

This small series is a preliminary work before doing some
improvements in the DCC/CMASK/FMASK codepaths. What I plan to do is:

- implement DCC for MSAA textures (I have a WIP branch)
- implement TC-compatible CMASK
- implement DCC for mipmaps and arrays

And probably some other improvements/cleanups.

Please review,
Thanks!

Samuel Pitoiset (8):
  radv: add radv_get_cmask_fast_clear_value() helper
  radv: add radv_image_has_{cmask,fmask,dcc,htile}() helpers
  radv: clean up radv_htile_enabled()
  radv: clean up radv_vi_dcc_enabled()
  radv: simplify a check in radv_initialise_color_surface()
  radv: rename radv_image_is_tc_compat_htile()
  radv: add radv_use_dcc_for_image() helper
  radv: add radv_image_is_tc_compat_htile() helper

 src/amd/vulkan/radv_cmd_buffer.c      |  18 ++---
 src/amd/vulkan/radv_device.c          |  22 +++---
 src/amd/vulkan/radv_image.c           | 124 ++++++++++++++++++++++------------
 src/amd/vulkan/radv_meta_clear.c      |  35 ++++++++--
 src/amd/vulkan/radv_meta_copy.c       |   4 +-
 src/amd/vulkan/radv_meta_decompress.c |   2 +-
 src/amd/vulkan/radv_meta_fast_clear.c |   8 +--
 src/amd/vulkan/radv_meta_resolve.c    |   4 +-
 src/amd/vulkan/radv_private.h         |  58 +++++++++++++++-
 9 files changed, 193 insertions(+), 82 deletions(-)

-- 
2.16.3



More information about the mesa-dev mailing list