Mesa (master): gallium/tests: fix build breakage after pipe_surface:: usage removal

Marek Olšák mareko at kemper.freedesktop.org
Fri Dec 21 22:46:55 UTC 2012


Module: Mesa
Branch: master
Commit: 6d49ffde11ddb4a9391172a6e9a4e3ad3eb87ded
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d49ffde11ddb4a9391172a6e9a4e3ad3eb87ded

Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Dec 21 16:56:41 2012 +0100

gallium/tests: fix build breakage after pipe_surface::usage removal

---

 src/gallium/tests/trivial/compute.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/tests/trivial/compute.c b/src/gallium/tests/trivial/compute.c
index a6ebc7c..58b1788 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]
                 };
 




More information about the mesa-commit mailing list