[Mesa-dev] [RFC PATCH 05/56] mesa/main: Add tessellation shader state and limits

Matt Turner mattst88 at gmail.com
Sat Sep 20 19:41:48 PDT 2014


On Sat, Sep 20, 2014 at 6:40 PM, Chris Forbes <chrisf at ijw.co.nz> wrote:
> diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
> index 79d2e94..c11ad4f 100644
> --- a/src/mesa/main/shaderapi.c
> +++ b/src/mesa/main/shaderapi.c
> @@ -105,6 +105,7 @@ _mesa_get_shader_flags(void)
>  void
>  _mesa_init_shader_state(struct gl_context *ctx)
>  {
> +   int i;

In context, this declaration looks odd. Move it below the two just
after this hunk?

>     /* Device drivers may override these to control what kind of instructions
>      * are generated by the GLSL compiler.
>      */


More information about the mesa-dev mailing list