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>
|| ctx->Const.GLSLVersion < 130) {
vs_source =
"attribute vec2 position;\n"
- "attribute vec3 textureCoords;\n"
+ "attribute vec4 textureCoords;\n"
"varying vec4 texCoords;\n"
"void main()\n"
"{\n"