svga: adjust render target view format for RGBX
authorBrian Paul <brianp@vmware.com>
Mon, 27 Jun 2016 17:15:07 +0000 (11:15 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 30 Jun 2016 20:32:07 +0000 (14:32 -0600)
commit1049002eaeb39e1dfa728894b3681534a0142ba8
treef94a7c029ddb847f803acd76f33e515129e07399
parent429ace2fbc8b647473e5aa6bf6c4ec381c3ff296
svga: adjust render target view format for RGBX

For GL_ARB_copy_image we may be asked to create an RGBA view of
a RGBX surface.  Use an RGBX view format for that case.

Acked-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_surface.c