commit | e188eec21272048562248844559ed0ca9f8e1a30 | [log] [tgz] |
---|---|---|
author | Chad Versace <chadversary@chromium.org> | Sun Mar 05 12:28:17 2017 -0800 |
committer | Chad Versace <chadversary@chromium.org> | Sun Mar 05 12:44:36 2017 -0800 |
tree | df041672965806c76b33ae856d90b63ea95c5ee7 | |
parent | daa0657bb37d689ca7107a075be7b8439fdabd18 [diff] |
anv: Handle failure in make_hiz_surface_maybe() make_ccs_surface_maybe() correctly handles failure isl_surf_get_ccs_surf(). When it fails, the resultant VkImage is still valid, just without a ccs surface. Same of make_mcs_surface_maybe() and isl_surf_get_mcs_surf(). Fix make_hiz_surface_maybe() to do the same.