From: Marek Olšák Date: Fri, 21 Dec 2012 15:56:41 +0000 (+0100) Subject: gallium/tests: fix build breakage after pipe_surface::usage removal X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d49ffde11ddb4a9391172a6e9a4e3ad3eb87ded;p=mesa.git gallium/tests: fix build breakage after pipe_surface::usage removal --- diff --git a/src/gallium/tests/trivial/compute.c b/src/gallium/tests/trivial/compute.c index a6ebc7cd235..58b1788a03c 100644 --- a/src/gallium/tests/trivial/compute.c +++ b/src/gallium/tests/trivial/compute.c @@ -338,7 +338,6 @@ static void init_compute_resources(struct context *ctx, const int *slots) for (i = 0; *slots >= 0; ++i, ++slots) { struct pipe_surface tsurf = { .format = ctx->tex[*slots]->format, - .usage = ctx->tex[*slots]->bind, .writable = ctx->tex_rw[*slots] };