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