summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-05-22 16:14:20 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-05-22 16:14:20 +0100
commita3ef2fb9c48001580497049df87c210c367fb81e (patch)
tree6d067c67edb39c5b3487e1f304fb824ea05bd3c7 /src/gallium/drivers
parente8d8ea2a3962cc07244906f2a3858b4f1b144721 (diff)
llvmpipe: Fill in slice_stride.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_texture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c b/src/gallium/drivers/llvmpipe/lp_texture.c
index 4eed687ac7..5696683f45 100644
--- 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;