diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-03-27 04:37:26 +0000 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-03-31 02:36:37 +0000 |
commit | e658f7225d2ac4c8246d8c5c06ae275bf00117a1 (patch) | |
tree | 1578bd2f42fd98599b680456606985e9281aa560 /src/gallium/drivers/panfrost/pan_resource.h | |
parent | 499f31aab869205ea92b2635267d792ef1837077 (diff) |
panfrost: Preliminary work for cubemaps
Again, not yet functional, but this sets up the memory management for
cube maps.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_resource.h')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_resource.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_resource.h b/src/gallium/drivers/panfrost/pan_resource.h index 3e076b873f7..a1315ab1b43 100644 --- a/src/gallium/drivers/panfrost/pan_resource.h +++ b/src/gallium/drivers/panfrost/pan_resource.h @@ -53,9 +53,12 @@ struct panfrost_bo { /* GPU address for the object */ mali_ptr gpu; - /* Size of the entire tree */ + /* Size of all entire trees */ size_t size; + /* Distance from tree to tree */ + unsigned cubemap_stride; + /* Set if this bo was imported rather than allocated */ bool imported; |