r600: fix duplicate 'const' declaration
authorFrancesco Ansanelli <francians@gmail.com>
Sun, 3 Jul 2016 19:03:04 +0000 (21:03 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 4 Jul 2016 19:26:31 +0000 (21:26 +0200)
Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/r600/evergreen_compute.c

index 8db525e0bf6844ef4fb1d4d07c03f0d46ba76da1..6f39c90cc62ae3e7e87e80a4b33f1de25a554c95 100644 (file)
@@ -242,7 +242,7 @@ static void r600_destroy_shader(struct r600_bytecode *bc)
 }
 
 static void *evergreen_create_compute_state(struct pipe_context *ctx,
-                                           const const struct pipe_compute_state *cso)
+                                           const struct pipe_compute_state *cso)
 {
        struct r600_context *rctx = (struct r600_context *)ctx;
        struct r600_pipe_compute *shader = CALLOC_STRUCT(r600_pipe_compute);