[Mesa-dev] [PATCH 00/10] radv: various changes in the DCC/FMASK/CMASK codepath

Samuel Pitoiset samuel.pitoiset at gmail.com
Fri Apr 13 17:14:42 UTC 2018


Hi,

This series mostly cleans up the DCC/FMASK/CMASK codepath. This
also adds some little improvements that shouldn't impact performance
because reducing the number of fast-clear eliminate passes doesn't
matter much.

DCC for MSAA textures is more complicated than expected because it
seems like there is plenty of corner cases. Should be easier to
implement with a cleaner codebase.

No CTS changes on Vega.

Please review!

Samuel Pitoiset (10):
  radv: disable prediction only if it has been enabled
  radv: handle DCC image transitions before CMASK/FMASK transitions
  radv: add radv_handle_color_image_transition() helper
  radv: clean up radv_handle_image_transition() a bit
  radv: make radv_initialise_cmask() static
  radv: add radv_init_color_image_metadata() helper
  radv: merge radv_handle_{dcc,cmask}_image_transition() functions
  radv: handle CMASK/FMASK transitions only if DCC is disabled
  radv: don't fast-clear eliminate after resolving a subpass with
    compute
  radv: clean up radv_decompress_resolve_subpass_src()

 src/amd/vulkan/radv_cmd_buffer.c      | 144 ++++++++++++++++----------
 src/amd/vulkan/radv_meta_fast_clear.c |   2 +-
 src/amd/vulkan/radv_meta_resolve.c    |  17 ++-
 src/amd/vulkan/radv_meta_resolve_cs.c |  14 ---
 src/amd/vulkan/radv_private.h         |   2 -
 5 files changed, 95 insertions(+), 84 deletions(-)

-- 
2.17.0



More information about the mesa-dev mailing list