summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/iris/iris_resolve.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_resolve.c b/src/gallium/drivers/iris/iris_resolve.c
index e11f0730384..bec3117f1a0 100644
--- a/src/gallium/drivers/iris/iris_resolve.c
+++ b/src/gallium/drivers/iris/iris_resolve.c
@@ -584,6 +584,8 @@ iris_hiz_exec(struct iris_context *ice,
assert(res->aux.usage == ISL_AUX_USAGE_HIZ && res->aux.bo);
+ iris_batch_maybe_flush(batch, 1500);
+
struct blorp_surf surf;
iris_blorp_surf_for_resource(&surf, &res->base, ISL_AUX_USAGE_HIZ,
level, true);