diff options
author | Charmaine Lee <[email protected]> | 2017-10-19 16:03:44 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-09-10 13:07:30 -0600 |
commit | 74791b80b9a3d875f27cc3710d282b6e5da3b95f (patch) | |
tree | 6c129655405799037841feaebab6ee318cd6de8b /src/gallium/drivers/svga/svga_surface.h | |
parent | 2d39e6d0c82ce311b6289204e8b2337569b3ef84 (diff) |
svga: fix cubemap array rendering with backed surface view
This patch fixes the layer index when rendering to a
backed surface view of a cubemap array.
Fixes piglit test fbo-generatemipmap-cubemap array.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_surface.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_surface.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_surface.h b/src/gallium/drivers/svga/svga_surface.h index b1a7728084d..587632d0eb6 100644 --- a/src/gallium/drivers/svga/svga_surface.h +++ b/src/gallium/drivers/svga/svga_surface.h @@ -105,6 +105,15 @@ svga_texture_view_surface(struct svga_context *svga, boolean cacheable, struct svga_host_surface_cache_key *key); /* OUT */ +void +svga_texture_copy_region(struct svga_context *svga, + struct svga_winsys_surface *src_handle, + unsigned srcSubResource, + unsigned src_x, unsigned src_y, unsigned src_z, + struct svga_winsys_surface *dst_handle, + unsigned dstSubResource, + unsigned dst_x, unsigned dst_y, unsigned dst_z, + unsigned width, unsigned height, unsigned depth); void svga_texture_copy_handle(struct svga_context *svga, |