freedreno: Split the fd_batch_resource_used by read vs write.
[mesa.git] / src / gallium / drivers / freedreno / freedreno_batch.h
index 479d78d5eca9ba7967397e8b4e3dad3b75d2a503..8ec3700b7adb9109542b048a0c605d7b7e71ffe4 100644 (file)
@@ -256,7 +256,8 @@ struct fd_batch * fd_batch_create(struct fd_context *ctx, bool nondraw);
 void fd_batch_reset(struct fd_batch *batch);
 void fd_batch_flush(struct fd_batch *batch);
 void fd_batch_add_dep(struct fd_batch *batch, struct fd_batch *dep);
-void fd_batch_resource_used(struct fd_batch *batch, struct fd_resource *rsc, bool write);
+void fd_batch_resource_write(struct fd_batch *batch, struct fd_resource *rsc);
+void fd_batch_resource_read(struct fd_batch *batch, struct fd_resource *rsc);
 void fd_batch_check_size(struct fd_batch *batch);
 
 /* not called directly: */