Mesa (master): r600: fix duplicate 'const' declaration

Nicolai Hähnle nh at kemper.freedesktop.org
Mon Jul 4 19:27:13 UTC 2016


Module: Mesa
Branch: master
Commit: 9827fc3f038f551dccc64e3addfaf87e724408f9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9827fc3f038f551dccc64e3addfaf87e724408f9

Author: Francesco Ansanelli <francians at gmail.com>
Date:   Sun Jul  3 21:03:04 2016 +0200

r600: fix duplicate 'const' declaration

Signed-off-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

---

 src/gallium/drivers/r600/evergreen_compute.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c
index 8db525e..6f39c90 100644
--- a/src/gallium/drivers/r600/evergreen_compute.c
+++ b/src/gallium/drivers/r600/evergreen_compute.c
@@ -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);




More information about the mesa-commit mailing list