Re: [Mesa-dev] [PATCH] mesa: use gl_shader_variable in program resource list

2016-01-03 Thread Tapani Pälli
On 12/30/2015 09:53 PM, Marek Olšák wrote: On Mon, Nov 2, 2015 at 10:12 AM, Tapani Pälli wrote: On 11/02/2015 09:16 AM, Ilia Mirkin wrote: On Mon, Nov 2, 2015 at 1:58 AM, Tapani Pälli wrote: Patch changes linker to allocate

Re: [Mesa-dev] [PATCH] mesa: use gl_shader_variable in program resource list

2015-12-30 Thread Marek Olšák
On Mon, Nov 2, 2015 at 10:12 AM, Tapani Pälli wrote: > > > On 11/02/2015 09:16 AM, Ilia Mirkin wrote: >> >> On Mon, Nov 2, 2015 at 1:58 AM, Tapani Pälli >> wrote: >>> >>> Patch changes linker to allocate gl_shader_variable instead of using >>>

Re: [Mesa-dev] [PATCH] mesa: use gl_shader_variable in program resource list

2015-11-02 Thread Tapani Pälli
On 11/02/2015 09:16 AM, Ilia Mirkin wrote: On Mon, Nov 2, 2015 at 1:58 AM, Tapani Pälli wrote: Patch changes linker to allocate gl_shader_variable instead of using ir_variable. This makes it possible to get rid of ir_variables and ir in memory after linking. v2:

Re: [Mesa-dev] [PATCH] mesa: use gl_shader_variable in program resource list

2015-11-01 Thread Ilia Mirkin
On Mon, Nov 2, 2015 at 1:58 AM, Tapani Pälli wrote: > Patch changes linker to allocate gl_shader_variable instead of using > ir_variable. This makes it possible to get rid of ir_variables and ir > in memory after linking. > > v2: check that we do not create duplicate

[Mesa-dev] [PATCH] mesa: use gl_shader_variable in program resource list

2015-11-01 Thread Tapani Pälli
Patch changes linker to allocate gl_shader_variable instead of using ir_variable. This makes it possible to get rid of ir_variables and ir in memory after linking. v2: check that we do not create duplicate entries with packed varyings Signed-off-by: Tapani Pälli ---

Re: [Mesa-dev] [PATCH] mesa: use gl_shader_variable in program resource list WIP

2015-10-12 Thread Tapani Pälli
On 10/09/2015 07:25 PM, Marek Olšák wrote: Hi, I like the idea. I started working on this too, but stopped because of other things: http://cgit.freedesktop.org/~mareko/mesa/commit/?id=d5266d5c22ba798c105b95c8f227faf8f04718af Cool, then I will pursue this way. Marek On Fri, Oct 9, 2015 at

Re: [Mesa-dev] [PATCH] mesa: use gl_shader_variable in program resource list WIP

2015-10-09 Thread Marek Olšák
Hi, I like the idea. I started working on this too, but stopped because of other things: http://cgit.freedesktop.org/~mareko/mesa/commit/?id=d5266d5c22ba798c105b95c8f227faf8f04718af Marek On Fri, Oct 9, 2015 at 7:57 AM, Tapani Pälli wrote: > Patch changes linker to

[Mesa-dev] [PATCH] mesa: use gl_shader_variable in program resource list WIP

2015-10-08 Thread Tapani Pälli
Patch changes linker to allocate gl_shader_variable instead of using ir_variable. This makes it possible to get rid of ir_variables and ir as a whole. Signed-off-by: Tapani Pälli --- src/glsl/linker.cpp| 42 ++-