Re: [Mesa-dev] [PATCH] swr: perform perspective division on clip distances

2016-12-08 Thread Ilia Mirkin
On Thu, Dec 8, 2016 at 3:43 PM, Rowley, Timothy O wrote: > >> On Nov 24, 2016, at 2:29 PM, Ilia Mirkin wrote: >> >> Clip distances need to be perspective-divided. This fixes all the >> interpolation-*-{distance,vertex} piglits. >> >> Also take

Re: [Mesa-dev] [PATCH] swr: perform perspective division on clip distances

2016-12-08 Thread Rowley, Timothy O
> On Nov 24, 2016, at 2:29 PM, Ilia Mirkin wrote: > > Clip distances need to be perspective-divided. This fixes all the > interpolation-*-{distance,vertex} piglits. > > Also take this opportunity to fix clip distances for points rasterized > as triangles - the clip

[Mesa-dev] [PATCH] swr: perform perspective division on clip distances

2016-11-24 Thread Ilia Mirkin
Clip distances need to be perspective-divided. This fixes all the interpolation-*-{distance,vertex} piglits. Also take this opportunity to fix clip distances for points rasterized as triangles - the clip distance is not subject to sprite coord replacement, so there's no interpolation of it. We