Re: [Mesa-dev] [PATCH] swr: fix range computation for instanced client-side arrays

2016-11-30 Thread Cherniak, Bruce
Reviewed-by: Bruce Cherniak > On Nov 29, 2016, at 8:18 PM, Ilia Mirkin wrote: > > We need to take the instance divisor and number of instances into > account for instanced client-side arrays, rather than the vertex > parameters. > > Loosely based on the comparable nvc0 logic. > > Signed-off-

[Mesa-dev] [PATCH] swr: fix range computation for instanced client-side arrays

2016-11-29 Thread Ilia Mirkin
We need to take the instance divisor and number of instances into account for instanced client-side arrays, rather than the vertex parameters. Loosely based on the comparable nvc0 logic. Signed-off-by: Ilia Mirkin --- src/gallium/drivers/swr/swr_state.cpp | 74 +++---