iris: Use const uploader for blorp vertex data
authorMark Janes <mark.a.janes@intel.com>
Tue, 25 Aug 2020 22:37:46 +0000 (15:37 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 11 May 2021 23:03:20 +0000 (16:03 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10759>

src/gallium/drivers/iris/iris_blorp.c

index 5723b6d..6f1aeea 100644 (file)
@@ -177,7 +177,7 @@ blorp_alloc_vertex_buffer(struct blorp_batch *blorp_batch,
    struct iris_bo *bo;
    uint32_t offset;
 
-   void *map = stream_state(batch, ice->ctx.stream_uploader, size, 64,
+   void *map = stream_state(batch, ice->ctx.const_uploader, size, 64,
                             &offset, &bo);
 
    *addr = (struct blorp_address) {