Lines Matching defs:format
37 * to see if there's a non-zero stride, or user buffer, or unsupported format,
91 #include "util/format/u_format.h"
280 * table of the translations indexed by format, but since we don't have C99
281 * we can't easily make a sparsely-populated table indexed by format. So,
288 enum pipe_format format = vbuf_format_fallbacks[i].from;
289 unsigned comp_bits = util_format_get_component_bits(format, 0, 0);
294 if (!screen->is_format_supported(screen, format, PIPE_BUFFER, 0, 0,
296 caps->format_translation[format] = vbuf_format_fallbacks[i].to;
882 /* Set the best native format in case the original format is not
885 enum pipe_format format = ve->ve[i].src_format;
888 ve->src_format_size[i] = util_format_get_blocksize(format);
899 format = mgr->caps.format_translation[format];
901 driver_attribs[i].src_format = format;
902 ve->native_format[i] = format;
906 const struct util_format_description *desc = util_format_description(format);
914 if (ve->ve[i].src_format != format ||