[Mesa-dev] [PATCH] r600: fix duplicate 'const' declaration

Nicolai Hähnle nhaehnle at gmail.com
Mon Jul 4 19:27:23 UTC 2016


Pushed, thanks!

On 03.07.2016 21:03, francians at gmail.com wrote:
> From: Francesco Ansanelli <francians at gmail.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-dev mailing list