The function was moved and renamed in 0bed834b.
Signed-off-by: Tomas Carnecky <[email protected]>
---
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..a8bc31c 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_format_is_depth_or_stencil(tex->base.format)) {
float bordercolor[4] = {
sampler->border_color[0],
sampler->border_color[0],
--
1.6.6.rc4
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev