Re: [Piglit] [PATCH] tex-miplevel-selection: Fix textureProj failures due to precision errors

2015-03-17 Thread Iago Toral
Hi, if nobody else has comments or objections to this patch I'd like to push it later this week. If someone wants to have a look but needs more time, let me know. Iago On Wed, 2015-03-11 at 08:56 +0100, Iago Toral Quiroga wrote: > The textureProj tests multiply expected texture coordinates by th

Re: [Piglit] [PATCH] tex-miplevel-selection: Fix textureProj failures due to precision errors

2015-03-12 Thread Iago Toral
On Wed, 2015-03-11 at 12:52 -0400, Ilia Mirkin wrote: > On Wed, Mar 11, 2015 at 9:59 AM, Ilia Mirkin wrote: > > On Wed, Mar 11, 2015 at 3:56 AM, Iago Toral Quiroga > > wrote: > >> The textureProj tests multiply expected texture coordinates by the > >> projector > >> in advance so that when the

Re: [Piglit] [PATCH] tex-miplevel-selection: Fix textureProj failures due to precision errors

2015-03-11 Thread Ilia Mirkin
On Wed, Mar 11, 2015 at 9:59 AM, Ilia Mirkin wrote: > On Wed, Mar 11, 2015 at 3:56 AM, Iago Toral Quiroga wrote: >> The textureProj tests multiply expected texture coordinates by the projector >> in advance so that when the driver does the division we obtain the same >> coordinates. However, the

Re: [Piglit] [PATCH] tex-miplevel-selection: Fix textureProj failures due to precision errors

2015-03-11 Thread Ilia Mirkin
On Wed, Mar 11, 2015 at 3:56 AM, Iago Toral Quiroga wrote: > The textureProj tests multiply expected texture coordinates by the projector > in advance so that when the driver does the division we obtain the same > coordinates. However, the division can lead to small rounding errors that > can affe

[Piglit] [PATCH] tex-miplevel-selection: Fix textureProj failures due to precision errors

2015-03-11 Thread Iago Toral Quiroga
The textureProj tests multiply expected texture coordinates by the projector in advance so that when the driver does the division we obtain the same coordinates. However, the division can lead to small rounding errors that can affect the selected layer and fail the tests. This is currently happenin