Home
last modified time | relevance | path

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

/external/virglrenderer/src/gallium/auxiliary/util/
Du_format.c277 util_is_format_compatible(const struct util_format_description *src_desc, in util_is_format_compatible() argument
282 if (src_desc->format == dst_desc->format) { in util_is_format_compatible()
286 if (src_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()
298 if (src_desc->channel[chan].size != in util_is_format_compatible()
308 if (src_desc->swizzle[chan] != swizzle) { in util_is_format_compatible()
311 if ((src_desc->channel[swizzle].type != in util_is_format_compatible()
313 (src_desc->channel[swizzle].normalized != in util_is_format_compatible()
Du_format.h513 util_is_format_compatible(const struct util_format_description *src_desc,
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c288 const struct util_format_description *src_desc, *dst_desc; in swizzled_copy() local
304 src_desc = util_format_description(blit_src_format); in swizzled_copy()
307 assert(src_desc->block.bits == dst_desc->block.bits); in swizzled_copy()
308 bits = src_desc->block.bits; in swizzled_copy()
310 if (dst_desc->channel[0].size == src_desc->channel[0].size) { in swizzled_copy()
314 } else if (has_identity_swizzle(src_desc)) { in swizzled_copy()
327 canonical_format_from_bits(bits, src_desc->channel[0].size); in swizzled_copy()
410 const struct util_format_description *src_desc, *dst_desc; in handle_complex_copy() local
417 src_desc = util_format_description(src->format); in handle_complex_copy()
422 src_is_canon = same_size_and_swizzle(src_desc, canon_desc); in handle_complex_copy()
[all …]
Dst_cb_texture.c1126 const struct util_format_description *src_desc = util_format_description(src); in reinterpret_formats() local
1132 if (src_desc->nr_channels != 4 || src_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/
Du_format.c487 util_is_format_compatible(const struct util_format_description *src_desc, in util_is_format_compatible() argument
492 if (src_desc->format == dst_desc->format) { in util_is_format_compatible()
496 if (src_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()
508 if (src_desc->channel[chan].size != in util_is_format_compatible()
518 if (src_desc->swizzle[chan] != swizzle) { in util_is_format_compatible()
521 if ((src_desc->channel[swizzle].type != in util_is_format_compatible()
523 (src_desc->channel[swizzle].normalized != in util_is_format_compatible()
Du_blit.c346 const struct util_format_description *src_desc = in formats_compatible() local
350 return util_is_format_compatible(src_desc, dst_desc); in formats_compatible()
383 const struct util_format_description *src_desc = in util_blit_pixels() local
403 is_depth = util_format_has_depth(src_desc); in util_blit_pixels()
404 is_stencil = util_format_has_stencil(src_desc); in util_blit_pixels()
Du_surface.c789 const struct util_format_description *src_desc, *dst_desc; in util_can_blit_via_copy_region() local
791 src_desc = util_format_description(blit->src.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()
Du_format.h705 util_is_format_compatible(const struct util_format_description *src_desc,
Du_blitter.c1796 const struct util_format_description *src_desc = in util_blitter_blit_generic() local
1801 has_color = src_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS && in util_blitter_blit_generic()
1803 has_depth = util_format_has_depth(src_desc) && in util_blitter_blit_generic()
1805 has_stencil = util_format_has_stencil(src_desc) && in util_blitter_blit_generic()
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp2316 const auto src_desc = src_set->descriptors_[index + di].get(); in VerifyCopyUpdateContents() local
2317 if (!src_desc->updated) continue; in VerifyCopyUpdateContents()
2318 if (!src_desc->IsImmutableSampler()) { in VerifyCopyUpdateContents()
2319 auto update_sampler = static_cast<SamplerDescriptor *>(src_desc)->GetSampler(); in VerifyCopyUpdateContents()
2335 const auto src_desc = src_set->descriptors_[index + di].get(); in VerifyCopyUpdateContents() local
2336 if (!src_desc->updated) continue; in VerifyCopyUpdateContents()
2337 auto img_samp_desc = static_cast<const ImageSamplerDescriptor *>(src_desc); in VerifyCopyUpdateContents()
2365 const auto src_desc = src_set->descriptors_[index + di].get(); in VerifyCopyUpdateContents() local
2366 if (!src_desc->updated) continue; in VerifyCopyUpdateContents()
2367 auto img_desc = static_cast<const ImageDescriptor *>(src_desc); in VerifyCopyUpdateContents()
[all …]
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/binder/binder_transaction_ref_to_node/
Dformat15 print fmt: "transaction=%d node=%d src_ref=%d src_desc=%d ==> dest_ptr=0x%016llx", REC->debug_id, R…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/binder/binder_transaction_ref_to_node/
Dformat15 print fmt: "transaction=%d node=%d src_ref=%d src_desc=%d ==> dest_ptr=0x%016llx", REC->debug_id, R…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/binder/binder_transaction_ref_to_node/
Dformat15 print fmt: "transaction=%d node=%d src_ref=%d src_desc=%d ==> dest_ptr=0x%016llx", REC->debug_id, R…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/binder/binder_transaction_ref_to_ref/
Dformat16 print fmt: "transaction=%d node=%d src_ref=%d src_desc=%d ==> dest_ref=%d dest_desc=%d", REC->debug…
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/binder/binder_transaction_ref_to_node/
Dformat16 print fmt: "transaction=%d node=%d src_ref=%d src_desc=%d ==> dest_ptr=0x%p", REC->debug_id, REC->n…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/binder/binder_transaction_ref_to_ref/
Dformat16 print fmt: "transaction=%d node=%d src_ref=%d src_desc=%d ==> dest_ref=%d dest_desc=%d", REC->debug…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/binder/binder_transaction_ref_to_ref/
Dformat16 print fmt: "transaction=%d node=%d src_ref=%d src_desc=%d ==> dest_ref=%d dest_desc=%d", REC->debug…
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/binder/binder_transaction_ref_to_ref/
Dformat17 print fmt: "transaction=%d node=%d src_ref=%d src_desc=%d ==> dest_ref=%d dest_desc=%d", REC->debug…
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_dnn.cc3739 CudnnTensorDescriptor src_desc(input_dimensions, CUDNN_DATA_DOUBLE); in DoPoolForward() local
3746 cudnn.handle(), pooling_desc.handle(), &alpha, src_desc.handle(), in DoPoolForward()
3764 CudnnTensorDescriptor src_desc(input_dimensions, CUDNN_DATA_FLOAT); in DoPoolForward() local
3771 cudnn.handle(), pooling_desc.handle(), &alpha, src_desc.handle(), in DoPoolForward()
3790 CudnnTensorDescriptor src_desc(input_dimensions, CUDNN_DATA_HALF); in DoPoolForward() local
3796 cudnn.handle(), pooling_desc.handle(), &alpha, src_desc.handle(), in DoPoolForward()
3814 CudnnTensorDescriptor src_desc(input_dimensions, CUDNN_DATA_INT8); in DoPoolForward() local
3821 cudnn.handle(), pooling_desc.handle(), &alpha, src_desc.handle(), in DoPoolForward()
3842 CudnnTensorDescriptor src_desc(input_dimensions, CUDNN_DATA_DOUBLE); in DoPoolBackward() local
3851 src_desc.handle(), input_data.opaque(), &beta, src_desc.handle(), in DoPoolBackward()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blit.c347 const struct util_format_description *src_desc, *dst_desc; in can_blit_via_surface_copy() local
349 src_desc = util_format_description(blit_info->src.resource->format); in can_blit_via_surface_copy()
354 !util_is_format_compatible(src_desc, dst_desc)) in can_blit_via_surface_copy()
/external/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c787 struct anv_descriptor *src_desc = in anv_UpdateDescriptorSets() local
789 src_desc += copy->srcArrayElement; in anv_UpdateDescriptorSets()
798 dst_desc[j] = src_desc[j]; in anv_UpdateDescriptorSets()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_dnn.cc3498 ScopedTensorDescriptor src_desc{input_dimensions, miopenFloat}; in DoPoolForward() local
3503 miopen.handle(), pooling_desc.handle(), &alpha, src_desc.handle(), in DoPoolForward()
3528 ScopedTensorDescriptor src_desc{input_dimensions, miopenHalf}; in DoPoolForward() local
3533 miopen.handle(), pooling_desc.handle(), &alpha, src_desc.handle(), in DoPoolForward()
3573 ScopedTensorDescriptor src_desc{input_dimensions, miopenFloat}; in DoPoolBackward() local
3628 miopen.handle(), pooling_desc.handle(), &alpha, src_desc.handle(), in DoPoolBackward()
3642 src_desc.handle(), input_data.opaque(), &beta, src_desc.handle(), in DoPoolBackward()
3669 ScopedTensorDescriptor src_desc{input_dimensions, miopenHalf}; in DoPoolBackward() local
3724 miopen.handle(), pooling_desc.handle(), &alpha, src_desc.handle(), in DoPoolBackward()
3738 src_desc.handle(), input_data.opaque(), &beta, src_desc.handle(), in DoPoolBackward()
/external/virglrenderer/src/
Dvrend_formats.c593 const struct util_format_description *src_desc = util_format_description(src); in format_is_copy_compatible() local
595 return util_is_format_compatible(src_desc, dst_desc); in format_is_copy_compatible()
/external/deqp/external/openglcts/modules/gl/
Dgl4cCopyImageTests.cpp3447 targetDesc src_desc = test_case.m_src; in verify() local
3448 const GLuint src_level = src_desc.m_level; in verify()
3450 const GLuint src_pixel_size = Utils::getPixelSizeForFormat(src_desc.m_internal_format); in verify()
3454 src_desc.m_target = GL_TEXTURE_2D; in verify()
3470 …calculateDimmensions(src_desc.m_target, src_level, src_desc.m_width, src_desc.m_height, src_widths… in verify()
3497 getPixels(m_src_tex_name, src_desc, level, &src_level_data[0]); in verify()
3501 if (false == compareImages(src_desc, src_pixels[level], 0, 0, layer, level, src_desc, in verify()
3599 layer + dst_layer, dst_level, src_desc, src_pixels[src_level], test_case.m_src_x, in verify()