svga: stop using pipe_surface::usage
authorMarek Olšák <maraeo@gmail.com>
Sat, 8 Dec 2012 13:53:55 +0000 (14:53 +0100)
committerMarek Olšák <maraeo@gmail.com>
Wed, 12 Dec 2012 12:09:53 +0000 (13:09 +0100)
commitc1f704073b8992f3556c8e44a7fc496e250ba3ae
tree16e92257a438b68b728764c412828034fe784a1e
parent21b1ec69fc846c562f7d3685355315ce66b0f436
svga: stop using pipe_surface::usage

There are only 2 possible usages: render target and depth stencil.
Both can be derived from the surface format, so the flag is redundant.

And it's going away...

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