softpipe: Add support for TGSI_OPCODE_INTERP_OFFSET
authorGert Wollny <gert.wollny@collabora.com>
Wed, 24 Apr 2019 07:53:56 +0000 (09:53 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Wed, 1 May 2019 06:40:16 +0000 (08:40 +0200)
commitc3df4e0601baa5786787a1c8f2537d635aa1913b
tree3fb0c1e5e08a4542302e2ad7f305e497bd167f53
parent27bfd57bc72b63fb97e6fcc34348552db344535c
softpipe: Add support for TGSI_OPCODE_INTERP_OFFSET

Since for this opcode the offsets are given manually the function
should actually also work for non-zero offsets, but the related piglits
only ever test with offset 0. Accordingly the patch satisfies
"fs-interpolateatoffset-*".

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c