Lines Matching refs:format
40 #include "util/format/u_format.h"
112 if (util_format_is_compressed(pt->format))
122 nblocksx = util_format_get_nblocksx(pt->format,
124 nblocksy = util_format_get_nblocksy(pt->format,
126 block_size = util_format_get_blocksize(pt->format);
128 if (util_format_is_compressed(pt->format))
218 lpr->base.format,
262 assert(util_format_get_blocksize(templat->format) == 1);
395 assert(util_format_get_blocksize(templat->format) == 1);
685 enum pipe_format format;
761 format = lpr->base.format;
779 box->y / util_format_get_blockheight(format) * pt->stride +
780 box->x / util_format_get_blockwidth(format) * util_format_get_blocksize(format);
834 * Returns the largest possible alignment for a format in llvmpipe
837 llvmpipe_get_format_alignment( enum pipe_format format )
839 const struct util_format_description *desc = util_format_description(format);
881 buffer->base.format = PIPE_FORMAT_R8_UNORM; /* ?? */