Re: [Mesa-dev] [PATCH] nir: Add helpers for getting input/output intrinsic sources.

2015-11-12 Thread Jason Ekstrand
I didn't double-check all your indices, but I like it. Reviewed-by: Jason Ekstrand The other four can also have my R-B conditional on the little rework I suggested. --Jason On Thu, Nov 12, 2015 at 4:03 PM, Kenneth Graunke wrote: > With the many variants of IO intrinsics, particular sources are

[Mesa-dev] [PATCH] nir: Add helpers for getting input/output intrinsic sources.

2015-11-12 Thread Kenneth Graunke
With the many variants of IO intrinsics, particular sources are often in different locations. It's convenient to say "give me the indirect offset" or "give me the vertex index" and have it just work, without having to think about exactly which kind of intrinsic you have. Signed-off-by: Kenneth Gr