diff options
author | Zack Rusin <[email protected]> | 2007-09-20 10:07:10 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2007-09-20 10:07:10 -0400 |
commit | 7a06c026ad24b74048f6d125383faf25deb1dfbb (patch) | |
tree | e6422224c0da110d2d2e2349377c29ddc976684f /src/mesa/pipe/softpipe/sp_state.h | |
parent | a6c0c5532f7bfa50ae54c36cf4d74ad4b9f926f8 (diff) |
Fix failover state binding and convert the sampler to use the new
state constant state object semantics.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_state.h')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_state.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mesa/pipe/softpipe/sp_state.h b/src/mesa/pipe/softpipe/sp_state.h index 08dfe208fbd..62323c41c3b 100644 --- a/src/mesa/pipe/softpipe/sp_state.h +++ b/src/mesa/pipe/softpipe/sp_state.h @@ -41,14 +41,11 @@ void softpipe_bind_blend_state(struct pipe_context *, void softpipe_delete_blend_state(struct pipe_context *, void *); -const struct pipe_sampler_state * +void * softpipe_create_sampler_state(struct pipe_context *, const struct pipe_sampler_state *); -void softpipe_bind_sampler_state(struct pipe_context *, - unsigned, - const struct pipe_sampler_state *); -void softpipe_delete_sampler_state(struct pipe_context *, - const struct pipe_sampler_state *); +void softpipe_bind_sampler_state(struct pipe_context *, unsigned, void *); +void softpipe_delete_sampler_state(struct pipe_context *, void *); void * softpipe_create_depth_stencil_state(struct pipe_context *, |