Home
last modified time | relevance | path

Searched refs:src_desc (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_format.c415 util_is_format_compatible(const struct util_format_description *src_desc, in util_is_format_compatible() argument
420 if (src_desc->format == dst_desc->format) { in util_is_format_compatible()
424 if (src_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN || in util_is_format_compatible()
429 if (src_desc->block.bits != dst_desc->block.bits || in util_is_format_compatible()
430 src_desc->nr_channels != dst_desc->nr_channels || in util_is_format_compatible()
431 src_desc->colorspace != dst_desc->colorspace) { in util_is_format_compatible()
436 if (src_desc->channel[chan].size != in util_is_format_compatible()
446 if (src_desc->swizzle[chan] != swizzle) { in util_is_format_compatible()
449 if ((src_desc->channel[swizzle].type != in util_is_format_compatible()
451 (src_desc->channel[swizzle].normalized != in util_is_format_compatible()
Du_blit.c406 const struct util_format_description *src_desc = in formats_compatible() local
410 return util_is_format_compatible(src_desc, dst_desc); in formats_compatible()
451 const struct util_format_description *src_desc = in util_blit_pixels() local
470 is_depth = util_format_has_depth(src_desc); in util_blit_pixels()
471 is_stencil = util_format_has_stencil(src_desc); in util_blit_pixels()
Du_format.h606 util_is_format_compatible(const struct util_format_description *src_desc,
Du_blitter.c1132 const struct util_format_description *src_desc = in util_blitter_copy_texture_view() local
1135 blit_depth = util_format_has_depth(src_desc) && (mask & PIPE_MASK_Z); in util_blitter_copy_texture_view()
1136 blit_stencil = util_format_has_stencil(src_desc) && (mask & PIPE_MASK_S); in util_blitter_copy_texture_view()
/external/mesa3d/src/gallium/drivers/galahad/
Dglhd_context.c697 const struct util_format_description *src_desc = in galahad_context_resource_copy_region() local
701 if (!util_is_format_compatible(src_desc, dst_desc)) in galahad_context_resource_copy_region()
703 src_desc->short_name, in galahad_context_resource_copy_region()