Re: [Mesa-dev] [PATCH 20/78] i965/nir/vec4: Implement load_uniform intrinsic

2015-07-02 Thread Jason Ekstrand
On Thu, Jul 2, 2015 at 3:53 AM, Iago Toral wrote: > On Thu, 2015-07-02 at 09:33 +0200, Iago Toral wrote: >> On Tue, 2015-06-30 at 11:53 -0700, Jason Ekstrand wrote: >> > On Fri, Jun 26, 2015 at 1:06 AM, Eduardo Lima Mitev >> > wrote: >> > > From: Iago Toral Quiroga >> > > >> > > For the indirec

Re: [Mesa-dev] [PATCH 20/78] i965/nir/vec4: Implement load_uniform intrinsic

2015-07-02 Thread Iago Toral
On Thu, 2015-07-02 at 09:33 +0200, Iago Toral wrote: > On Tue, 2015-06-30 at 11:53 -0700, Jason Ekstrand wrote: > > On Fri, Jun 26, 2015 at 1:06 AM, Eduardo Lima Mitev > > wrote: > > > From: Iago Toral Quiroga > > > > > > For the indirect case we need to take the index delivered by > > > NIR and

Re: [Mesa-dev] [PATCH 20/78] i965/nir/vec4: Implement load_uniform intrinsic

2015-07-02 Thread Iago Toral
On Tue, 2015-06-30 at 11:53 -0700, Jason Ekstrand wrote: > On Fri, Jun 26, 2015 at 1:06 AM, Eduardo Lima Mitev wrote: > > From: Iago Toral Quiroga > > > > For the indirect case we need to take the index delivered by > > NIR and compute the parent uniform that we are accessing (the one > > that we

Re: [Mesa-dev] [PATCH 20/78] i965/nir/vec4: Implement load_uniform intrinsic

2015-06-30 Thread Jason Ekstrand
On Fri, Jun 26, 2015 at 1:06 AM, Eduardo Lima Mitev wrote: > From: Iago Toral Quiroga > > For the indirect case we need to take the index delivered by > NIR and compute the parent uniform that we are accessing (the one > that we uploaded to a surface) and the constant offset into that > surface.