projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd329d4
)
llvmpipe: remove dead code
author
Brian Paul
<brianp@vmware.com>
Mon, 19 Apr 2010 23:16:15 +0000
(17:16 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 19 Apr 2010 23:16:15 +0000
(17:16 -0600)
src/gallium/drivers/llvmpipe/lp_setup.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_setup.c
b/src/gallium/drivers/llvmpipe/lp_setup.c
index 1bd5f57412e13f756a9145aa2b2686548dcaebfd..6be13c60a5747b33212ea2612f323fc121a75484 100644
(file)
--- 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];
}