Mesa (master): gallium: Fix compilation of trivial quad-tex

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Sun Jul 4 12:38:37 UTC 2010


Module: Mesa
Branch: master
Commit: abbb96b2fe4173f1234ae357786fbff54f7bb9d6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=abbb96b2fe4173f1234ae357786fbff54f7bb9d6

Author: Jakob Bornecrantz <wallbraker at gmail.com>
Date:   Sun Jul  4 01:34:39 2010 +0100

gallium: Fix compilation of trivial quad-tex

---

 src/gallium/tests/trivial/quad-tex.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/tests/trivial/quad-tex.c b/src/gallium/tests/trivial/quad-tex.c
index 93f2487..abcd477 100644
--- a/src/gallium/tests/trivial/quad-tex.c
+++ b/src/gallium/tests/trivial/quad-tex.c
@@ -271,7 +271,7 @@ static void init_prog(struct program *p)
 	}
 
 	/* fragment shader */
-	p->fs = util_make_fragment_tex_shader(p->pipe, TGSI_TEXTURE_2D);
+	p->fs = util_make_fragment_tex_shader(p->pipe, TGSI_TEXTURE_2D, TGSI_INTERPOLATE_LINEAR);
 }
 
 static void close_prog(struct program *p)




More information about the mesa-commit mailing list