diff options
author | Brian Paul <[email protected]> | 2010-03-08 15:19:13 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-03-08 16:26:44 -0700 |
commit | f027d5612901de8e6167e6288c4e24d91d964e7f (patch) | |
tree | 279896ca1f4af62cd5eb7e8d0d48c096db82f6fa /src/gallium/drivers/llvmpipe/lp_jit.h | |
parent | 891f7f4d52656ddbb445ef1992e8de05763ce680 (diff) |
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 0ebb2826fa2..5cc7a12c03b 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]; }; |