diff options
author | Brian Paul <[email protected]> | 2010-04-28 13:57:03 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-04-28 15:25:50 -0600 |
commit | bfd81b4ebb1eb16ff56ec1a38aeb942eb7f0389c (patch) | |
tree | a6ee546508af4b6e1d30e015704e773eca521c7e /src/gallium/drivers/llvmpipe/lp_state.h | |
parent | a7e2470843be35b7373e48fc6be9e0f9df877afb (diff) |
llvmpipe: make sampler-related functions static, clean-up initializations
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state.h | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state.h b/src/gallium/drivers/llvmpipe/lp_state.h index ed75da8cbe2..4fe2db178e2 100644 --- a/src/gallium/drivers/llvmpipe/lp_state.h +++ b/src/gallium/drivers/llvmpipe/lp_state.h @@ -131,16 +131,6 @@ void llvmpipe_delete_blend_state(struct pipe_context *, void *); void * -llvmpipe_create_sampler_state(struct pipe_context *, - const struct pipe_sampler_state *); -void llvmpipe_bind_sampler_states(struct pipe_context *, unsigned, void **); -void -llvmpipe_bind_vertex_sampler_states(struct pipe_context *, - unsigned num_samplers, - void **samplers); -void llvmpipe_delete_sampler_state(struct pipe_context *, void *); - -void * llvmpipe_create_depth_stencil_state(struct pipe_context *, const struct pipe_depth_stencil_alpha_state *); void llvmpipe_bind_depth_stencil_state(struct pipe_context *, void *); @@ -189,24 +179,6 @@ void llvmpipe_set_polygon_stipple( struct pipe_context *, void llvmpipe_set_scissor_state( struct pipe_context *, const struct pipe_scissor_state * ); -void llvmpipe_set_fragment_sampler_views(struct pipe_context *, - unsigned num, - struct pipe_sampler_view **); - -void -llvmpipe_set_vertex_sampler_views(struct pipe_context *, - unsigned num, - struct pipe_sampler_view **); - -struct pipe_sampler_view * -llvmpipe_create_sampler_view(struct pipe_context *pipe, - struct pipe_resource *texture, - const struct pipe_sampler_view *templ); - -void -llvmpipe_sampler_view_destroy(struct pipe_context *pipe, - struct pipe_sampler_view *view); - void llvmpipe_set_viewport_state( struct pipe_context *, const struct pipe_viewport_state * ); @@ -241,4 +213,8 @@ void llvmpipe_unmap_texture_surfaces(struct llvmpipe_context *lp); +void +llvmpipe_init_sampler_funcs(struct llvmpipe_context *llvmpipe); + + #endif |