summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/cubetexture9.h
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2015-02-19 11:21:12 +0100
committerAxel Davy <[email protected]>2015-04-29 08:28:11 +0200
commit35fe920e1ec877d487e5dd33c9aea7e1ec1dbe11 (patch)
tree81d5fb39858295ed6655b13bad93744f67261d6f /src/gallium/state_trackers/nine/cubetexture9.h
parent54f8e8a18da58c85a2f515d5fd0552fa4f5547bb (diff)
st/nine: Rework texture data allocation
Some applications assume the memory for multilevel textures is allocated per continuous blocks. This patch implements that behaviour. v2: cache offsets Reviewed-by: Ilia Mirkin <[email protected]> Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/cubetexture9.h')
-rw-r--r--src/gallium/state_trackers/nine/cubetexture9.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/cubetexture9.h b/src/gallium/state_trackers/nine/cubetexture9.h
index e8594d35bb4..ee7e275e4d8 100644
--- a/src/gallium/state_trackers/nine/cubetexture9.h
+++ b/src/gallium/state_trackers/nine/cubetexture9.h
@@ -31,6 +31,7 @@ struct NineCubeTexture9
struct NineBaseTexture9 base;
struct NineSurface9 **surfaces;
struct pipe_box dirty_rect[6]; /* covers all mip levels */
+ uint8_t *managed_buffer;
};
static INLINE struct NineCubeTexture9 *
NineCubeTexture9( void *data )