*
* TODO: Remove this hack!
*/
- iris_emit_pipe_control_flush(batch, PIPE_CONTROL_CS_STALL);
- iris_emit_pipe_control_flush(batch, PIPE_CONTROL_TEXTURE_CACHE_INVALIDATE);
+ const char *reason =
+ "workaround: WaSamplerCacheFlushBetweenRedescribedSurfaceReads";
+
+ iris_emit_pipe_control_flush(batch, reason, PIPE_CONTROL_CS_STALL);
+ iris_emit_pipe_control_flush(batch, reason,
+ PIPE_CONTROL_TEXTURE_CACHE_INVALIDATE);
}
/**
info->dst.box.depth, dst_aux_usage);
iris_flush_and_dirty_for_history(ice, batch, (struct iris_resource *)
- info->dst.resource);
+ info->dst.resource,
+ "cache history: post-blit");
}
static void
blorp_batch_finish(&blorp_batch);
iris_flush_and_dirty_for_history(ice, batch,
- (struct iris_resource *) dst);
+ (struct iris_resource *) dst,
+ "cache history: post copy_region");
} else {
// XXX: what about one surface being a buffer and not the other?