diff options
author | Ben Skeggs <[email protected]> | 2009-01-12 13:42:19 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2009-01-12 16:59:33 +1000 |
commit | 103020f2646e224a21dcd0dd27d71a10865c0d3d (patch) | |
tree | a89c1ec82b4f6efd7f76d2d90ef350c165dec926 /src/gallium/drivers/nv50/nv50_context.h | |
parent | df266471b1f0eae54cf23fd59a741fa3be9b93df (diff) |
nv50: create buffers for each image that makes up a texture
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.h')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_context.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h index 0958bba334a..daa3efaa0a7 100644 --- a/src/gallium/drivers/nv50/nv50_context.h +++ b/src/gallium/drivers/nv50/nv50_context.h @@ -67,11 +67,17 @@ struct nv50_rasterizer_stateobj { struct nouveau_stateobj *so; }; +struct nv50_miptree_level { + struct pipe_buffer **image; + int *image_offset; + unsigned image_dirty; +}; + struct nv50_miptree { struct pipe_texture base; struct pipe_buffer *buffer; - int *image_offset; + struct nv50_miptree_level level[PIPE_MAX_TEXTURE_LEVELS]; int image_nr; int total_size; }; |