Re: [Mesa-dev] [PATCH 6/7] i965: Use arrays in Gen7+ URB code.

2016-11-16 Thread Pohjolainen, Topi
On Tue, Nov 15, 2016 at 05:54:01PM -0800, Kenneth Graunke wrote: > So much of this code was cut and pasted per stage. We can accomplish > much of it by looping over shader stages. I laid out original and new side-by-side and tried to compare things carefully. To me everything looks to match. Than

[Mesa-dev] [PATCH 6/7] i965: Use arrays in Gen7+ URB code.

2016-11-15 Thread Kenneth Graunke
So much of this code was cut and pasted per stage. We can accomplish much of it by looping over shader stages. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/gen7_urb.c | 336 ++- 1 file changed, 134 insertions(+), 202 deletions(-) diff --git a/src