svga: fix cubemap array rendering with backed surface view

Graphics / Mesa 3D Graphics Library / Mesa - Charmaine Lee [vmware.com] - 10 September 2018 19:07 EDT

This patch fixes the layer index when rendering to a backed surface view of a cubemap array.

Fixes piglit test fbo-generatemipmap-cubemap array.

74791b80b9 svga: fix cubemap array rendering with backed surface view
src/gallium/drivers/svga/svga_surface.c | 86 ++++++++++++++++++++++++++++-----
src/gallium/drivers/svga/svga_surface.h | 9 ++++
2 files changed, 83 insertions(+), 12 deletions(-)

Upstream: cgit.freedesktop.org


  • Share