summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_state_sampler.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-12-02 12:20:15 -0700
committerBrian Paul <brianp@vmware.com>2009-12-02 12:20:15 -0700
commitd5e5909f171952bc15f43bc618238fc0699edc09 (patch)
treebc78b674add79877a6d1049971e4b9dc492b4213 /src/gallium/drivers/llvmpipe/lp_state_sampler.c
parentf42192e783521f49a7caab09b073740e63ab092b (diff)
Revert "llvmpipe: plug in dummy pipe_context::set_vertex_sampler_textures function"
This reverts commit 792888121b92913733daec7526c9441f27ce1231. We're instead returning 0 for the PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_sampler.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_sampler.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_sampler.c b/src/gallium/drivers/llvmpipe/lp_state_sampler.c
index b61b669093..8333805a3f 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_sampler.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_sampler.c
@@ -78,9 +78,8 @@ llvmpipe_bind_sampler_states(struct pipe_context *pipe,
void
-llvmpipe_set_fragment_sampler_textures(struct pipe_context *pipe,
- unsigned num,
- struct pipe_texture **texture)
+llvmpipe_set_sampler_textures(struct pipe_context *pipe,
+ unsigned num, struct pipe_texture **texture)
{
struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe);
uint i;
@@ -118,15 +117,6 @@ llvmpipe_set_fragment_sampler_textures(struct pipe_context *pipe,
void
-llvmpipe_set_vertex_sampler_textures(struct pipe_context *pipe,
- unsigned num,
- struct pipe_texture **texture)
-{
- /* XXX to do */
-}
-
-
-void
llvmpipe_delete_sampler_state(struct pipe_context *pipe,
void *sampler)
{