iris: Clear ::has_hiz when disabling aux
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 30 Aug 2019 21:58:54 +0000 (14:58 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 28 Oct 2019 17:47:05 +0000 (10:47 -0700)
Fixes: 2cddc953cd0 ("iris: some initial HiZ bits")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_resource.c

index d06bf1b62117f13743c84c013c9c28ee9baf019e..d7a6973ef547a310259ed1b8591e2b51cd57e8c3 100644 (file)
@@ -293,6 +293,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;