Re: [Mesa-dev] [PATCH 2/2] mesa: fix GetProgramiv/GetActiveAttrib regression

2015-10-05 Thread Tapani Pälli
On 10/05/2015 10:38 AM, Ilia Mirkin wrote: On Mon, Oct 5, 2015 at 3:33 AM, Tapani Pälli wrote: On 10/05/2015 10:21 AM, Ilia Mirkin wrote: On Mon, Oct 5, 2015 at 3:14 AM, Tapani Pälli wrote: Commit 4639cea2921669527eb43dcb49724c05afb27e8e added packed varyings as part of program resourc

Re: [Mesa-dev] [PATCH 2/2] mesa: fix GetProgramiv/GetActiveAttrib regression

2015-10-05 Thread Ilia Mirkin
On Mon, Oct 5, 2015 at 3:33 AM, Tapani Pälli wrote: > > > On 10/05/2015 10:21 AM, Ilia Mirkin wrote: >> >> On Mon, Oct 5, 2015 at 3:14 AM, Tapani Pälli >> wrote: >>> >>> Commit 4639cea2921669527eb43dcb49724c05afb27e8e added packed varyings >>> as part of program resource list. We need to take thi

Re: [Mesa-dev] [PATCH 2/2] mesa: fix GetProgramiv/GetActiveAttrib regression

2015-10-05 Thread Tapani Pälli
On 10/05/2015 10:21 AM, Ilia Mirkin wrote: On Mon, Oct 5, 2015 at 3:14 AM, Tapani Pälli wrote: Commit 4639cea2921669527eb43dcb49724c05afb27e8e added packed varyings as part of program resource list. We need to take this to account with all functions dealing with active input attributes. Don

Re: [Mesa-dev] [PATCH 2/2] mesa: fix GetProgramiv/GetActiveAttrib regression

2015-10-05 Thread Ilia Mirkin
On Mon, Oct 5, 2015 at 3:14 AM, Tapani Pälli wrote: > Commit 4639cea2921669527eb43dcb49724c05afb27e8e added packed varyings > as part of program resource list. We need to take this to account with > all functions dealing with active input attributes. Don't you have this same problem with output a

[Mesa-dev] [PATCH 2/2] mesa: fix GetProgramiv/GetActiveAttrib regression

2015-10-05 Thread Tapani Pälli
Commit 4639cea2921669527eb43dcb49724c05afb27e8e added packed varyings as part of program resource list. We need to take this to account with all functions dealing with active input attributes. Patch fixes the issue by adding additional check to is_active_attrib and iterating only active attribs (n