summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/state_tracker/drm_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/include/state_tracker/drm_driver.h')
-rw-r--r--src/gallium/include/state_tracker/drm_driver.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/drm_driver.h b/src/gallium/include/state_tracker/drm_driver.h
index 959a762..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.
*/
@@ -35,6 +40,11 @@ struct winsys_handle
* Output for texture_get_handle.
*/
unsigned stride;
+ /**
+ * Input to texture_from_handle.
+ * Output for texture_get_handle.
+ */
+ unsigned offset;
};