Re: [RFC weston 0/2] Adding a more flexible shader generation

2012-11-15 Thread John Kåre Alsaker
On Thu, Nov 15, 2012 at 11:01 AM, Ander Conselvan de Oliveira wrote: > On 11/14/2012 05:41 PM, John Kåre Alsaker wrote: >> >> These two patches adds a flexible shader generation which is based on >> concatenating strings instead of duplicating them into a lot of literals. >> This becomes more usef

Re: [RFC weston 0/2] Adding a more flexible shader generation

2012-11-15 Thread Ander Conselvan de Oliveira
On 11/14/2012 05:41 PM, John Kåre Alsaker wrote: These two patches adds a flexible shader generation which is based on concatenating strings instead of duplicating them into a lot of literals. This becomes more useful as I add shader variants for converting to/from sRGB gamma and it also allow

[RFC weston 0/2] Adding a more flexible shader generation

2012-11-14 Thread John Kåre Alsaker
These two patches adds a flexible shader generation which is based on concatenating strings instead of duplicating them into a lot of literals. This becomes more useful as I add shader variants for converting to/from sRGB gamma and it also allows me to easily get rid of the alpha uniform used fo