diff options
author | Zack Rusin <[email protected]> | 2010-06-14 10:18:09 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2010-07-06 13:29:04 -0400 |
commit | 01eebfe1b6de2e36dd3af0952fc8329b7073a100 (patch) | |
tree | 23f1727a4e3a8788fbf82ff6b1fd374bc4ec8b19 /src/gallium/drivers/llvmpipe/lp_state_sampler.c | |
parent | ce929d8210baf0ea66f32565285f0b33cd495e46 (diff) |
draw: implement vertex texture sampling using llvm
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_sampler.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_sampler.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_sampler.c b/src/gallium/drivers/llvmpipe/lp_state_sampler.c index e94065fb6ab..0fea7f20a73 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_sampler.c +++ b/src/gallium/drivers/llvmpipe/lp_state_sampler.c @@ -100,6 +100,10 @@ llvmpipe_bind_vertex_sampler_states(struct pipe_context *pipe, llvmpipe->num_vertex_samplers = num_samplers; + draw_set_samplers(llvmpipe->draw, + llvmpipe->vertex_samplers, + llvmpipe->num_vertex_samplers); + llvmpipe->dirty |= LP_NEW_SAMPLER; } @@ -166,6 +170,10 @@ llvmpipe_set_vertex_sampler_views(struct pipe_context *pipe, llvmpipe->num_vertex_sampler_views = num; + draw_set_sampler_views(llvmpipe->draw, + llvmpipe->vertex_sampler_views, + llvmpipe->num_vertex_sampler_views); + llvmpipe->dirty |= LP_NEW_SAMPLER_VIEW; } |