tgsi: get texturing working in vertex shader sse2 path
authorKeith Whitwell <keithw@vmware.com>
Mon, 20 Jul 2009 18:45:24 +0000 (19:45 +0100)
committerKeith Whitwell <keithw@vmware.com>
Mon, 20 Jul 2009 18:47:38 +0000 (19:47 +0100)
Missing file from previous commit.

src/gallium/auxiliary/draw/draw_vs_sse.c

index fb58983e011ffb9bc15fa5347cef468f99b962e5..702051387acb875fe2365d02f39f0872a893e188 100644 (file)
@@ -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;
 }