Lines Matching refs:format
96 #include "util/format/u_format.h"
1513 pformat = ice->state.framebuffer.cbufs[i]->format;
2447 /* We may need to swizzle the border color for format faking.
2507 * format. This matches the sampler->BorderColor union exactly; just
2517 * "If any color channel is missing from the surface format,
2534 /* R10G10B10A2_UINT is treated like a 16-bit format. */
2552 assert(!"Invalid number of bits per channel in integer format.");
2649 !(GFX_VERx10 == 70 && util_format_is_pure_integer(tex->base.format)))
2688 if (util_format_is_depth_or_stencil(tmpl->format)) {
2691 util_format_description(tmpl->format);
2697 if (tex->format == PIPE_FORMAT_S8_UINT)
2711 crocus_format_for_usage(devinfo, tmpl->format, usage);
2718 (tmpl->format == PIPE_FORMAT_X32_S8X24_UINT ||
2719 tmpl->format == PIPE_FORMAT_X24S8_UINT)) {
2729 .format = fmt.fmt,
2765 isv->gather_view.format = ISL_FORMAT_R32G32_FLOAT_LD;
2787 isv->gather_view.format = ISL_FORMAT_R8_UNORM;
2792 isv->gather_view.format = ISL_FORMAT_R16_UNORM;
2797 isv->gather_view.format = ISL_FORMAT_R32_FLOAT;
2841 else if (util_format_is_depth_or_stencil(tmpl->format))
2847 crocus_format_for_usage(devinfo, tmpl->format, usage);
2868 psurf->format = tmpl->format;
2880 .format = fmt.fmt,
2892 .format = fmt.fmt,
2909 if (!isl_format_is_compressed(res->surf.format)) {
2932 .format = res->base.b.format,
2946 /* The resource has a compressed format, which is not renderable, but we
2947 * have a renderable view format. We must be attempting to upload blocks
2966 * a substantial lie about the format, so we select a single image
2997 * array slices using QPitch even with the format override, so we
3005 isl_format_get_layout(res->surf.format);
3006 surf->surf.format = fmt.fmt;
3082 crocus_format_for_usage(devinfo, img->format, usage);
3098 .format = fmt.fmt,
3114 .format = fmt.fmt,
3123 img->format, img->u.buf.size);
3445 /* update SF's depth buffer format */
3698 static uint8_t get_wa_flags(enum isl_format format)
3702 switch (format) {
5134 .format = ISL_FORMAT_RAW,
5156 .format = 0,
5183 .format = ISL_FORMAT_RAW,
5204 const struct isl_format_layout *fmtl = isl_format_get_layout(isv->view.format);
5205 const unsigned cpp = isv->view.format == ISL_FORMAT_RAW ? 1 : fmtl->bpb / 8;
5214 .format = isv->view.format,
5245 const struct isl_format_layout *fmtl = isl_format_get_layout(iv->view.format);
5246 const unsigned cpp = iv->view.format == ISL_FORMAT_RAW ? 1 : fmtl->bpb / 8;
5255 .format = iv->view.format,
5261 if (iv->view.format == ISL_FORMAT_RAW) {
5267 .format = iv->view.format,
5360 .format = surface_format);
7133 sf.DepthBufferSurfaceFormat = zres ? isl_format_get_depth_format(zres->surf.format, false) : D16_UNORM;
7480 view.format = zres->surf.format;
7525 view.format = sres->surf.format;