summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2019-02-05 16:40:14 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:12 -0800
commitdfd54f995433def3ff83960c7080e30fe69a6c9a (patch)
tree2e2e60828acc1a4f4be0a1bcb6507d17a82106f2 /src/gallium/drivers/iris
parentf3f7d45a633b9395721305d7ec544827b5ef6926 (diff)
iris: Flush before hiz_exec.
Diffstat (limited to 'src/gallium/drivers/iris')
-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);