Commit f93a13d6 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Handle non-0 pipe_transfer start

parent 74270b77
......@@ -1617,7 +1617,7 @@ panfrost_transfer_map(struct pipe_context *pctx,
struct panfrost_resource *rsrc = (struct panfrost_resource *) resource;
return ((uint8_t *) rsrc->cpu) + transfer->box.x;
return ((uint8_t *) rsrc->cpu) + transfer->box.x + transfer->box.y * transfer->stride;
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment