iris: Flush before hiz_exec.

This commit is contained in:
Rafael Antognolli 2019-02-05 16:40:14 -08:00 committed by Kenneth Graunke
parent f3f7d45a63
commit dfd54f9954

View file

@ -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);