iris: Actually mark blorp_copy_buffer destinations as written.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 12 Apr 2019 22:36:52 +0000 (15:36 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 15 Apr 2019 21:51:01 +0000 (14:51 -0700)
src/gallium/drivers/iris/iris_blit.c

index 84eb952d7918db6de2438f10996e5479da55537a..a5df1cc9d98122ff499e36aecd2bbd4e02fdbebf 100644 (file)
@@ -523,6 +523,7 @@ iris_copy_region(struct blorp_context *blorp,
       };
       struct blorp_address dst_addr = {
          .buffer = iris_resource_bo(dst), .offset = dstx,
+         .reloc_flags = EXEC_OBJECT_WRITE,
       };
 
       iris_batch_maybe_flush(batch, 1500);