summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_state.h
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2010-02-23 16:37:42 +0100
committerMichal Krol <michal@vmware.com>2010-02-23 16:37:42 +0100
commiteb9c9efedf9e0b1fdb000a3d175285764759af2a (patch)
tree2b20368b7939bcbb52b9b492368346f3eb1f8888 /src/gallium/drivers/softpipe/sp_state.h
parent14a146c4995da5074eb1192a818b7a3dfc3bb438 (diff)
softpipe: Fix after sampler view changes.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_state.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_state.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state.h b/src/gallium/drivers/softpipe/sp_state.h
index ba9bbfe68a..b37bb95152 100644
--- a/src/gallium/drivers/softpipe/sp_state.h
+++ b/src/gallium/drivers/softpipe/sp_state.h
@@ -175,6 +175,15 @@ softpipe_set_vertex_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_texture *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 * );