Mesa (master): tgsi: get texturing working in vertex shader sse2 path

Keith Whitwell keithw at kemper.freedesktop.org
Mon Jul 20 18:47:56 UTC 2009


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

Author: Keith Whitwell <keithw at vmware.com>
Date:   Mon Jul 20 19:45:24 2009 +0100

tgsi: get texturing working in vertex shader sse2 path

Missing file from previous commit.

---

 src/gallium/auxiliary/draw/draw_vs_sse.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/draw/draw_vs_sse.c b/src/gallium/auxiliary/draw/draw_vs_sse.c
index fb58983..7020513 100644
--- a/src/gallium/auxiliary/draw/draw_vs_sse.c
+++ b/src/gallium/auxiliary/draw/draw_vs_sse.c
@@ -67,6 +67,10 @@ static void
 vs_sse_prepare( struct draw_vertex_shader *base,
 		struct draw_context *draw )
 {
+   struct draw_sse_vertex_shader *shader = (struct draw_sse_vertex_shader *)base;
+   struct tgsi_exec_machine *machine = shader->machine;
+
+   machine->Samplers = draw->vs.samplers;
 }
 
 




More information about the mesa-commit mailing list