summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/ilo/ilo_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_resource.c b/src/gallium/drivers/ilo/ilo_resource.c
index f6d3f747407..cb8e1cbbb53 100644
--- a/src/gallium/drivers/ilo/ilo_resource.c
+++ b/src/gallium/drivers/ilo/ilo_resource.c
@@ -608,7 +608,7 @@ tex_layout_init_hiz(struct tex_layout *layout)
layout->hiz = true;
/* no point in having HiZ */
- if (templ->usage & PIPE_USAGE_STAGING)
+ if (templ->usage == PIPE_USAGE_STAGING)
layout->hiz = false;
if (layout->dev->gen == ILO_GEN(6)) {