Re: [Mesa-dev] [PATCH 01/21] glsl: make static constant variables "static const"

2014-05-02 Thread Ian Romanick
Reviewed-by: Ian Romanick This one seems low-impact enough that I went ahead and pushed it... so that it would be in 10.2. On 04/22/2014 01:58 AM, Chia-I Wu wrote: > This allows them to be moved to .rodata, and allow us to be sure that they > will not be modified. > > Signed-off-by: Chia-I Wu

[Mesa-dev] [PATCH 01/21] glsl: make static constant variables "static const"

2014-04-22 Thread Chia-I Wu
This allows them to be moved to .rodata, and allow us to be sure that they will not be modified. Signed-off-by: Chia-I Wu --- src/glsl/builtin_types.cpp | 2 +- src/glsl/builtin_variables.cpp | 63 + src/glsl/glsl_parser.yy | 4 +-- src/gls