Re: [Mesa-dev] [PATCH v5 12/70] glsl: implement unsized array length

2015-12-14 Thread Samuel Iglesias Gonsálvez
On Mon, 2015-12-14 at 08:00 +0100, Iago Toral wrote: > On Sun, 2015-12-13 at 23:10 -0500, Ilia Mirkin wrote: > > On Thu, Sep 10, 2015 at 9:35 AM, Iago Toral Quiroga > com> wrote: > > > +ir_expression * > > > +lower_ubo_reference_visitor::process_ssbo_unsized_array_length(i > > >

Re: [Mesa-dev] [PATCH v5 12/70] glsl: implement unsized array length

2015-12-13 Thread Ilia Mirkin
On Thu, Sep 10, 2015 at 9:35 AM, Iago Toral Quiroga wrote: > +ir_expression * > +lower_ubo_reference_visitor::process_ssbo_unsized_array_length(ir_rvalue > **rvalue, > + > ir_dereference *deref, > +

Re: [Mesa-dev] [PATCH v5 12/70] glsl: implement unsized array length

2015-12-13 Thread Iago Toral
On Sun, 2015-12-13 at 23:10 -0500, Ilia Mirkin wrote: > On Thu, Sep 10, 2015 at 9:35 AM, Iago Toral Quiroga wrote: > > +ir_expression * > > +lower_ubo_reference_visitor::process_ssbo_unsized_array_length(ir_rvalue > > **rvalue, > > +

[Mesa-dev] [PATCH v5 12/70] glsl: implement unsized array length

2015-09-10 Thread Iago Toral Quiroga
From: Samuel Iglesias Gonsalvez v2: - Reduce the number of lines over 80 character line width limit. (Thomas Hellan) v3: - Inject the formula to compute the array length in the IR, backends only need to provide the buffer size (Curro) - Create an auxiliary function to