iris: Clear ::has_hiz when disabling aux

Fixes: 2cddc953cd ("iris: some initial HiZ bits")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit 6cd9731d96)
This commit is contained in:
Nanley Chery 2019-08-30 14:58:54 -07:00 committed by Dylan Baker
parent 73a9f31b57
commit 88ca3cf11d

View file

@ -292,6 +292,7 @@ iris_resource_disable_aux(struct iris_resource *res)
res->aux.usage = ISL_AUX_USAGE_NONE;
res->aux.possible_usages = 1 << ISL_AUX_USAGE_NONE;
res->aux.sampler_usages = 1 << ISL_AUX_USAGE_NONE;
res->aux.has_hiz = 0;
res->aux.surf.size_B = 0;
res->aux.bo = NULL;
res->aux.clear_color_bo = NULL;