summaryrefslogtreecommitdiff
path: root/src/gallium/tests
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2012-12-21 16:56:41 +0100
committerMarek Olšák <maraeo@gmail.com>2012-12-21 23:41:41 +0100
commit6d49ffde11ddb4a9391172a6e9a4e3ad3eb87ded (patch)
treef13e2bb7b4744fb0b770fa5615f32be5f7d13d90 /src/gallium/tests
parent46e3aeb07702f57d389fbfcade9d4ef66218dc53 (diff)
gallium/tests: fix build breakage after pipe_surface::usage removal
Diffstat (limited to 'src/gallium/tests')
-rw-r--r--src/gallium/tests/trivial/compute.c1
1 files changed, 0 insertions, 1 deletions
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]
};