Re: [Mesa-dev] [PATCH 3/4] glsl: apply align layout qualifier rules to block offsets

2016-02-09 Thread Timothy Arceri
On Tue, 2016-02-09 at 11:46 -0800, Ian Romanick wrote: > On 02/09/2016 08:56 AM, Ian Romanick wrote: > > On 02/09/2016 06:06 AM, Samuel Iglesias Gonsálvez wrote: > > > > > > On Tue, 2016-01-12 at 20:34 +1100, Timothy Arceri wrote: > > > > From Section 4.4.5 (Uniform and Shader Storage Block Layout

Re: [Mesa-dev] [PATCH 3/4] glsl: apply align layout qualifier rules to block offsets

2016-02-09 Thread Samuel Iglesias Gonsálvez
On Tue, 2016-02-09 at 11:46 -0800, Ian Romanick wrote: > On 02/09/2016 08:56 AM, Ian Romanick wrote: > > On 02/09/2016 06:06 AM, Samuel Iglesias Gonsálvez wrote: > > > > > > On Tue, 2016-01-12 at 20:34 +1100, Timothy Arceri wrote: > > > > From Section 4.4.5 (Uniform and Shader Storage Block Layout

Re: [Mesa-dev] [PATCH 3/4] glsl: apply align layout qualifier rules to block offsets

2016-02-09 Thread Ian Romanick
On 02/09/2016 08:56 AM, Ian Romanick wrote: > On 02/09/2016 06:06 AM, Samuel Iglesias Gonsálvez wrote: >> >> On Tue, 2016-01-12 at 20:34 +1100, Timothy Arceri wrote: >>> From Section 4.4.5 (Uniform and Shader Storage Block Layout >>> Qualifiers) of the OpenGL 4.50 spec: >>> >>> "The align qualifi

Re: [Mesa-dev] [PATCH 3/4] glsl: apply align layout qualifier rules to block offsets

2016-02-09 Thread Ian Romanick
On 02/09/2016 06:06 AM, Samuel Iglesias Gonsálvez wrote: > > On Tue, 2016-01-12 at 20:34 +1100, Timothy Arceri wrote: >> From Section 4.4.5 (Uniform and Shader Storage Block Layout >> Qualifiers) of the OpenGL 4.50 spec: >> >> "The align qualifier makes the start of each block member have a >>

Re: [Mesa-dev] [PATCH 3/4] glsl: apply align layout qualifier rules to block offsets

2016-02-09 Thread Samuel Iglesias Gonsálvez
On Tue, 2016-01-12 at 20:34 +1100, Timothy Arceri wrote: > From Section 4.4.5 (Uniform and Shader Storage Block Layout > Qualifiers) of the OpenGL 4.50 spec: > >   "The align qualifier makes the start of each block member have a >   minimum byte alignment.  It does not affect the internal layout

[Mesa-dev] [PATCH 3/4] glsl: apply align layout qualifier rules to block offsets

2016-01-12 Thread Timothy Arceri
From Section 4.4.5 (Uniform and Shader Storage Block Layout Qualifiers) of the OpenGL 4.50 spec: "The align qualifier makes the start of each block member have a minimum byte alignment. It does not affect the internal layout within each member, which will still follow the std140 or std430