diff options
author | Brian Paul <[email protected]> | 2010-09-25 14:02:38 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-09-25 14:25:40 -0600 |
commit | c5dd2e40e268e40335a47b86b7c4ce201e337a77 (patch) | |
tree | 88cfad43c7ee31fb8f5d14eeb602aac6db823367 /src/gallium/drivers/softpipe/sp_state.h | |
parent | 2739692a6edaa0233bac188855457236897a34d5 (diff) |
softpipe: make sampler state functions static
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_state.h')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_state.h | 36 |
1 files changed, 2 insertions, 34 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state.h b/src/gallium/drivers/softpipe/sp_state.h index 1326f49fe99..8d4efb1c661 100644 --- a/src/gallium/drivers/softpipe/sp_state.h +++ b/src/gallium/drivers/softpipe/sp_state.h @@ -118,19 +118,9 @@ struct sp_so_state { void softpipe_init_blend_funcs(struct pipe_context *pipe); -void * -softpipe_create_sampler_state(struct pipe_context *, - const struct pipe_sampler_state *); -void softpipe_bind_sampler_states(struct pipe_context *, unsigned, void **); -void -softpipe_bind_vertex_sampler_states(struct pipe_context *, - unsigned num_samplers, - void **samplers); void -softpipe_bind_geometry_sampler_states(struct pipe_context *, - unsigned num_samplers, - void **samplers); -void softpipe_delete_sampler_state(struct pipe_context *, void *); +softpipe_init_sampler_funcs(struct pipe_context *pipe); + void * softpipe_create_rasterizer_state(struct pipe_context *, @@ -159,28 +149,6 @@ void softpipe_set_polygon_stipple( struct pipe_context *, void softpipe_set_scissor_state( struct pipe_context *, const struct pipe_scissor_state * ); -void softpipe_set_sampler_views( struct pipe_context *, - unsigned num, - struct pipe_sampler_view ** ); - -void -softpipe_set_vertex_sampler_views(struct pipe_context *, - unsigned num, - struct pipe_sampler_view **); - -void -softpipe_set_geometry_sampler_views(struct pipe_context *, - unsigned num, - struct pipe_sampler_view **); - -struct pipe_sampler_view * -softpipe_create_sampler_view(struct pipe_context *pipe, - struct pipe_resource *texture, - const struct pipe_sampler_view *templ); - -void -softpipe_sampler_view_destroy(struct pipe_context *pipe, - struct pipe_sampler_view *view); void softpipe_set_viewport_state( struct pipe_context *, const struct pipe_viewport_state * ); |