Re: [Mesa-dev] [PATCH v2] main: buffer array variables can have array size of 0 if they are unsized

2015-10-06 Thread Samuel Iglesias Gonsálvez
On 07/10/15 01:19, Timothy Arceri wrote: > On Tue, 2015-10-06 at 15:07 +0200, Samuel Iglesias Gonsálvez wrote: >> On 06/10/15 12:59, Timothy Arceri wrote: >>> On Tue, 2015-10-06 at 10:08 +0200, Samuel Iglesias Gonsalvez wrote: From ARB_program_query_interface: For the property AR

Re: [Mesa-dev] [PATCH v2] main: buffer array variables can have array size of 0 if they are unsized

2015-10-06 Thread Timothy Arceri
On Tue, 2015-10-06 at 15:07 +0200, Samuel Iglesias Gonsálvez wrote: > On 06/10/15 12:59, Timothy Arceri wrote: > > On Tue, 2015-10-06 at 10:08 +0200, Samuel Iglesias Gonsalvez wrote: > > > From ARB_program_query_interface: > > > > > > For the property ARRAY_SIZE, a single integer identifying the

Re: [Mesa-dev] [PATCH v2] main: buffer array variables can have array size of 0 if they are unsized

2015-10-06 Thread Samuel Iglesias Gonsálvez
On 06/10/15 12:59, Timothy Arceri wrote: > On Tue, 2015-10-06 at 10:08 +0200, Samuel Iglesias Gonsalvez wrote: >> From ARB_program_query_interface: >> >> For the property ARRAY_SIZE, a single integer identifying the >> number of >> active array elements of an active variable is written to . >>

Re: [Mesa-dev] [PATCH v2] main: buffer array variables can have array size of 0 if they are unsized

2015-10-06 Thread Timothy Arceri
On Tue, 2015-10-06 at 10:08 +0200, Samuel Iglesias Gonsalvez wrote: > From ARB_program_query_interface: > > For the property ARRAY_SIZE, a single integer identifying the > number of > active array elements of an active variable is written to . > The > array size returned is in units of the t

[Mesa-dev] [PATCH v2] main: buffer array variables can have array size of 0 if they are unsized

2015-10-06 Thread Samuel Iglesias Gonsalvez
From ARB_program_query_interface: For the property ARRAY_SIZE, a single integer identifying the number of active array elements of an active variable is written to . The array size returned is in units of the type associated with the property TYPE. For active variables not corresponding to