summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_sampler_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_sampler_view.h')
-rw-r--r--src/mesa/state_tracker/st_sampler_view.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_sampler_view.h b/src/mesa/state_tracker/st_sampler_view.h
index cf46513f1b4..47c100df647 100644
--- a/src/mesa/state_tracker/st_sampler_view.h
+++ b/src/mesa/state_tracker/st_sampler_view.h
@@ -68,6 +68,9 @@ st_texture_release_all_sampler_views(struct st_context *st,
void
st_texture_free_sampler_views(struct st_texture_object *stObj);
+const struct st_sampler_view *
+st_texture_get_current_sampler_view(const struct st_context *st,
+ const struct st_texture_object *stObj);
struct pipe_sampler_view *
st_get_texture_sampler_view_from_stobj(struct st_context *st,