Re: [Mesa-dev] [PATCH v3 (part2) 09/56] glsl: Add parser/compiler support for unsized array's length()

2015-08-05 Thread Iago Toral
On Tue, 2015-08-04 at 16:04 -0700, Jordan Justen wrote: On 2015-08-04 15:12:06, Jordan Justen wrote: On 2015-07-14 00:46:11, Iago Toral Quiroga wrote: From: Samuel Iglesias Gonsalvez sigles...@igalia.com It also creates unop and triop expressions to tell the driver to calculate the

Re: [Mesa-dev] [PATCH v3 (part2) 09/56] glsl: Add parser/compiler support for unsized array's length()

2015-08-05 Thread Francisco Jerez
Iago Toral ito...@igalia.com writes: On Tue, 2015-08-04 at 16:04 -0700, Jordan Justen wrote: On 2015-08-04 15:12:06, Jordan Justen wrote: On 2015-07-14 00:46:11, Iago Toral Quiroga wrote: From: Samuel Iglesias Gonsalvez sigles...@igalia.com It also creates unop and triop expressions

Re: [Mesa-dev] [PATCH v3 (part2) 09/56] glsl: Add parser/compiler support for unsized array's length()

2015-08-05 Thread Iago Toral
On Wed, 2015-08-05 at 13:38 +0300, Francisco Jerez wrote: Iago Toral ito...@igalia.com writes: On Tue, 2015-08-04 at 16:04 -0700, Jordan Justen wrote: On 2015-08-04 15:12:06, Jordan Justen wrote: On 2015-07-14 00:46:11, Iago Toral Quiroga wrote: From: Samuel Iglesias Gonsalvez

Re: [Mesa-dev] [PATCH v3 (part2) 09/56] glsl: Add parser/compiler support for unsized array's length()

2015-08-04 Thread Jordan Justen
On 2015-07-14 00:46:11, Iago Toral Quiroga wrote: From: Samuel Iglesias Gonsalvez sigles...@igalia.com It also creates unop and triop expressions to tell the driver to calculate the unsized array length. It is needed two expressions to do the calculation: Two expressions are needed to do

Re: [Mesa-dev] [PATCH v3 (part2) 09/56] glsl: Add parser/compiler support for unsized array's length()

2015-08-04 Thread Jordan Justen
On 2015-08-04 15:12:06, Jordan Justen wrote: On 2015-07-14 00:46:11, Iago Toral Quiroga wrote: From: Samuel Iglesias Gonsalvez sigles...@igalia.com It also creates unop and triop expressions to tell the driver to calculate the unsized array length. It is needed two expressions to do

[Mesa-dev] [PATCH v3 (part2) 09/56] glsl: Add parser/compiler support for unsized array's length()

2015-07-14 Thread Iago Toral Quiroga
From: Samuel Iglesias Gonsalvez sigles...@igalia.com It also creates unop and triop expressions to tell the driver to calculate the unsized array length. It is needed two expressions to do the calculation: * The unop expression saves the ir_rvalue* whose length should be calculated. *