OSDN Git Service

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 a6ebc7c..58b1788 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]
                 };