diff options
author | Eric Anholt <[email protected]> | 2014-02-14 14:31:17 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-02-18 09:56:06 -0800 |
commit | b3dcce65c9b400e8d658f672130c617d8ac84cc9 (patch) | |
tree | fdd1f32e6bff6975ca9f2317342c66925b4ca53d /src/mesa/drivers/common/meta.c | |
parent | 20d14ef2633215c5d24741de76b5d59aa3dcbc22 (diff) |
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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta.c')
-rw-r--r-- | src/mesa/drivers/common/meta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index d3ca3b782aa..dd905ddc545 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -193,7 +193,7 @@ _mesa_meta_setup_blit_shader(struct gl_context *ctx, || 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" |