diff options
author | Christian König <[email protected]> | 2016-01-14 13:51:18 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2016-03-17 14:16:59 +0100 |
commit | f1e78a48f2ec2645eb87d134c6961815dc89a307 (patch) | |
tree | a6ddb30db50095c5cc8fbc87de911dfba2e95d5e /src/gallium/include/state_tracker | |
parent | 29d26f1522d7f7be8f7d7791e37c3fcd8ac4544a (diff) |
gallium/winsys/drm: add layer to struct winsys_handle
For exporting a specific layer of an array texture.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include/state_tracker')
-rw-r--r-- | src/gallium/include/state_tracker/drm_driver.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/drm_driver.h b/src/gallium/include/state_tracker/drm_driver.h index d81da8911e0..fefab11cccd 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. */ |