diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-12-09 03:22:14 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-12-09 12:12:50 +1100 |
commit | b8965bee404cb36ccd97ac089fbd3ffc63268080 (patch) | |
tree | c303b5737dd51f9cecc79a76389b63dc79f9f8a8 /src/mesa/pipe/nv40/nv40_state.h | |
parent | 274a3d9cb6a196c1b191769f581915cf5f8dccfe (diff) |
nouveau: adapt to gallium interface changes
Diffstat (limited to 'src/mesa/pipe/nv40/nv40_state.h')
-rw-r--r-- | src/mesa/pipe/nv40/nv40_state.h | 12 |
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 |