aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2019-08-02 13:52:29 -0700
committerJordan Justen <[email protected]>2019-08-13 01:12:29 -0700
commitc5c23654557531d3c03b2400fa5838de87a135fd (patch)
tree1954fe7790fc0db0b998290e2723616e86e6d2d8 /src/gallium/include
parent2066966c10692a223271b471e733573df6c5b783 (diff)
state_tracker/winsys_handle: Add plane input field
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/state_tracker/winsys_handle.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/winsys_handle.h b/src/gallium/include/state_tracker/winsys_handle.h
index 167c1a937fd..53d2fd2b70d 100644
--- a/src/gallium/include/state_tracker/winsys_handle.h
+++ b/src/gallium/include/state_tracker/winsys_handle.h
@@ -29,6 +29,11 @@ struct winsys_handle
*/
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.
*/