Re: [Mesa-dev] [PATCH 5/8] nir: Simplify nir_lower_gs_intrinsics

2016-07-21 Thread Iago Toral
On Wed, 2016-07-20 at 15:28 -0700, Jason Ekstrand wrote: > It's only ever called on single-function shaders.  At this point, > there are > a lot of helpers that can make it all much simpler. This is a nice clean-up. I wonder if for passes like this that have the implicit requirement that all func

[Mesa-dev] [PATCH 5/8] nir: Simplify nir_lower_gs_intrinsics

2016-07-20 Thread Jason Ekstrand
It's only ever called on single-function shaders. At this point, there are a lot of helpers that can make it all much simpler. Signed-off-by: Jason Ekstrand --- src/compiler/nir/nir_lower_gs_intrinsics.c | 37 +- 1 file changed, 16 insertions(+), 21 deletions(-) dif