summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-03-31 09:46:55 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-03-31 12:29:13 +0100
commit382306c5732dd04f514bb1d8f2b050bd6d58a893 (patch)
tree9490f93b8c737b3c2c10fecdf830cfe5f087b514 /src/mesa/state_tracker
parent4d89eff0b6fd6902a2fccb87c474d6a8f6d61526 (diff)
gallium: Move pf_is_depth_stencil to p_format.h.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_texture.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/state_tracker/st_texture.h b/src/mesa/state_tracker/st_texture.h
index 840b7e27cc..28c2f580f6 100644
--- a/src/mesa/state_tracker/st_texture.h
+++ b/src/mesa/state_tracker/st_texture.h
@@ -99,12 +99,6 @@ st_get_stobj_texture(struct st_texture_object *stObj)
return stObj ? stObj->pt : NULL;
}
-static INLINE GLboolean pf_is_depth_stencil( enum pipe_format format )
-{
- return (pf_get_component_bits( format, PIPE_FORMAT_COMP_Z ) +
- pf_get_component_bits( format, PIPE_FORMAT_COMP_S )) != 0;
-}
-
extern struct pipe_texture *
st_texture_create(struct st_context *st,