projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8d8ea2
)
llvmpipe: Fill in slice_stride.
author
José Fonseca
<jfonseca@vmware.com>
Sat, 22 May 2010 15:14:20 +0000
(16:14 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Sat, 22 May 2010 15:14:20 +0000
(16:14 +0100)
src/gallium/drivers/llvmpipe/lp_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_texture.c
b/src/gallium/drivers/llvmpipe/lp_texture.c
index 4eed687ac714b48519a2d3a5ae66492266a0089c..5696683f454b75740d3eeec288818e9a9ddf52e8 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_texture.c
+++ b/
src/gallium/drivers/llvmpipe/lp_texture.c
@@
-565,6
+565,7
@@
llvmpipe_get_transfer(struct pipe_context *pipe,
pt->box = *box;
pt->sr = sr;
pt->stride = lprex->row_stride[sr.level];
+ pt->slice_stride = lprex->img_stride[sr.level];
pt->usage = usage;
return pt;