softpipe: Factor out evaluation of the source indices
authorGert Wollny <gert.wollny@collabora.com>
Wed, 24 Apr 2019 07:28:46 +0000 (09:28 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Wed, 1 May 2019 06:39:58 +0000 (08:39 +0200)
commit5f0959f8df69f438944c2e99549dd747c5e7df37
treef2132bf3195e10925efe06bdb0099754be3e7731
parent7d5c8d3589633eb8f5ee760faa5c0ba950db44b9
softpipe: Factor out evaluation of the source indices

We will need these for per sample interpolation as well

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