Re: [Mesa-dev] [PATCH v2 08/24] mesa: glGetProgramResourceLocationIndex

2015-04-13 Thread Martin Peres
On 01/04/15 15:14, Tapani Pälli wrote: Patch adds required helper functions to shaderapi.h and the actual implementation. The added functionality can be tested by tests for following functions that are refactored by later patches: GetFragDataIndex v2: return -1 if output not referenced by

[Mesa-dev] [PATCH v2 08/24] mesa: glGetProgramResourceLocationIndex

2015-04-01 Thread Tapani Pälli
Patch adds required helper functions to shaderapi.h and the actual implementation. The added functionality can be tested by tests for following functions that are refactored by later patches: GetFragDataIndex v2: return -1 if output not referenced by fragment stage (Ilia Mirkin) Signed-o