From: Christian König Date: Thu, 14 Jan 2016 12:51:18 +0000 (+0100) Subject: gallium/winsys/drm: add layer to struct winsys_handle X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1e78a48f2ec2645eb87d134c6961815dc89a307;p=mesa.git gallium/winsys/drm: add layer to struct winsys_handle For exporting a specific layer of an array texture. Signed-off-by: Christian König Reviewed-by: Marek Olšák --- diff --git a/src/gallium/include/state_tracker/drm_driver.h b/src/gallium/include/state_tracker/drm_driver.h index d81da8911e0..fefab11cccd 100644 --- a/src/gallium/include/state_tracker/drm_driver.h +++ b/src/gallium/include/state_tracker/drm_driver.h @@ -25,6 +25,11 @@ struct winsys_handle * to select handle for kms, flink, or prime. */ unsigned type; + /** + * Input for texture_get_handle, allows to export the offset + * of a specific layer of an array texture. + */ + unsigned layer; /** * Input to texture_from_handle. * Output for texture_get_handle.