meta: Fix blit shader compile on non-glsl-130 drivers.
authorEric Anholt <eric@anholt.net>
Fri, 14 Feb 2014 22:31:17 +0000 (14:31 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 18 Feb 2014 17:56:06 +0000 (09:56 -0800)
commitb3dcce65c9b400e8d658f672130c617d8ac84cc9
treefdd1f32e6bff6975ca9f2317342c66925b4ca53d
parent20d14ef2633215c5d24741de76b5d59aa3dcbc22
meta: Fix blit shader compile on non-glsl-130 drivers.

Compare this VS to the one for the post-130 case.  Fixes piglit
glsl-lod-bias, and presumably tons of other code (I haven't done a full
piglit run on swrast).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74911
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/common/meta.c