intel: Support HIZ_CCS in isl_surf_get_ccs_surf
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 19 Aug 2019 16:17:26 +0000 (09:17 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 28 Oct 2019 17:47:05 +0000 (10:47 -0700)
commitc50f8b2fc94913a7c96468ba930091710147b302
tree89e2578ffc5034de5160877c3970c99aa28a5220
parente2e67b3f11bf11dedab77322a28c87c32d5ed30a
intel: Support HIZ_CCS in isl_surf_get_ccs_surf

Add an extra aux parameter which will be filled out with CCS if the
first two isl_surf parameters fit the requirements for HiZ_CCS.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_resource.c
src/intel/isl/isl.c
src/intel/isl/isl.h
src/intel/vulkan/anv_image.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_screen.c