Re: [Mesa-dev] [PATCH 06/78] i965/nir/vec4: Add setup of uniform variables

2015-07-09 Thread Kenneth Graunke
On Tuesday, June 30, 2015 10:04:47 AM Iago Toral wrote: > Hi Jason, > > On Mon, 2015-06-29 at 16:22 -0700, Jason Ekstrand wrote: > > On Fri, Jun 26, 2015 at 1:06 AM, Eduardo Lima Mitev > > wrote: > > > From: Iago Toral Quiroga > > > > > > This is based on similar code existing in vec4_visitor.

Re: [Mesa-dev] [PATCH 06/78] i965/nir/vec4: Add setup of uniform variables

2015-06-30 Thread Jason Ekstrand
On Jun 30, 2015 1:05 AM, "Iago Toral" wrote: > > Hi Jason, > > On Mon, 2015-06-29 at 16:22 -0700, Jason Ekstrand wrote: > > On Fri, Jun 26, 2015 at 1:06 AM, Eduardo Lima Mitev wrote: > > > From: Iago Toral Quiroga > > > > > > This is based on similar code existing in vec4_visitor. It builds the

Re: [Mesa-dev] [PATCH 06/78] i965/nir/vec4: Add setup of uniform variables

2015-06-30 Thread Iago Toral
Hi Jason, On Mon, 2015-06-29 at 16:22 -0700, Jason Ekstrand wrote: > On Fri, Jun 26, 2015 at 1:06 AM, Eduardo Lima Mitev wrote: > > From: Iago Toral Quiroga > > > > This is based on similar code existing in vec4_visitor. It builds the > > uniform register file iterating through each uniform vari

Re: [Mesa-dev] [PATCH 06/78] i965/nir/vec4: Add setup of uniform variables

2015-06-29 Thread Jason Ekstrand
On Fri, Jun 26, 2015 at 1:06 AM, Eduardo Lima Mitev wrote: > From: Iago Toral Quiroga > > This is based on similar code existing in vec4_visitor. It builds the > uniform register file iterating through each uniform variable. It > also stores the index of each register at the corresponding offset

[Mesa-dev] [PATCH 06/78] i965/nir/vec4: Add setup of uniform variables

2015-06-26 Thread Eduardo Lima Mitev
From: Iago Toral Quiroga This is based on similar code existing in vec4_visitor. It builds the uniform register file iterating through each uniform variable. It also stores the index of each register at the corresponding offset in a map. This map will later be used by load_uniform intrinsic instr