projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0315cb9
)
st/mesa: remove unused st_get_texture_sampler_view()
author
Brian Paul
<brianp@vmware.com>
Mon, 13 Feb 2012 21:49:08 +0000
(14:49 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 15 Feb 2012 21:09:01 +0000
(14:09 -0700)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_texture.h
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_texture.h
b/src/mesa/state_tracker/st_texture.h
index 3d2a6369cfb720269059ae15bc16bc5ffbfbd883..b5c22ee370a82112ca2b5e03a0de941cd20087d8 100644
(file)
--- 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,