diff options
author | Brian Paul <brianp@vmware.com> | 2010-03-08 15:19:13 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-03-08 16:26:44 -0700 |
commit | f027d5612901de8e6167e6288c4e24d91d964e7f (patch) | |
tree | 279896ca1f4af62cd5eb7e8d0d48c096db82f6fa /src/gallium/drivers/llvmpipe/lp_jit.h | |
parent | 891f7f4d52656ddbb445ef1992e8de05763ce680 (diff) | |
download | external_mesa3d-f027d5612901de8e6167e6288c4e24d91d964e7f.zip external_mesa3d-f027d5612901de8e6167e6288c4e24d91d964e7f.tar.gz external_mesa3d-f027d5612901de8e6167e6288c4e24d91d964e7f.tar.bz2 |
llvmpipe/gallivm: checkpoint: array of pointers to mipmap levels
Change the texture data_ptr from just a single image pointer to an
array of image pointers, indexed by mipmap level.
We'll use this for mipmap filtering.
For now, the mipmap level is hard-coded to zero.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_jit.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_jit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_jit.h b/src/gallium/drivers/llvmpipe/lp_jit.h index 0ebb282..5cc7a12 100644 --- a/src/gallium/drivers/llvmpipe/lp_jit.h +++ b/src/gallium/drivers/llvmpipe/lp_jit.h @@ -39,6 +39,7 @@ #include "gallivm/lp_bld_struct.h" #include "pipe/p_state.h" +#include "lp_texture.h" struct llvmpipe_screen; @@ -51,7 +52,7 @@ struct lp_jit_texture uint32_t depth; uint32_t last_level; uint32_t stride; - const void *data; + const void *data[LP_MAX_TEXTURE_2D_LEVELS]; }; |