svga: fix cubemap array rendering with backed surface view
authorCharmaine Lee <charmainel@vmware.com>
Thu, 19 Oct 2017 23:03:44 +0000 (16:03 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
commit74791b80b9a3d875f27cc3710d282b6e5da3b95f
tree6c129655405799037841feaebab6ee318cd6de8b
parent2d39e6d0c82ce311b6289204e8b2337569b3ef84
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 <brianp@vmware.com>
src/gallium/drivers/svga/svga_surface.c
src/gallium/drivers/svga/svga_surface.h