Home
last modified time | relevance | path

Searched refs:dst_desc (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format.c518 const struct util_format_description *dst_desc) in util_is_format_compatible() argument
522 if (src_desc->format == dst_desc->format) { in util_is_format_compatible()
527 dst_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN) { in util_is_format_compatible()
531 if (src_desc->block.bits != dst_desc->block.bits || in util_is_format_compatible()
532 src_desc->nr_channels != dst_desc->nr_channels || in util_is_format_compatible()
533 src_desc->colorspace != dst_desc->colorspace) { in util_is_format_compatible()
539 dst_desc->channel[chan].size) { in util_is_format_compatible()
545 enum pipe_swizzle swizzle = dst_desc->swizzle[chan]; in util_is_format_compatible()
552 dst_desc->channel[swizzle].type) || in util_is_format_compatible()
554 dst_desc->channel[swizzle].normalized)) { in util_is_format_compatible()
Du_format.h788 const struct util_format_description *dst_desc) ATTRIBUTE_CONST;