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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev