Lines Matching defs:desc
579 util_format_is_rgba1010102_variant(const struct util_format_description *desc)
584 if (desc->block.width != 1 ||
585 desc->block.height != 1 ||
586 desc->block.bits != 32)
590 if(desc->channel[chan].type != UTIL_FORMAT_TYPE_UNSIGNED &&
591 desc->channel[chan].type != UTIL_FORMAT_TYPE_VOID)
593 if (desc->channel[chan].size != size[chan])
604 const struct util_format_description *desc =
607 if (desc->layout != UTIL_FORMAT_LAYOUT_PLAIN)
614 desc->nr_channels == 4 &&
615 desc->channel[c].size == 16 &&
616 desc->channel[c].type == UTIL_FORMAT_TYPE_FLOAT)
619 if (desc->channel[c].normalized &&
620 desc->channel[c].type == UTIL_FORMAT_TYPE_UNSIGNED &&
621 desc->channel[c].size >= 4 &&
622 desc->channel[c].size <= 10) {
624 if (desc->nr_channels >= 3)
631 if (desc->nr_channels == 1)
666 const struct util_format_description *desc;
686 desc = util_format_description(format);
691 !util_format_is_rgba8_variant(desc) &&
692 !util_format_is_rgba1010102_variant(desc) &&
700 !util_format_is_rgba8_variant(desc)) {