state_tracker/winsys_handle: Add plane input field

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Jordan Justen 2019-08-02 13:52:29 -07:00
parent 2066966c10
commit c5c2365455
No known key found for this signature in database
GPG key ID: 37F99F68CAF992EB

View file

@ -28,6 +28,11 @@ struct winsys_handle
* of a specific layer of an array texture.
*/
unsigned layer;
/**
* Input for texture_get_handle, allows to export of a specific plane of a
* texture.
*/
unsigned plane;
/**
* Input to texture_from_handle.
* Output for texture_get_handle.