summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2009-02-10 18:44:08 +0100
committerPatrice Mandin <[email protected]>2009-02-10 18:44:27 +0100
commit02401cbaf021833c77c501d697d912f295546f58 (patch)
tree0726c26a79acf0d0171c937012c762153c231de9 /src/gallium
parent00ee308ab3e7da2a2939845e0f0a24b8a0925025 (diff)
nouveau: dst offset is correct
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nv04/nv04_surface_2d.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/nv04/nv04_surface_2d.c b/src/gallium/drivers/nv04/nv04_surface_2d.c
index a8aa12cb8f4..ad11b2fd45a 100644
--- a/src/gallium/drivers/nv04/nv04_surface_2d.c
+++ b/src/gallium/drivers/nv04/nv04_surface_2d.c
@@ -163,11 +163,9 @@ nv04_surface_copy_swizzle(struct nv04_surface_2d *ctx,
}
}
- /* FIXME: need to find next offset for both source and dest */
- src_offset += w * h * dst->block.size;
- /*src_offset = align(src_offset, 64);*/
+ /* FIXME: need to find next offset for source */
+ /*src_offset += w * h * src->block.size;*/
dst_offset += w * h * dst->block.size;
- /*dst_offset = align(dst_offset, 64);*/
src_stride >>= 1;
w >>= 1;
h >>= 1;