svga: Cleanup format capability checking.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 27 Apr 2011 11:02:08 +0000 (12:02 +0100)
committerBrian Paul <brianp@vmware.com>
Fri, 23 Sep 2011 13:58:47 +0000 (07:58 -0600)
commit974b6413f4540d73c21c092cc0a62abb6d546e21
tree6495d855498199c6fbdd61591bc6ec8b02d550e3
parentffeed5da6e568836867f09f1acb7ce660d091d4a
svga: Cleanup format capability checking.

Accurately describe what operations are supported when a format caps
entry is not advertised by the host, and which formats are never
supported, instead of making ad-hoc and often incorrect assumptions.
src/gallium/drivers/svga/Makefile.sources
src/gallium/drivers/svga/svga_format.c [new file with mode: 0644]
src/gallium/drivers/svga/svga_format.h [new file with mode: 0644]
src/gallium/drivers/svga/svga_resource_texture.c
src/gallium/drivers/svga/svga_resource_texture.h
src/gallium/drivers/svga/svga_sampler_view.c
src/gallium/drivers/svga/svga_screen.c
src/gallium/drivers/svga/svga_surface.c