svga: fixed surface size to include array size
authorCharmaine Lee <charmainel@vmware.com>
Tue, 6 Jun 2017 18:52:50 +0000 (11:52 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 30 Jun 2017 14:24:27 +0000 (08:24 -0600)
commitadead35320c0afe95f3f170a6047905179f8c6c3
treef7bc80080d28c086bad5dcbdf3678e7590f2402a
parent31fe1d10b291bcd1b9ee376d53db05028719831d
svga: fixed surface size to include array size

This patch fixes the total surface size in surface cache
to include array size as well.

Tested with MTT glretrace.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_screen_cache.c