softpipe: Factor gradient evaluation out of the lambda evaluation
authorGert Wollny <gert.wollny@collabora.com>
Fri, 19 Apr 2019 06:37:00 +0000 (08:37 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Wed, 1 May 2019 06:22:28 +0000 (08:22 +0200)
commit7c004d093abcc9b1e147966403daa7edcc13bd92
tree8ffb2a40f52e4b0964f5cd861319a01178828a1d
parent5c581b3dd6979b79cb3e3ab8e2e03b442e6ecb0d
softpipe: Factor gradient evaluation out of the lambda evaluation

this is useful when we want to use explicit gradients.

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