summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-07-20 19:45:24 +0100
committerKeith Whitwell <[email protected]>2009-07-20 19:47:38 +0100
commitcad82cd0636b4b74597ae2c6bab83a3e94006bf8 (patch)
tree74c3ff032f8bce8175035d4ca62079f903b6c189
parentcd63e35603568c168e8aebbc47ca6ea308f2ccfa (diff)
tgsi: get texturing working in vertex shader sse2 path
Missing file from previous commit.
-rw-r--r--src/gallium/auxiliary/draw/draw_vs_sse.c4
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 fb58983e011..702051387ac 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;
}