From 13626b46f12eaa5ffb6c3eb72eea755e739b0b01 Mon Sep 17 00:00:00 2001 From: Gurchetan Singh Date: Fri, 30 Nov 2018 14:31:36 -0800 Subject: virgl: store layer_stride in metadata Reviewed-by: Elie Tournier --- src/gallium/drivers/virgl/virgl_resource.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/virgl/virgl_resource.h') diff --git a/src/gallium/drivers/virgl/virgl_resource.h b/src/gallium/drivers/virgl/virgl_resource.h index 1a43e5ddc5d..5faedb47866 100644 --- a/src/gallium/drivers/virgl/virgl_resource.h +++ b/src/gallium/drivers/virgl/virgl_resource.h @@ -40,6 +40,7 @@ struct virgl_resource_metadata { unsigned long level_offset[VR_MAX_TEXTURE_2D_LEVELS]; unsigned stride[VR_MAX_TEXTURE_2D_LEVELS]; + unsigned layer_stride[VR_MAX_TEXTURE_2D_LEVELS]; uint32_t total_size; }; -- cgit v1.2.3