anv/blorp: Support ISL_AUX_USAGE_HIZ in surf_for_anv_image
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 21 Nov 2017 20:10:30 +0000 (12:10 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 9 Feb 2018 00:35:31 +0000 (16:35 -0800)
commit1d473e26f25c6be18066eda9f4bf8365eb83d7ef
treef5bf972eb4de3421db14aade6491276809198929
parent42f1668a54da40d96ddd92e52b958f376fbfe484
anv/blorp: Support ISL_AUX_USAGE_HIZ in surf_for_anv_image

If the function gets passed ANV_AUX_USAGE_DEFAULT, it still has the old
behavior of setting ISL_AUX_USAGE_NONE for depth/stencil which is what
we want for blits/copies.

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