meta: Refactor shader generation code out of mipmap generation path
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 16 Dec 2013 19:54:08 +0000 (11:54 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 12 Feb 2014 00:00:12 +0000 (16:00 -0800)
commitf5a477ab76b6e0b268387699cd2253a43db0dfae
treea52d4630e2c5711092bdb19163d29f342460122b
parented3bc38ee7dd4a11046036432ab40f753c4644b5
meta: Refactor shader generation code out of mipmap generation path

This is quite like code we want for blits.  Pull it out so that it can
be shared by other paths.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/common/meta.c