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 7:

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 allocate gl_shader_variable i

[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 ++- src/mesa/main/mtypes.h | 56