nir/lower_tex: split out project_src() helper
authorRob Clark <robclark@freedesktop.org>
Wed, 16 Sep 2015 16:53:12 +0000 (12:53 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 19 Sep 2015 01:07:49 +0000 (21:07 -0400)
commitf83ba7bc41a381a0e52c456431dbe1a15176ffb4
tree61bccb3b31d1d5376ea1d54e00cc0b124d56f1e8
parentd9b9ff76f17ee36b87b2722fa2a19e1d9f036c26
nir/lower_tex: split out project_src() helper

Split this out to reduce noise in later patches.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/nir/nir_lower_tex.c