Searched refs:src_desc (Results 1 - 21 of 21) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_cb_copyimage.c289 const struct util_format_description *src_desc, *dst_desc; local in function:swizzled_copy
305 src_desc = util_format_description(blit_src_format);
308 assert(src_desc->block.bits == dst_desc->block.bits);
309 bits = src_desc->block.bits;
311 if (dst_desc->channel[0].size == src_desc->channel[0].size) {
315 } else if (has_identity_swizzle(src_desc)) {
328 canonical_format_from_bits(bits, src_desc->channel[0].size);
412 const struct util_format_description *src_desc, *dst_desc; local in function:handle_complex_copy
419 src_desc = util_format_description(src->format);
424 src_is_canon = same_size_and_swizzle(src_desc, canon_des
[all...]
H A Dst_cb_texture.c1169 const struct util_format_description *src_desc = util_format_description(src); local in function:reinterpret_formats
1175 if (src_desc->nr_channels != 4 || src_desc->swizzle[3] == PIPE_SWIZZLE_1)
1182 swizzle[i] = dst_desc->swizzle[src_desc->swizzle[i]];
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_cb_copyimage.c289 const struct util_format_description *src_desc, *dst_desc; local in function:swizzled_copy
305 src_desc = util_format_description(blit_src_format);
308 assert(src_desc->block.bits == dst_desc->block.bits);
309 bits = src_desc->block.bits;
311 if (dst_desc->channel[0].size == src_desc->channel[0].size) {
315 } else if (has_identity_swizzle(src_desc)) {
328 canonical_format_from_bits(bits, src_desc->channel[0].size);
412 const struct util_format_description *src_desc, *dst_desc; local in function:handle_complex_copy
419 src_desc = util_format_description(src->format);
424 src_is_canon = same_size_and_swizzle(src_desc, canon_des
[all...]
H A Dst_cb_texture.c1540 const struct util_format_description *src_desc = util_format_description(src); local in function:reinterpret_formats
1546 if (src_desc->nr_channels != 4 || src_desc->swizzle[3] == PIPE_SWIZZLE_1)
1553 swizzle[i] = dst_desc->swizzle[src_desc->swizzle[i]];
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_format.c466 util_is_format_compatible(const struct util_format_description *src_desc, argument
471 if (src_desc->format == dst_desc->format) {
475 if (src_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN ||
480 if (src_desc->block.bits != dst_desc->block.bits ||
481 src_desc->nr_channels != dst_desc->nr_channels ||
482 src_desc->colorspace != dst_desc->colorspace) {
487 if (src_desc->channel[chan].size !=
497 if (src_desc->swizzle[chan] != swizzle) {
500 if ((src_desc->channel[swizzle].type !=
502 (src_desc
[all...]
H A Du_blit.c359 const struct util_format_description *src_desc = local in function:formats_compatible
363 return util_is_format_compatible(src_desc, dst_desc);
397 const struct util_format_description *src_desc = local in function:util_blit_pixels
417 is_depth = util_format_has_depth(src_desc);
418 is_stencil = util_format_has_stencil(src_desc);
H A Du_surface.c789 const struct util_format_description *src_desc, *dst_desc; local in function:util_can_blit_via_copy_region
791 src_desc = util_format_description(blit->src.resource->format);
804 !util_is_format_compatible(src_desc, dst_desc)) {
H A Du_format.h757 util_is_format_compatible(const struct util_format_description *src_desc,
H A Du_blitter.c1826 const struct util_format_description *src_desc = local in function:util_blitter_blit_generic
1831 has_color = src_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS &&
1833 has_depth = util_format_has_depth(src_desc) &&
1835 has_stencil = util_format_has_stencil(src_desc) &&
/xsrc/external/mit/MesaLib/dist/src/util/format/
H A Du_format.c514 util_is_format_compatible(const struct util_format_description *src_desc, argument
519 if (src_desc->format == dst_desc->format) {
523 if (src_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN ||
528 if (src_desc->block.bits != dst_desc->block.bits ||
529 src_desc->nr_channels != dst_desc->nr_channels ||
530 src_desc->colorspace != dst_desc->colorspace) {
535 if (src_desc->channel[chan].size !=
545 if (src_desc->swizzle[chan] != swizzle) {
548 if ((src_desc->channel[swizzle].type !=
550 (src_desc
[all...]
H A Du_format.h771 util_is_format_compatible(const struct util_format_description *src_desc,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_blit.c254 const struct util_format_description *src_desc = util_format_description(info->src.format); local in function:zink_blit
261 if (src_desc == dst_desc ||
262 src_desc->nr_channels != 4 || src_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN ||
263 (src_desc->nr_channels == 4 && src_desc->channel[3].type != UTIL_FORMAT_TYPE_VOID)) {
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_blitter.c152 const struct util_format_description *src_desc = local in function:can_do_blit
156 const int common_channels = MIN2(src_desc->nr_channels, dst_desc->nr_channels);
160 fail_if(memcmp(&src_desc->channel[i],
162 sizeof(src_desc->channel[0])));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_blitter.c215 const struct util_format_description *src_desc = local in function:can_do_blit
220 MIN2(src_desc->nr_channels, dst_desc->nr_channels);
224 fail_if(memcmp(&src_desc->channel[i], &dst_desc->channel[i],
225 sizeof(src_desc->channel[0])));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_blit.c429 const struct util_format_description *src_desc, *dst_desc; local in function:can_blit_via_surface_copy
431 src_desc = util_format_description(blit_info->src.resource->format);
436 !util_is_format_compatible(src_desc, dst_desc))
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_surface.c772 const struct util_format_description *src_desc, *dst_desc; local in function:util_can_blit_via_copy_region
774 src_desc = util_format_description(blit->src.resource->format);
787 !util_is_format_compatible(src_desc, dst_desc)) {
H A Du_blitter.c1929 const struct util_format_description *src_desc = local in function:util_blitter_blit_generic
1934 bool src_has_color = src_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS;
1935 bool src_has_depth = util_format_has_depth(src_desc);
1936 bool src_has_stencil = util_format_has_stencil(src_desc);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_blit.c421 const struct util_format_description *src_desc, *dst_desc; local in function:can_blit_via_surface_copy
423 src_desc = util_format_description(blit_info->src.resource->format);
428 !util_is_format_compatible(src_desc, dst_desc))
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/lavapipe/
H A Dlvp_descriptor_set.c465 struct lvp_descriptor *src_desc = local in function:lvp_UpdateDescriptorSets
467 src_desc += copy->srcArrayElement;
476 dst_desc[j] = src_desc[j];
/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_descriptor_set.c1687 struct anv_descriptor *src_desc = local in function:anv_UpdateDescriptorSets
1689 src_desc += copy->srcArrayElement;
1728 dst_desc[j].type = src_desc[j].type;
1733 dst_desc[j] = src_desc[j];
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
H A Danv_descriptor_set.c1440 struct anv_descriptor *src_desc = local in function:anv_UpdateDescriptorSets
1442 src_desc += copy->srcArrayElement;
1451 dst_desc[j] = src_desc[j];

Completed in 41 milliseconds