Re: [Mesa-dev] Split gl_shader in two and clean-ups

2016-06-29 Thread Timothy Arceri
On Thu, 2016-06-30 at 08:15 +0200, Iago Toral wrote: > On Wed, 2016-06-29 at 23:12 +1000, Timothy Arceri wrote: > > On Wed, 2016-06-29 at 14:42 +0200, Iago Toral wrote: > > > On Wed, 2016-06-29 at 14:40 +0200, Iago Toral wrote: > > > > On Tue, 2016-06-28 at 16:30 +0200, Iago Toral wrote: > > > > >

Re: [Mesa-dev] Split gl_shader in two and clean-ups

2016-06-29 Thread Iago Toral
On Wed, 2016-06-29 at 23:12 +1000, Timothy Arceri wrote: > On Wed, 2016-06-29 at 14:42 +0200, Iago Toral wrote: > > On Wed, 2016-06-29 at 14:40 +0200, Iago Toral wrote: > > > On Tue, 2016-06-28 at 16:30 +0200, Iago Toral wrote: > > > > On Tue, 2016-06-28 at 11:52 +1000, Timothy Arceri wrote: > > >

Re: [Mesa-dev] Split gl_shader in two and clean-ups

2016-06-29 Thread Timothy Arceri
On Wed, 2016-06-29 at 14:42 +0200, Iago Toral wrote: > On Wed, 2016-06-29 at 14:40 +0200, Iago Toral wrote: > > On Tue, 2016-06-28 at 16:30 +0200, Iago Toral wrote: > > > On Tue, 2016-06-28 at 11:52 +1000, Timothy Arceri wrote: > > > > There are two distinctly different uses of this struct. The > >

Re: [Mesa-dev] Split gl_shader in two and clean-ups

2016-06-29 Thread Iago Toral
On Wed, 2016-06-29 at 14:40 +0200, Iago Toral wrote: > On Tue, 2016-06-28 at 16:30 +0200, Iago Toral wrote: > > On Tue, 2016-06-28 at 11:52 +1000, Timothy Arceri wrote: > > > There are two distinctly different uses of this struct. The first > > > is to store GL shader objects. The second is to stor

Re: [Mesa-dev] Split gl_shader in two and clean-ups

2016-06-29 Thread Iago Toral
On Tue, 2016-06-28 at 16:30 +0200, Iago Toral wrote: > On Tue, 2016-06-28 at 11:52 +1000, Timothy Arceri wrote: > > There are two distinctly different uses of this struct. The first > > is to store GL shader objects. The second is to store information > > about a shader stage thats been linked. > >

Re: [Mesa-dev] Split gl_shader in two and clean-ups

2016-06-28 Thread Iago Toral
On Tue, 2016-06-28 at 11:52 +1000, Timothy Arceri wrote: > There are two distinctly different uses of this struct. The first > is to store GL shader objects. The second is to store information > about a shader stage thats been linked. > > The only place the new structs overlap is the shader layout

[Mesa-dev] Split gl_shader in two and clean-ups

2016-06-27 Thread Timothy Arceri
There are two distinctly different uses of this struct. The first is to store GL shader objects. The second is to store information about a shader stage thats been linked. The only place the new structs overlap is the shader layout fields and I intend to split that out into a third struct once thi