summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorLeo Liu <leo.liu@amd.com>2017-02-10 10:36:21 -0500
committerMarek Olšák <marek.olsak@amd.com>2017-03-30 14:44:33 +0200
commit6c7870fee867bb9ca5c677bc56ca599fff78dcad (patch)
tree47ca1db880d2b3fd89aa21dd80140894a3bf7368 /src/gallium/drivers
parentc89e771c9ccdcce6c971f07889290382b3deb6b0 (diff)
winsys/surface: add height pitch for gfx9
Signed-off-by: Leo Liu <leo.liu@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeon/radeon_winsys.h1
1 files changed, 1 insertions, 0 deletions
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];