gallium/winsys/drm: add layer to struct winsys_handle
[mesa.git] / src / gallium / include / state_tracker / drm_driver.h
index d81da8911e02db939210bad88a61ce99dff74b0d..fefab11cccde0b4d653ed6f5b05deb648f1a6bdc 100644 (file)
@@ -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.