gallium/tests: fix build breakage after pipe_surface::usage removal
authorMarek Olšák <maraeo@gmail.com>
Fri, 21 Dec 2012 15:56:41 +0000 (16:56 +0100)
committerMarek Olšák <maraeo@gmail.com>
Fri, 21 Dec 2012 22:41:41 +0000 (23:41 +0100)
src/gallium/tests/trivial/compute.c

index a6ebc7cd235f8e947070f4540aab68881bfa1ca7..58b1788a03c3e6ef19913ccc7eb741d6661e2d6d 100644 (file)
@@ -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]
                 };