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

2015-07-24 Thread Jason Ekstrand
On Thu, Jul 23, 2015 at 3:17 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.

[Mesa-dev] [PATCH v2 23/78] i965/nir/vec4: Implement load_uniform intrinsic

2015-07-23 Thread Eduardo Lima Mitev
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. --- src/mesa/drivers/dri/i965/brw_vec4_nir.cpp | 26 ++