Re: [Mesa-dev] [RFC] llvmpipe texture coordinate rounding

2014-02-14 Thread Roland Scheidegger
Am 14.02.2014 23:35, schrieb Roland Scheidegger: > Am 14.02.2014 19:59, schrieb Jeff Muizelaar: >> >> On Feb 14, 2014, at 1:00 PM, Roland Scheidegger > > wrote: >> >>> Am 14.02.2014 18:07, schrieb Jeff Muizelaar: >>> >>> I'll need to take another look and run some tests,

Re: [Mesa-dev] [RFC] llvmpipe texture coordinate rounding

2014-02-14 Thread Roland Scheidegger
Am 14.02.2014 19:59, schrieb Jeff Muizelaar: > > On Feb 14, 2014, at 1:00 PM, Roland Scheidegger > wrote: > >> Am 14.02.2014 18:07, schrieb Jeff Muizelaar: >> >> I'll need to take another look and run some tests, though I've got some >> quick comments: >> >> >> @@ -103

Re: [Mesa-dev] [RFC] llvmpipe texture coordinate rounding

2014-02-14 Thread Jeff Muizelaar
On Feb 14, 2014, at 1:00 PM, Roland Scheidegger wrote: > Am 14.02.2014 18:07, schrieb Jeff Muizelaar: > > I'll need to take another look and run some tests, though I've got some > quick comments: > > > @@ -1031,16 +1082,28 @@ lp_build_sample_image_linear(struct > lp_build_sample_context *bld,

Re: [Mesa-dev] [RFC] llvmpipe texture coordinate rounding

2014-02-14 Thread Roland Scheidegger
Am 14.02.2014 18:07, schrieb Jeff Muizelaar: > In doing some testing we’ve noticed that trying to draw pixel aligned > textures does not work very well with linear filtering in llvmpipe. > > Here’s an example of the problem. > > Imagine wanting to paint a 100x100 texture. After being scaled by 10

[Mesa-dev] [RFC] llvmpipe texture coordinate rounding

2014-02-14 Thread Jeff Muizelaar
In doing some testing we’ve noticed that trying to draw pixel aligned textures does not work very well with linear filtering in llvmpipe.Here’s an example of the problem.Imagine wanting to paint a 100x100 texture. After being scaled by 100 the texture coordinates will end up as:0.5, 1.5, 2.5, 3.5,