projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0790812
)
llvmpipe: use llvmpipe_resource_stride()
author
Brian Paul
<brianp@vmware.com>
Mon, 19 Apr 2010 23:15:25 +0000
(17:15 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 19 Apr 2010 23:15:25 +0000
(17:15 -0600)
src/gallium/drivers/llvmpipe/lp_surface.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_surface.c
b/src/gallium/drivers/llvmpipe/lp_surface.c
index 155b7fc4cee5736742ca4b4ee7d0ab07b340bb2f..1a116989d4c6ce539288782cfe14c51e35fd9f7c 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_surface.c
+++ b/
src/gallium/drivers/llvmpipe/lp_surface.c
@@
-135,10
+135,11
@@
lp_surface_copy(struct pipe_context *pipe,
LP_TEX_LAYOUT_LINEAR);
util_copy_rect(dst_linear_ptr, format,
-
dst_tex->row_stride[dst->level]
,
+
llvmpipe_resource_stride(&dst_tex->base, dst->level)
,
dstx, dsty,
width, height,
- src_linear_ptr, src_tex->row_stride[src->level],
+ src_linear_ptr,
+ llvmpipe_resource_stride(&src_tex->base, src->level),
srcx, srcy);
}
}