summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2018-11-27 11:25:09 -0800
committerEric Anholt <eric@anholt.net>2018-11-27 15:02:57 -0800
commit55edafa73eccbb0cd04f5203dd47bc0840eda956 (patch)
treedd299e94a64e2bdd5928e939979455ddc7686e4f
parent6569644bb6e1f58fd739d83bd4dc42e6af6b6097 (diff)
gallium: Remove unused variable in u_tests.
Fixes: 0d17b685b1ff ("gallium/u_tests: add a compute shader test that clears an image") Reviewed-by: Marek Olšák <marek.olsak@amd.com>
-rw-r--r--src/gallium/auxiliary/util/u_tests.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_tests.c b/src/gallium/auxiliary/util/u_tests.c
index 7c4e98402be..365d4fa8f17 100644
--- a/src/gallium/auxiliary/util/u_tests.c
+++ b/src/gallium/auxiliary/util/u_tests.c
@@ -792,7 +792,6 @@ test_compute_clear_image(struct pipe_context *ctx)
{
struct cso_context *cso;
struct pipe_resource *cb;
- struct pipe_sampler_view *view = NULL;
const char *text;
cso = cso_create_context(ctx, 0);