Re: [Mesa-dev] [PATCH 5/6] svga: stop using pipe_surface::usage

2012-12-10 Thread Brian Paul
On 12/08/2012 07:40 AM, Marek Olšák wrote: 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 ___ mesa-dev mailing

[Mesa-dev] [PATCH 5/6] svga: stop using pipe_surface::usage

2012-12-08 Thread Marek Olšák
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... --- src/gallium/drivers/svga/svga_surface.c | 22 +++--- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git