return pf_get_nblocksx(block, width)*pf_get_nblocksy(block, height);
}
+static INLINE boolean
+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;
+}
+
static INLINE boolean
pf_is_compressed( enum pipe_format format )
{
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,