diff options
author | Patrice Mandin <patmandin@gmail.com> | 2009-02-10 18:44:08 +0100 |
---|---|---|
committer | Patrice Mandin <patmandin@gmail.com> | 2009-02-10 18:44:27 +0100 |
commit | 02401cbaf021833c77c501d697d912f295546f58 (patch) | |
tree | 0726c26a79acf0d0171c937012c762153c231de9 /src/gallium/drivers | |
parent | 00ee308ab3e7da2a2939845e0f0a24b8a0925025 (diff) |
nouveau: dst offset is correct
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/nv04/nv04_surface_2d.c | 6 |
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 a8aa12cb8f..ad11b2fd45 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; |