Home | History | Annotate | Download | only in util

Lines Matching refs:format

57    surf->format = texture->format;
82 enum pipe_format format = PIPE_FORMAT_NONE;
88 /* Choose surface format */
92 format = rgbaFormats[i];
96 if (format == PIPE_FORMAT_NONE)
97 return FALSE; /* unable to get an rgba format!?! */
102 templ.format = format;
169 src_format = src->format;
170 dst_format = dst->format;
260 util_pack_color(color->f, dst->texture->format, &uc);
261 util_fill_rect(dst_map, dst->texture->format,
291 util_format_is_depth_and_stencil(dst->format))
311 unsigned zstencil = util_pack_z_stencil(dst->texture->format, depth, stencil);
315 switch (util_format_get_blocksize(dst->format)) {
317 assert(dst->format == PIPE_FORMAT_S8_UINT);
328 assert(dst->format == PIPE_FORMAT_Z16_UNORM);
347 if (dst->format == PIPE_FORMAT_Z24_UNORM_S8_UINT)
350 assert(dst->format == PIPE_FORMAT_S8_UINT_Z24_UNORM);
367 uint64_t zstencil = util_pack64_z_stencil(dst->texture->format,
370 assert(dst->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT);