Re: [PATCH] gl-renderer: Add flexible shader generation.

2014-09-10 Thread Gwenole Beauchesne
Hi, 2014-04-08 22:18 GMT+02:00 John Kåre Alsaker : > I need to add lots of shader variants to do color conversions. This is a very valid reason. The original code for YUV to RGB conversion implemented a BT.601 limited color range conversion. It is desired to handle more combinations of (BT.601, B

Re: [PATCH] gl-renderer: Add flexible shader generation.

2014-04-08 Thread John Kåre Alsaker
I need to add lots of shader variants to do color conversions. On Tue, Apr 8, 2014 at 9:56 PM, Jasper St. Pierre wrote: > The code looks good, but I have one question: why? What's the motivation for > adding a generic shader generator? Does this fix any bugs? Add new hardware > support? Do you ha