Home
last modified time | relevance | path

Searched refs:nr_components (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/panfrost/util/
Dnir_mod_helpers.c111 unsigned nr_components = nir_dest_num_components(alu->dest.dest); in pan_has_dest_mod() local
113 if (nir_dest_num_components(*dest) != nr_components) in pan_has_dest_mod()
117 for (unsigned i = 0; i < nr_components; ++i) { in pan_has_dest_mod()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_derivatives.c99 unsigned nr_components = nir_dest_num_components(instr->dest.dest); in midgard_emit_derivatives() local
103 .mask = mask_of(nr_components), in midgard_emit_derivatives()
Dmidgard_compile.c522 nir_is_non_scalar_swizzle(nir_alu_src *src, unsigned nr_components) in nir_is_non_scalar_swizzle() argument
526 for (unsigned c = 1; c < nr_components; ++c) { in nir_is_non_scalar_swizzle()
747 unsigned nr_components = nir_dest_num_components(*dest); in emit_alu() local
936 bool mixed = nir_is_non_scalar_swizzle(&instr->src[0], nr_components); in emit_alu()
1048 ins.mask = mask_of(nr_components); in emit_alu()
1100 ins.mask = mask_of(nr_components * 2); in emit_alu()
1104 ins.mask = mask_of(nr_components * 4); in emit_alu()
1108 ins.mask = mask_of(nr_components >> 1); in emit_alu()
1112 ins.mask = mask_of(nr_components >> 2); in emit_alu()
1129 for (int i = 0; i < nr_components; ++i) { in emit_alu()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c276 unsigned nr_components = util_format_get_nr_components(res->format); in vl_video_buffer_sampler_view_components() local
278 nr_components = 3; in vl_video_buffer_sampler_view_components()
280 for (j = 0; j < nr_components && component < VL_NUM_COMPONENTS; ++j, ++component) { in vl_video_buffer_sampler_view_components()
Dvl_mpeg12_decoder.c763 unsigned nr_components; in vl_mpeg12_end_frame() local
821 nr_components = util_format_get_nr_components(target_surfaces[i]->texture->format); in vl_mpeg12_end_frame()
822 for (j = 0; j < nr_components; ++j, ++component) { in vl_mpeg12_end_frame()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_job_common.h75 uint32_t nr_components; member
Dpvr_job_common.c246 if (surface_params->nr_components == 2) in pvr_pbe_pack_state()
Dpvr_cmd_buffer.c758 surface_params.nr_components = vk_format_get_nr_components(iview->vk.format); in pvr_setup_pbe_state()
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video.c135 unsigned nr_components = util_format_get_nr_components(res->format); in nouveau_vp3_video_buffer_create() local
142 for (j = 0; j < nr_components; ++j, ++component) { in nouveau_vp3_video_buffer_create()
Dnouveau_video.c690 unsigned nr_components = util_format_get_nr_components(buf->resources[i]->format); in nouveau_video_buffer_sampler_view_components() local
692 for (j = 0; j < nr_components; ++j, ++component) { in nouveau_video_buffer_sampler_view_components()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv84_video.c697 unsigned nr_components = util_format_get_nr_components(res->format); in nv84_video_buffer_create() local
705 for (j = 0; j < nr_components; ++j, ++component) { in nv84_video_buffer_create()
/third_party/mesa3d/src/panfrost/bifrost/
Dbifrost_compile.c664 unsigned nr_components, unsigned offset) in bi_load_sysval_to() argument
675 return bi_load_ubo_to(b, nr_components * 32, dest, in bi_load_sysval_to()
681 unsigned nr_components, unsigned offset) in bi_load_sysval_nir() argument
685 nr_components, offset); in bi_load_sysval_nir()
690 unsigned nr_components, unsigned offset) in bi_load_sysval() argument
693 bi_load_sysval_to(b, tmp, sysval, nr_components, offset); in bi_load_sysval()