diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-03-28 04:33:28 +0000 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-03-31 02:36:38 +0000 |
commit | c87f3ce97f69212d27ac830d5c37ac0f55e892f8 (patch) | |
tree | 03126c312c165c03197c68087b3e3300973edbdb /src/gallium/drivers/panfrost/pan_resource.c | |
parent | 70b3e5db7d46b172a3f9d290cf7850bb6d797ea0 (diff) |
panfrost: Implement command stream for linear cubemaps
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_resource.c')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_resource.c b/src/gallium/drivers/panfrost/pan_resource.c index a1285f21541..e217b358ecf 100644 --- a/src/gallium/drivers/panfrost/pan_resource.c +++ b/src/gallium/drivers/panfrost/pan_resource.c @@ -391,7 +391,7 @@ panfrost_transfer_map(struct pipe_context *pctx, transfer->base.usage = usage; transfer->base.box = *box; transfer->base.stride = bo->slices[level].stride; - transfer->base.layer_stride = bytes_per_pixel * resource->width0; /* TODO: Cubemaps */ + transfer->base.layer_stride = bo->cubemap_stride; pipe_resource_reference(&transfer->base.resource, resource); |