summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_texture.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-02-13 14:49:08 -0700
committerBrian Paul <brianp@vmware.com>2012-02-15 14:09:01 -0700
commit91ec17835f7923add522e01d486bc89683dfe881 (patch)
treeb1033809b9d46335203bcfcd7b3d2a6297c4ac83 /src/mesa/state_tracker/st_texture.h
parent0315cb9f8f3ec38fa9594860754fb53a67cf4c23 (diff)
downloadexternal_mesa3d-91ec17835f7923add522e01d486bc89683dfe881.zip
external_mesa3d-91ec17835f7923add522e01d486bc89683dfe881.tar.gz
external_mesa3d-91ec17835f7923add522e01d486bc89683dfe881.tar.bz2
st/mesa: remove unused st_get_texture_sampler_view()
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/mesa/state_tracker/st_texture.h')
-rw-r--r--src/mesa/state_tracker/st_texture.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mesa/state_tracker/st_texture.h b/src/mesa/state_tracker/st_texture.h
index 3d2a636..b5c22ee 100644
--- a/src/mesa/state_tracker/st_texture.h
+++ b/src/mesa/state_tracker/st_texture.h
@@ -147,22 +147,6 @@ st_create_texture_sampler_view_format(struct pipe_context *pipe,
}
-static INLINE struct pipe_sampler_view *
-st_get_texture_sampler_view(struct st_texture_object *stObj,
- struct pipe_context *pipe)
-{
- if (!stObj || !stObj->pt) {
- return NULL;
- }
-
- if (!stObj->sampler_view) {
- stObj->sampler_view = st_create_texture_sampler_view(pipe, stObj->pt);
- }
-
- return stObj->sampler_view;
-}
-
-
extern struct pipe_resource *
st_texture_create(struct st_context *st,
enum pipe_texture_target target,