Re: [Mesa-dev] [PATCH 5/5] mesa: compute the GLSL version in the core

2012-01-23 Thread Marek Olšák
On Mon, Jan 23, 2012 at 10:35 PM, Ian Romanick wrote: > On 01/23/2012 05:54 AM, Brian Paul wrote: >> >> On Sun, Jan 22, 2012 at 4:36 PM, Marek Olšák  wrote: >>> >>> I think the CAP-based approach is the way to expose GLSL 1.3 for st/mesa. >>> The later GLSL versions can be easily derived from expo

Re: [Mesa-dev] [PATCH 5/5] mesa: compute the GLSL version in the core

2012-01-23 Thread Ian Romanick
On 01/23/2012 05:54 AM, Brian Paul wrote: On Sun, Jan 22, 2012 at 4:36 PM, Marek Olšák wrote: I think the CAP-based approach is the way to expose GLSL 1.3 for st/mesa. The later GLSL versions can be easily derived from exposed extensions, it's just GLSL 1.3 that is tricky. Comments welcome. ---

Re: [Mesa-dev] [PATCH 5/5] mesa: compute the GLSL version in the core

2012-01-23 Thread Brian Paul
On Sun, Jan 22, 2012 at 4:36 PM, Marek Olšák wrote: > I think the CAP-based approach is the way to expose GLSL 1.3 for st/mesa. > The later GLSL versions can be easily derived from exposed extensions, > it's just GLSL 1.3 that is tricky. Comments welcome. > --- >  src/mesa/drivers/dri/intel/intel_

[Mesa-dev] [PATCH 5/5] mesa: compute the GLSL version in the core

2012-01-22 Thread Marek Olšák
I think the CAP-based approach is the way to expose GLSL 1.3 for st/mesa. The later GLSL versions can be easily derived from exposed extensions, it's just GLSL 1.3 that is tricky. Comments welcome. --- src/mesa/drivers/dri/intel/intel_extensions.c |9 +-- src/mesa/drivers/dri/intel/intel_scre