diff options
author | Boris Brezillon <[email protected]> | 2019-09-01 10:15:23 +0200 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2019-09-13 16:25:06 +0200 |
commit | 07a68835a153c808a530a277396bd9f212e2bc06 (patch) | |
tree | 70aa456a41d5f9eeabc9be9e30a71c1f5be14236 /src/gallium/drivers/panfrost/pan_instancing.c | |
parent | e46d95d51bc11301b603f1beb9b1341b3623a46b (diff) |
panfrost: Pass a batch to panfrost_{allocate,upload}_transient()
We need that if we want to upload transient buffers to a batch that's
not currently bound to the context, which in turn will be needed if we
want to relax the batch serialization we have right now (only flush
batches when we need to: on a flush request, or when one batch depends
on the result of other batches).
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_instancing.c')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_instancing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_instancing.c b/src/gallium/drivers/panfrost/pan_instancing.c index 44fe0a344aa..e7e1f1d0e12 100644 --- a/src/gallium/drivers/panfrost/pan_instancing.c +++ b/src/gallium/drivers/panfrost/pan_instancing.c @@ -341,7 +341,7 @@ panfrost_emit_vertex_data(struct panfrost_batch *batch) /* Upload whatever we emitted and go */ ctx->payloads[PIPE_SHADER_VERTEX].postfix.attributes = - panfrost_upload_transient(ctx, attrs, k * sizeof(union mali_attr)); + panfrost_upload_transient(batch, attrs, k * sizeof(union mali_attr)); } |