svga: use untyped surface formats in most cases
authorBrian Paul <brianp@vmware.com>
Thu, 23 Jun 2016 02:42:37 +0000 (20:42 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 30 Jun 2016 20:32:06 +0000 (14:32 -0600)
commiteb0ced74f6decd1bf1e111b162e1389bede89af6
tree442f6ab1cea09ce103c2178acdb99ab5246d52c5
parent5f1335878e26784e2b006622fd315f89b66782f4
svga: use untyped surface formats in most cases

This allows us to do copies between different, but compatible, surface
formats such as RGBA8_UNORM, RGBA8_SINT, RGBA8_UINT, etc. for
GL_ARB_copy_image.

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