[Mesa-dev] [PATCH] mesa: remove unused LocalSizeVariable
Samuel Pitoiset
samuel.pitoiset at gmail.com
Wed Oct 19 08:11:23 UTC 2016
Ah, I probably forgot to remove it in the later revisions of my
ARB_compute_variable_group_size series.
Thanks.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
On 10/19/2016 01:51 AM, Timothy Arceri wrote:
> Cc: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> Cc: Kenneth Graunke <kenneth at whitecape.org>
> ---
> src/mesa/main/mtypes.h | 5 -----
> src/mesa/main/shaderapi.c | 1 -
> 2 files changed, 6 deletions(-)
>
> diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
> index ff20226..f4a9edd 100644
> --- a/src/mesa/main/mtypes.h
> +++ b/src/mesa/main/mtypes.h
> @@ -2078,11 +2078,6 @@ struct gl_compute_program
> * Size of shared variables accessed by the compute shader.
> */
> unsigned SharedSize;
> -
> - /**
> - * Whether a variable work group size has been specified.
> - */
> - bool LocalSizeVariable;
> };
>
>
> diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
> index c40bb2d..1af1c3f 100644
> --- a/src/mesa/main/shaderapi.c
> +++ b/src/mesa/main/shaderapi.c
> @@ -2212,7 +2212,6 @@ _mesa_copy_linked_program_data(gl_shader_stage type,
> for (i = 0; i < 3; i++)
> dst_cp->LocalSize[i] = src->Comp.LocalSize[i];
> dst_cp->SharedSize = src->Comp.SharedSize;
> - dst_cp->LocalSizeVariable = src->Comp.LocalSizeVariable;
> break;
> }
> default:
>
--
-Samuel
More information about the mesa-dev
mailing list