Re: [Mesa-dev] [PATCH v2] glsl: use non-null context when cloning variable

2015-06-28 Thread Tapani Pälli
On 06/29/2015 08:34 AM, Kenneth Graunke wrote: On Monday, June 29, 2015 01:13:30 AM Ilia Mirkin wrote: ProgramResourceList might not yet have been initialized. In that case, parent the var to the program. Fixes: c2ff3485b3d (glsl: clone inputs and outputs during linking) Signed-off-by: Ilia M

Re: [Mesa-dev] [PATCH v2] glsl: use non-null context when cloning variable

2015-06-28 Thread Kenneth Graunke
On Monday, June 29, 2015 01:13:30 AM Ilia Mirkin wrote: > ProgramResourceList might not yet have been initialized. In that case, > parent the var to the program. > > Fixes: c2ff3485b3d (glsl: clone inputs and outputs during linking) > Signed-off-by: Ilia Mirkin > Cc: mesa-sta...@lists.freedesktop

[Mesa-dev] [PATCH v2] glsl: use non-null context when cloning variable

2015-06-28 Thread Ilia Mirkin
ProgramResourceList might not yet have been initialized. In that case, parent the var to the program. Fixes: c2ff3485b3d (glsl: clone inputs and outputs during linking) Signed-off-by: Ilia Mirkin Cc: mesa-sta...@lists.freedesktop.org --- v1 -> v2: parent to prog only if the resource list doesn't