summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/nv40/nv40_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/nv40/nv40_state.h')
-rw-r--r--src/mesa/pipe/nv40/nv40_state.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mesa/pipe/nv40/nv40_state.h b/src/mesa/pipe/nv40/nv40_state.h
index c6d22ceaa8..80c76cd25b 100644
--- a/src/mesa/pipe/nv40/nv40_state.h
+++ b/src/mesa/pipe/nv40/nv40_state.h
@@ -124,4 +124,16 @@ struct nv40_depth_stencil_state {
} stencil;
};
+struct nv40_miptree {
+ struct pipe_texture base;
+
+ struct pipe_buffer_handle *buffer;
+ uint total_size;
+
+ struct {
+ uint pitch;
+ uint *image_offset;
+ } level[PIPE_MAX_TEXTURE_LEVELS];
+};
+
#endif