Module: Mesa
Branch: master
Commit: a3ef2fb9c48001580497049df87c210c367fb81e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3ef2fb9c48001580497049df87c210c367fb81e

Author: José Fonseca <[email protected]>
Date:   Sat May 22 16:14:20 2010 +0100

llvmpipe: Fill in slice_stride.

---

 src/gallium/drivers/llvmpipe/lp_texture.c |    1 +
 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 4eed687..5696683 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;

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to