Module: Mesa Branch: master Commit: f1e78a48f2ec2645eb87d134c6961815dc89a307 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1e78a48f2ec2645eb87d134c6961815dc89a307
Author: Christian König <christian.koe...@amd.com> Date: Thu Jan 14 13:51:18 2016 +0100 gallium/winsys/drm: add layer to struct winsys_handle For exporting a specific layer of an array texture. Signed-off-by: Christian König <christian.koe...@amd.com> Reviewed-by: Marek Olšák <marek.ol...@amd.com> --- src/gallium/include/state_tracker/drm_driver.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gallium/include/state_tracker/drm_driver.h b/src/gallium/include/state_tracker/drm_driver.h index d81da89..fefab11 100644 --- a/src/gallium/include/state_tracker/drm_driver.h +++ b/src/gallium/include/state_tracker/drm_driver.h @@ -26,6 +26,11 @@ struct winsys_handle */ 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. */ _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit