Re: [Mesa-dev] [PATCH 05/23] mesa: glGetProgramResourceName

2015-03-17 Thread Tapani Pälli
On 03/16/2015 07:16 PM, Ilia Mirkin wrote: On Fri, Mar 13, 2015 at 4:37 AM, Tapani Pälli wrote: Patch adds required helper functions to shaderapi.h and the actual implementation. Name generation copied from '_mesa_get_uniform_name' which can be removed later by refactoring functions to use r

Re: [Mesa-dev] [PATCH 05/23] mesa: glGetProgramResourceName

2015-03-16 Thread Ilia Mirkin
On Fri, Mar 13, 2015 at 4:37 AM, Tapani Pälli wrote: > Patch adds required helper functions to shaderapi.h and > the actual implementation. > > Name generation copied from '_mesa_get_uniform_name' which can > be removed later by refactoring functions to use resource list. > > The added functionali

[Mesa-dev] [PATCH 05/23] mesa: glGetProgramResourceName

2015-03-13 Thread Tapani Pälli
Patch adds required helper functions to shaderapi.h and the actual implementation. Name generation copied from '_mesa_get_uniform_name' which can be removed later by refactoring functions to use resource list. The added functionality can be tested by tests for following functions that are refacto