anv/blorp: Rework image clear/resolve helpers
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 21 Nov 2017 17:56:41 +0000 (09:56 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 9 Feb 2018 00:35:31 +0000 (16:35 -0800)
commit42f1668a54da40d96ddd92e52b958f376fbfe484
tree2f7135f93488186588d6860bf8a694047fbb6ebf
parent482c24783e3ddd55bc2d0cf4fe52e52cfa8f86b6
anv/blorp: Rework image clear/resolve helpers

This replaces image_fast_clear and ccs_resolve with two new helpers that
simply perform an isl_aux_op whatever that may be on CCS or MCS.  This
is a bit cleaner as it separates performing the aux operation from which
blorp helper we have to call to do it.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/intel/vulkan/anv_blorp.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_cmd_buffer.c