Lines Matching defs:format
30 #include "util/format/u_format.h"
94 /* Fallback for depth&stencil. XXX: see if we can use a proxy format */
95 desc = util_format_description(src->format);
99 desc = util_format_description(dst->format);
224 int block_width = util_format_get_blockwidth(dpt->format);
225 int block_height = util_format_get_blockheight(dpt->format);
226 int block_size = util_format_get_blocksize(dpt->format);
227 assert(util_format_get_blocksize(spt->format) == block_size);
228 assert(util_format_get_blockwidth(spt->format) == block_width);
229 assert(util_format_get_blockheight(spt->format) == block_height);
269 util_format_short_name(info.src.resource->format),
270 util_format_short_name(info.dst.resource->format));
297 assert(util_format_get_blockwidth(pt->format) == 1);
298 assert(util_format_get_blockheight(pt->format) == 1);
300 util_pack_color(color->f, dst->format, &uc);
301 i915_fill_blit(i915_context(pipe), util_format_get_blocksize(pt->format),
321 assert(util_format_get_blockwidth(pt->format) == 1);
322 assert(util_format_get_blockheight(pt->format) == 1);
324 packedds = util_pack_z_stencil(dst->format, depth, stencil);
332 (dst->format != PIPE_FORMAT_Z24_UNORM_S8_UINT))
335 i915_fill_blit(i915_context(pipe), util_format_get_blocksize(pt->format),
348 enum pipe_format format = surf->templ.format;
351 enum pipe_format format;
366 if (format == PIPE_FORMAT_A8_UNORM)
368 else if (util_format_is_rgbx_or_bgrx(format))
372 if (fixup_formats[i].format == format) {
404 ps->format = surf_tmpl->format;
412 if (util_format_is_depth_or_stencil(ps->format)) {