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

Ian Romanick idr at freedesktop.org
Tue Sep 30 08:50:13 PDT 2014


On 09/20/2014 07:41 PM, Matt Turner wrote:
> 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?

Not in core Mesa where we have to do dumb ol' C89. :(

>>     /* Device drivers may override these to control what kind of instructions
>>      * are generated by the GLSL compiler.
>>      */
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list