case PIPE_FORMAT_X8Z24_UNORM:
SCREEN_DBG(r300_screen(screen), DBG_TEX,
"r300: Note: Got unsupported format: %s in %s\n",
- pf_name(format), __FUNCTION__);
+ util_format_name(format), __FUNCTION__);
return FALSE;
/* XXX Add all remaining gallium-supported formats,
default:
/* Unknown format... */
debug_printf("r300: Warning: Got unknown format: %s in %s\n",
- pf_name(format), __FUNCTION__);
+ util_format_name(format), __FUNCTION__);
break;
}
default:
debug_printf("r300: Implementation error: "
"Got unsupported color format %s in %s\n",
- pf_name(format), __FUNCTION__);
+ util_format_name(format), __FUNCTION__);
assert(0);
break;
}
default:
debug_printf("r300: Implementation error: "
"Got unsupported ZS format %s in %s\n",
- pf_name(format), __FUNCTION__);
+ util_format_name(format), __FUNCTION__);
assert(0);
break;
}
default:
debug_printf("r300: Implementation error: "
"Got unsupported output format %s in %s\n",
- pf_name(format), __FUNCTION__);
+ util_format_name(format), __FUNCTION__);
assert(0);
return R300_US_OUT_FMT_UNUSED;
}
if (desc->layout != UTIL_FORMAT_LAYOUT_ARITH &&
desc->layout != UTIL_FORMAT_LAYOUT_ARRAY) {
- debug_printf("r300: Bad format %s in %s:%d\n", pf_name(format),
+ debug_printf("r300: Bad format %s in %s:%d\n", util_format_name(format),
__FUNCTION__, __LINE__);
assert(0);
}
break;
default:
debug_printf("r300: Bad format %s in %s:%d\n",
- pf_name(format), __FUNCTION__, __LINE__);
+ util_format_name(format), __FUNCTION__, __LINE__);
assert(0);
}
break;
break;
default:
debug_printf("r300: Bad format %s in %s:%d\n",
- pf_name(format), __FUNCTION__, __LINE__);
+ util_format_name(format), __FUNCTION__, __LINE__);
debug_printf("r300: util_format_get_component_bits(format, UTIL_FORMAT_COLORSPACE_RGB, 0) == %d\n",
util_format_get_component_bits(format, UTIL_FORMAT_COLORSPACE_RGB, 0));
assert(0);
break;
default:
debug_printf("r300: Bad format %s in %s:%d\n",
- pf_name(format), __FUNCTION__, __LINE__);
+ util_format_name(format), __FUNCTION__, __LINE__);
assert(0);
}
if (desc->layout != UTIL_FORMAT_LAYOUT_ARITH &&
desc->layout != UTIL_FORMAT_LAYOUT_ARRAY) {
debug_printf("r300: Bad format %s in %s:%d\n",
- pf_name(format), __FUNCTION__, __LINE__);
+ util_format_name(format), __FUNCTION__, __LINE__);
return 0;
}