[Mesa-dev] [PATCH] gallium: Remove unused variable in u_tests.

Eric Anholt eric at anholt.net
Tue Nov 27 19:26:15 UTC 2018


Fixes: 0d17b685b1ff ("gallium/u_tests: add a compute shader test that clears an image")
---
 src/gallium/auxiliary/util/u_tests.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/auxiliary/util/u_tests.c b/src/gallium/auxiliary/util/u_tests.c
index 7c4e98402bef..365d4fa8f171 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);
-- 
2.20.0.rc1



More information about the mesa-dev mailing list