Mesa (master): i965g: Rename {pf->util_format}_is_depth_or_stencil()

Roland Scheidegger sroland at kemper.freedesktop.org
Wed Dec 23 07:59:18 PST 2009


Module: Mesa
Branch: master
Commit: cc7a2d8e6422f632b28e740afc4ab29bd68ac0f9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc7a2d8e6422f632b28e740afc4ab29bd68ac0f9

Author: Tomas Carnecky <tom at dbservice.com>
Date:   Wed Dec 23 16:57:17 2009 +0100

i965g: Rename {pf->util_format}_is_depth_or_stencil()

---

 src/gallium/drivers/i965/brw_wm_sampler_state.c |    2 +-
 1 files changed, 1 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 d9f17ac..a8bc31c 100644
--- a/src/gallium/drivers/i965/brw_wm_sampler_state.c
+++ b/src/gallium/drivers/i965/brw_wm_sampler_state.c
@@ -131,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 (util_is_depth_or_stencil(tex->base.format)) {
+      if (util_format_is_depth_or_stencil(tex->base.format)) {
 	 float bordercolor[4] = {
 	    sampler->border_color[0],
 	    sampler->border_color[0],



More information about the mesa-commit mailing list