state_tracker/winsys_handle: Add plane input field
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 2 Aug 2019 20:52:29 +0000 (13:52 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 13 Aug 2019 08:12:29 +0000 (01:12 -0700)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Eric Anholt <eric@anholt.net>
src/gallium/include/state_tracker/winsys_handle.h

index 167c1a937fda696f123207b7a63b1bdca7be8831..53d2fd2b70d9be282c9d9f254c33231b3edd07d3 100644 (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.