From 6c7870fee867bb9ca5c677bc56ca599fff78dcad Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Fri, 10 Feb 2017 10:36:21 -0500 Subject: winsys/surface: add height pitch for gfx9 Signed-off-by: Leo Liu Acked-by: Alex Deucher --- src/gallium/drivers/radeon/radeon_winsys.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/radeon/radeon_winsys.h') diff --git a/src/gallium/drivers/radeon/radeon_winsys.h b/src/gallium/drivers/radeon/radeon_winsys.h index 78391703479..43f74f653e4 100644 --- a/src/gallium/drivers/radeon/radeon_winsys.h +++ b/src/gallium/drivers/radeon/radeon_winsys.h @@ -363,6 +363,7 @@ struct gfx9_surf_layout { /* The size of the 2D plane containing all mipmap levels. */ uint64_t surf_slice_size; uint16_t surf_pitch; /* in blocks */ + uint16_t surf_height; /* Y mipmap level offset in blocks. Only valid for LINEAR. */ uint16_t surf_ymip_offset[RADEON_SURF_MAX_LEVELS]; -- cgit v1.2.3