[Mesa-dev] [PATCH 1/2] radeonsi: implement ARB_texture_gather and Gather functions from GLSL 4.00

Michel Dänzer michel at daenzer.net
Mon Jun 9 00:18:14 PDT 2014


On 07.06.2014 07:42, Marek Olšák wrote:
> All offsets are six-bit signed integers on SI packed into one dword.
> They are set in the same way no matter what the instruction is.
> 
> All SAMPLE and GATHER4 instructions, i.e. those which take
> floating-point coordinates, support offsets.

We're not handling the offsets correctly yet for the SAMPLE instructions
though, see e.g. the fs-textureOffset-2D piglit test.


Your gather changes look good to me.


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer


More information about the mesa-dev mailing list