Re: [Mesa-dev] [PATCH 5/7] glsl/mesa: split gl_shader in two

2016-06-29 Thread Iago Toral
On Wed, 2016-06-29 at 22:54 +1000, Timothy Arceri wrote: > On Wed, 2016-06-29 at 14:36 +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

Re: [Mesa-dev] [PATCH 5/7] glsl/mesa: split gl_shader in two

2016-06-29 Thread Timothy Arceri
On Wed, 2016-06-29 at 14:36 +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] [PATCH 5/7] glsl/mesa: split gl_shader in two

2016-06-29 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 two uses actually share few fields and there is clearly

Re: [Mesa-dev] [PATCH 5/7] glsl/mesa: split gl_shader in two

2016-06-29 Thread Timothy Arceri
On Wed, 2016-06-29 at 13:57 +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] [PATCH 5/7] glsl/mesa: split gl_shader in two

2016-06-29 Thread Timothy Arceri
On Wed, 2016-06-29 at 13:57 +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] [PATCH 5/7] glsl/mesa: split gl_shader in two

2016-06-29 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 two uses actually share few fields and there is clearly

[Mesa-dev] [PATCH 5/7] glsl/mesa: split gl_shader in two

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 two uses actually share few fields and there is clearly confusion about their use. For example the linked shaders map one