[Mesa-dev] [PATCH 01/13] glsl_to_tgsi: Constify mesa_sysval_to_semantic

Emil Velikov emil.l.velikov at gmail.com
Tue Aug 26 14:56:27 PDT 2014


On 21/06/14 02:00, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
> 
Hello Ian,

Looking at this series and it appears that only patches 1-4 (inclusive) made
it in master. Has the rest of it been super-seeded by other patches or did it
slip through the cracks ?

Imho most (all?) of the series does not appear like it is suitable for stable.
Feel free to let me know if you feel otherwise.

-Emil

> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> Cc: Ilia Mirkin <imirkin at alum.mit.edu>
> Cc: Marek Olšák <marek.olsak at amd.com>
> Cc: Roland Scheidegger <sroland at vmware.com>
> Cc: "10.2" <mesa-stable at lists.freedesktop.org>
> ---
>  src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> index cac1e0f..109291d 100644
> --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> @@ -4235,7 +4235,7 @@ struct st_translate {
>  };
>  
>  /** Map Mesa's SYSTEM_VALUE_x to TGSI_SEMANTIC_x */
> -static unsigned mesa_sysval_to_semantic[SYSTEM_VALUE_MAX] = {
> +static const unsigned mesa_sysval_to_semantic[SYSTEM_VALUE_MAX] = {
>     TGSI_SEMANTIC_FACE,
>     TGSI_SEMANTIC_VERTEXID,
>     TGSI_SEMANTIC_INSTANCEID,
> 



More information about the mesa-dev mailing list