diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-12-02 22:38:46 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-12-04 09:58:54 -0700 |
commit | f2bccfd3c806a879abf0c40858806ec3825d0628 (patch) | |
tree | d4417d573cbc3ae586c74320cda8027f328763be /src/gallium/auxiliary/draw/draw_vs_exec.c | |
parent | 1d9360b67829a37b369e32c894183db1cecf827b (diff) |
gallium: added draw_texture_samplers() to support texture fetches from vertex shaders
This may only be practical for the softpipe driver at this time.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vs_exec.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vs_exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs_exec.c b/src/gallium/auxiliary/draw/draw_vs_exec.c index 80c3606657..b3200df811 100644 --- a/src/gallium/auxiliary/draw/draw_vs_exec.c +++ b/src/gallium/auxiliary/draw/draw_vs_exec.c @@ -68,8 +68,8 @@ vs_exec_prepare( struct draw_vertex_shader *shader, if (evs->machine->Tokens != shader->state.tokens) { tgsi_exec_machine_bind_shader(evs->machine, shader->state.tokens, - PIPE_MAX_SAMPLERS, - NULL /*samplers*/ ); + draw->vs.num_samplers, + draw->vs.samplers); } } |