diff options
author | Christian König <[email protected]> | 2016-01-14 15:01:39 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2016-03-17 14:17:06 +0100 |
commit | 5aea0d691988af945e09e1d7cca28ca0759cc309 (patch) | |
tree | 21dc9eeb48b981b908a7e2b4b51565a5ae27516e /src/gallium/drivers/radeon/r600_texture.c | |
parent | 04bc082f6a8bfc3b3774bb102d3200317609432e (diff) |
radeon/winsys: add layer support for BO export
Add layer support to export individual array layers.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_texture.c')
-rw-r--r-- | src/gallium/drivers/radeon/r600_texture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index 15818aaae6f..1ad70765781 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -374,6 +374,7 @@ static boolean r600_texture_get_handle(struct pipe_screen* screen, return rscreen->ws->buffer_get_handle(res->buf, rtex->surface.level[0].pitch_bytes, rtex->surface.level[0].offset, + rtex->surface.level[0].slice_size, whandle); } |