diff options
author | Tomas Carnecky <tom@dbservice.com> | 2009-12-23 15:40:20 +0000 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-12-23 15:40:20 +0000 |
commit | 315ca95666b3744f8c72c35135aea5d96de4cbb2 (patch) | |
tree | 14c935eb6e17bc13a578e0fcfa6ef71030a570be /src | |
parent | 0f6cbc55b7d05dbe4cd93a55238230b420e39e00 (diff) | |
download | external_mesa3d-315ca95666b3744f8c72c35135aea5d96de4cbb2.zip external_mesa3d-315ca95666b3744f8c72c35135aea5d96de4cbb2.tar.gz external_mesa3d-315ca95666b3744f8c72c35135aea5d96de4cbb2.tar.bz2 |
[i965] Rename {pf -> util}_format_is_depth_or_stencil()
The function was moved and renamed in 0bed834b.
Signed-off-by: Tomas Carnecky <tom@dbservice.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/i965/brw_wm_sampler_state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_wm_sampler_state.c b/src/gallium/drivers/i965/brw_wm_sampler_state.c index 4e99ac7..d9f17ac 100644 --- a/src/gallium/drivers/i965/brw_wm_sampler_state.c +++ b/src/gallium/drivers/i965/brw_wm_sampler_state.c @@ -30,6 +30,7 @@ */ #include "util/u_math.h" +#include "util/u_format.h" #include "brw_context.h" #include "brw_state.h" @@ -130,7 +131,7 @@ brw_wm_sampler_update_default_colors(struct brw_context *brw) const struct brw_sampler *sampler = brw->curr.sampler[i]; const float *bc; - if (pf_is_depth_or_stencil(tex->base.format)) { + if (util_is_depth_or_stencil(tex->base.format)) { float bordercolor[4] = { sampler->border_color[0], sampler->border_color[0], |