diff options
author | Brian Paul <[email protected]> | 2010-04-19 17:16:15 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-04-19 17:16:15 -0600 |
commit | 4c93cd13ba7b7c129256f6cb82ce04b066f3bb16 (patch) | |
tree | 25d393c6d5fab305a305341f2226a100ea622aed /src | |
parent | bd329d42e8a53ae12055617f56699732ff70081e (diff) |
llvmpipe: remove dead code
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index 1bd5f57412e..6be13c60a57 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -526,14 +526,9 @@ lp_setup_set_fragment_sampler_views(struct lp_setup_context *setup, /* regular texture - setup array of mipmap level pointers */ int j; for (j = 0; j <= tex->last_level; j++) { -#if 0 - jit_tex->data[j] = - (ubyte *) lp_tex->data + lp_tex->level_offset[j]; -#else jit_tex->data[j] = llvmpipe_get_texture_image_all(lp_tex, j, LP_TEX_USAGE_READ, LP_TEX_LAYOUT_LINEAR); -#endif jit_tex->row_stride[j] = lp_tex->row_stride[j]; jit_tex->img_stride[j] = lp_tex->img_stride[j]; } |