Searched refs:dst_desc (Results 1 – 13 of 13) sorted by relevance
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_format.c | 278 const struct util_format_description *dst_desc) in util_is_format_compatible() argument 282 if (src_desc->format == dst_desc->format) { in util_is_format_compatible() 287 dst_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN) { in util_is_format_compatible() 291 if (src_desc->block.bits != dst_desc->block.bits || in util_is_format_compatible() 292 src_desc->nr_channels != dst_desc->nr_channels || in util_is_format_compatible() 293 src_desc->colorspace != dst_desc->colorspace) { in util_is_format_compatible() 299 dst_desc->channel[chan].size) { in util_is_format_compatible() 305 enum util_format_swizzle swizzle = dst_desc->swizzle[chan]; in util_is_format_compatible() 312 dst_desc->channel[swizzle].type) || in util_is_format_compatible() 314 dst_desc->channel[swizzle].normalized)) { in util_is_format_compatible()
|
D | u_format.h | 514 const struct util_format_description *dst_desc);
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_copyimage.c | 288 const struct util_format_description *src_desc, *dst_desc; in swizzled_copy() local 305 dst_desc = util_format_description(blit_dst_format); in swizzled_copy() 307 assert(src_desc->block.bits == dst_desc->block.bits); in swizzled_copy() 310 if (dst_desc->channel[0].size == src_desc->channel[0].size) { in swizzled_copy() 320 canonical_format_from_bits(bits, dst_desc->channel[0].size); in swizzled_copy() 321 } else if (has_identity_swizzle(dst_desc)) { in swizzled_copy() 410 const struct util_format_description *src_desc, *dst_desc; in handle_complex_copy() local 418 dst_desc = util_format_description(dst->format); in handle_complex_copy() 423 dst_is_canon = same_size_and_swizzle(dst_desc, canon_desc); in handle_complex_copy() 425 dst_is_noncanon = same_size_and_swizzle(dst_desc, noncanon_desc); in handle_complex_copy()
|
D | st_cb_texture.c | 1127 const struct util_format_description *dst_desc = util_format_description(dst); in reinterpret_formats() local 1135 if (dst_desc->nr_channels != 4 || dst_desc->swizzle[3] == PIPE_SWIZZLE_1) in reinterpret_formats() 1139 swizzle[i] = dst_desc->swizzle[src_desc->swizzle[i]]; in reinterpret_formats()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format.c | 488 const struct util_format_description *dst_desc) in util_is_format_compatible() argument 492 if (src_desc->format == dst_desc->format) { in util_is_format_compatible() 497 dst_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN) { in util_is_format_compatible() 501 if (src_desc->block.bits != dst_desc->block.bits || in util_is_format_compatible() 502 src_desc->nr_channels != dst_desc->nr_channels || in util_is_format_compatible() 503 src_desc->colorspace != dst_desc->colorspace) { in util_is_format_compatible() 509 dst_desc->channel[chan].size) { in util_is_format_compatible() 515 enum pipe_swizzle swizzle = dst_desc->swizzle[chan]; in util_is_format_compatible() 522 dst_desc->channel[swizzle].type) || in util_is_format_compatible() 524 dst_desc->channel[swizzle].normalized)) { in util_is_format_compatible()
|
D | u_surface.c | 789 const struct util_format_description *src_desc, *dst_desc; in util_can_blit_via_copy_region() local 792 dst_desc = util_format_description(blit->dst.resource->format); in util_can_blit_via_copy_region() 804 !util_is_format_compatible(src_desc, dst_desc)) { in util_can_blit_via_copy_region()
|
D | u_blit.c | 348 const struct util_format_description *dst_desc = in formats_compatible() local 350 return util_is_format_compatible(src_desc, dst_desc); in formats_compatible()
|
D | u_format.h | 706 const struct util_format_description *dst_desc);
|
D | u_blitter.c | 1798 const struct util_format_description *dst_desc = in util_blitter_blit_generic() local 1802 dst_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS; in util_blitter_blit_generic() 1804 util_format_has_depth(dst_desc); in util_blitter_blit_generic() 1806 util_format_has_stencil(dst_desc); in util_blitter_blit_generic()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_blit.c | 347 const struct util_format_description *src_desc, *dst_desc; in can_blit_via_surface_copy() local 350 dst_desc = util_format_description(blit_info->dst.resource->format); in can_blit_via_surface_copy() 354 !util_is_format_compatible(src_desc, dst_desc)) in can_blit_via_surface_copy()
|
/external/virglrenderer/src/ |
D | vrend_blitter.c | 712 const struct util_format_description *dst_desc = in vrend_renderer_blit_gl() local 720 util_format_has_depth(dst_desc); in vrend_renderer_blit_gl() 722 util_format_has_stencil(dst_desc); in vrend_renderer_blit_gl()
|
D | vrend_formats.c | 594 const struct util_format_description *dst_desc = util_format_description(dst); in format_is_copy_compatible() local 595 return util_is_format_compatible(src_desc, dst_desc); in format_is_copy_compatible()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_descriptor_set.c | 793 struct anv_descriptor *dst_desc = in anv_UpdateDescriptorSets() local 795 dst_desc += copy->dstArrayElement; in anv_UpdateDescriptorSets() 798 dst_desc[j] = src_desc[j]; in anv_UpdateDescriptorSets()
|