i965g: Rename {pf->util_format}_is_depth_or_stencil()
authorTomas Carnecky <tom@dbservice.com>
Wed, 23 Dec 2009 15:57:17 +0000 (16:57 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 23 Dec 2009 15:58:53 +0000 (16:58 +0100)
src/gallium/drivers/i965/brw_wm_sampler_state.c

index d9f17ac305fc9f9129a7badac6e04a9be6c46f84..a8bc31c9ceffca33d422f5adf5d57af9fb89bd99 100644 (file)
@@ -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],