Lines Matching refs:format
40 #include "util/format/u_format.h"
174 if (!modifier_is_supported(devinfo, templ->format, templ->bind,
295 enum pipe_format format)
297 unsigned int planes = util_format_get_num_planes(format);
323 iris_format_for_usage(devinfo, img->format, usage).fmt;
371 memobj->format = whandle->format;
393 if (p_res->next && p_res->next->format == PIPE_FORMAT_S8_UINT)
404 assert(util_format_has_depth(util_format_description(p_res->format)));
419 if (res->format != PIPE_FORMAT_S8_UINT) {
480 util_format_get_num_planes(templ->format) > 1)
600 const enum isl_format format =
603 intel_aux_map_format_bits(res->surf.tiling, format, plane);
613 enum isl_format format)
615 if (!isl_format_supports_ccs_e(devinfo, format))
618 const struct isl_format_layout *fmtl = isl_format_get_layout(format);
709 util_format_is_depth_or_stencil(templ->format)) {
712 assert(!util_format_is_depth_and_stencil(templ->format));
714 usage |= templ->format == PIPE_FORMAT_S8_UINT ?
718 const enum isl_format format =
719 iris_format_for_usage(&screen->devinfo, templ->format, usage).fmt;
723 .format = format,
739 res->internal_format = templ->format;
827 } else if (want_ccs_e_for_format(devinfo, res->surf.format)) {
831 assert(isl_format_supports_ccs_d(devinfo, res->surf.format));
1105 assert(templ->format == PIPE_FORMAT_NONE ||
1106 util_format_get_blocksize(templ->format) == 1);
1108 res->internal_format = templ->format;
1285 templ->width0 * util_format_get_blocksize(templ->format);
1310 res->internal_format = templ->format;
1384 res->external_format = whandle->format;
1386 /* Create a surface for each plane specified by the external format. */
1387 if (whandle->plane < util_format_get_num_planes(whandle->format)) {
1425 whandle->format)) {
1457 res->external_format = memobj->format;
1458 res->internal_format = templ->format;
1475 enum pipe_format format = templ->format;
1478 if (!(util_format_is_depth_and_stencil(format)))
1482 t.format = util_format_get_depth_only(format);
1495 prsc->format = format; /* frob the format back to the "external" format */
1497 t.format = PIPE_FORMAT_S8_UINT;
1818 whandle->format = res->external_format;
2008 .format = res->internal_format,
2199 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2306 isl_format_get_layout(surf->format);