summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-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]
};