From 25409c6da8163d9acb386511aef0c11577c7aadb Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 8 Dec 2012 15:37:17 +0100 Subject: gallium: remove pipe_surface::usage Not really used by anybody now. Reviewed-by: Brian Paul --- src/gallium/drivers/radeonsi/r600_texture.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gallium/drivers/radeonsi/r600_texture.c') diff --git a/src/gallium/drivers/radeonsi/r600_texture.c b/src/gallium/drivers/radeonsi/r600_texture.c index 676f4a9780a..fdfc8f3fa28 100644 --- a/src/gallium/drivers/radeonsi/r600_texture.c +++ b/src/gallium/drivers/radeonsi/r600_texture.c @@ -562,7 +562,6 @@ static struct pipe_surface *r600_create_surface(struct pipe_context *pipe, surface->base.format = surf_tmpl->format; surface->base.width = rtex->surface.level[level].npix_x; surface->base.height = rtex->surface.level[level].npix_y; - surface->base.usage = surf_tmpl->usage; surface->base.texture = texture; surface->base.u.tex.first_layer = surf_tmpl->u.tex.first_layer; surface->base.u.tex.last_layer = surf_tmpl->u.tex.last_layer; -- cgit v1.2.3