aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_test_dma.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-10-23 21:26:43 +0200
committerMarek Olšák <[email protected]>2016-10-26 13:02:58 +0200
commit2a2e53757796b3fed3119cb033e5cf5144843850 (patch)
tree760336dd10360929fb72761c9d5d9a2d88e48a31 /src/gallium/drivers/radeon/r600_test_dma.c
parent67a44c97afb72812639039eb4594592c91c9ead5 (diff)
gallium/radeon: rename bo_size -> surf_size, bo_alignment -> surf_alignment
these names were misleading. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_test_dma.c')
-rw-r--r--src/gallium/drivers/radeon/r600_test_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_test_dma.c b/src/gallium/drivers/radeon/r600_test_dma.c
index 1e60f6affa7..7f4a8c0113d 100644
--- a/src/gallium/drivers/radeon/r600_test_dma.c
+++ b/src/gallium/drivers/radeon/r600_test_dma.c
@@ -301,7 +301,7 @@ void r600_test_dma(struct r600_common_screen *rscreen)
set_random_pixels(ctx, src, &src_cpu);
/* clear dst pixels */
- rctx->clear_buffer(ctx, dst, 0, rdst->surface.bo_size, 0, true);
+ rctx->clear_buffer(ctx, dst, 0, rdst->surface.surf_size, 0, true);
memset(dst_cpu.ptr, 0, dst_cpu.layer_stride * tdst.array_size);
/* preparation */