blorp_batch_init(&ice->blorp, &blorp_batch, batch, 0);
blorp_buffer_copy(&blorp_batch, src_addr, dst_addr, src_box->width);
blorp_batch_finish(&blorp_batch);
-
- iris_flush_and_dirty_for_history(ice, batch,
- (struct iris_resource *) dst,
- "cache history: post copy_region");
} else {
// XXX: what about one surface being a buffer and not the other?
iris_copy_region(&ice->blorp, batch, &s_dst_res->base, dst_level, dstx,
dsty, dstz, &s_src_res->base, src_level, src_box);
}
+
+ iris_flush_and_dirty_for_history(ice, batch, (struct iris_resource *) dst,
+ "cache history: post copy_region");
}
void