Re: [Mesa-dev] [PATCH] softpipe: fix offset wrapping calculations (v2)

2015-05-28 Thread Roland Scheidegger
Am 29.05.2015 um 01:25 schrieb Dave Airlie: > Roland pointed out my previous attempt was lacking, so I enhanced the > texwrap piglit test, and tested them. This fixes the offset calculations > in a number of areas by adding the offset first, it also fixes the fastpaths, > which I forgot to address

[Mesa-dev] [PATCH] softpipe: fix offset wrapping calculations (v2)

2015-05-28 Thread Dave Airlie
Roland pointed out my previous attempt was lacking, so I enhanced the texwrap piglit test, and tested them. This fixes the offset calculations in a number of areas by adding the offset first, it also fixes the fastpaths, which I forgot to address in the previous commit. v2: try and avoid divides i

Re: [Mesa-dev] [PATCH] softpipe: fix offset wrapping calculations

2015-05-26 Thread Roland Scheidegger
Thanks for addressing this, some minor issues. Am 27.05.2015 um 03:14 schrieb Dave Airlie: > Roland pointed out my previous attempt was lacking, so I enhanced the > texwrap piglit test, and tested them. This fixes the offset calculations > in a number of areas by adding the offset first, it also f

[Mesa-dev] [PATCH] softpipe: fix offset wrapping calculations

2015-05-26 Thread Dave Airlie
Roland pointed out my previous attempt was lacking, so I enhanced the texwrap piglit test, and tested them. This fixes the offset calculations in a number of areas by adding the offset first, it also fixes the fastpaths, which I forgot to address in the previous commit. Signed-off-by: Dave Airlie