summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_test_dma.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-10-23 13:08:46 +0200
committerMarek Olšák <[email protected]>2017-03-30 14:44:33 +0200
commitba2e7c68ce8d37ebd666614a47abb33502b38ce5 (patch)
tree383f02c8864eccdcb98416ae65beb00f455717d0 /src/gallium/drivers/radeon/r600_test_dma.c
parent641b79774ae5f094cf6268b298cbc40d2718e9e8 (diff)
gallium/radeon: move pre-GFX9 radeon_surf.* members to radeon_surf.u.legacy.*
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/r600_test_dma.c b/src/gallium/drivers/radeon/r600_test_dma.c
index 3c23b093294..60294fff924 100644
--- a/src/gallium/drivers/radeon/r600_test_dma.c
+++ b/src/gallium/drivers/radeon/r600_test_dma.c
@@ -277,9 +277,9 @@ void r600_test_dma(struct r600_common_screen *rscreen)
printf("%4u: dst = (%5u x %5u x %u, %s), "
" src = (%5u x %5u x %u, %s), bpp = %2u, ",
i, tdst.width0, tdst.height0, tdst.array_size,
- array_mode_to_string(rdst->surface.level[0].mode),
+ array_mode_to_string(rdst->surface.u.legacy.level[0].mode),
tsrc.width0, tsrc.height0, tsrc.array_size,
- array_mode_to_string(rsrc->surface.level[0].mode), bpp);
+ array_mode_to_string(rsrc->surface.u.legacy.level[0].mode), bpp);
fflush(stdout);
/* set src pixels */