summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Ansanelli <[email protected]>2016-07-03 21:03:04 +0200
committerNicolai Hähnle <[email protected]>2016-07-04 21:26:31 +0200
commit9827fc3f038f551dccc64e3addfaf87e724408f9 (patch)
tree8ef852c596bbaca24cc8918bdeb09f9231410111
parent2a60654f568bc4a3808407a29b5c93007d921d44 (diff)
r600: fix duplicate 'const' declaration
Signed-off-by: Nicolai Hähnle <[email protected]>
-rw-r--r--src/gallium/drivers/r600/evergreen_compute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c
index 8db525e0bf6..6f39c90cc62 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);