Home
last modified time | relevance | path

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

/external/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()
/external/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.c407 nir_is_non_scalar_swizzle(nir_alu_src *src, unsigned nr_components) in nir_is_non_scalar_swizzle() argument
411 for (unsigned c = 1; c < nr_components; ++c) { in nir_is_non_scalar_swizzle()
625 unsigned nr_components = nir_dest_num_components(*dest); in emit_alu() local
809 bool mixed = nir_is_non_scalar_swizzle(&instr->src[0], nr_components); in emit_alu()
921 ins.mask = mask_of(nr_components); in emit_alu()
973 ins.mask = mask_of(nr_components * 2); in emit_alu()
977 ins.mask = mask_of(nr_components * 4); in emit_alu()
981 ins.mask = mask_of(nr_components >> 1); in emit_alu()
985 ins.mask = mask_of(nr_components >> 2); in emit_alu()
1002 for (int i = 0; i < nr_components; ++i) { in emit_alu()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c70 const GLubyte nr_components = vformat->Size; in init_velement_64bit() local
73 if (nr_components < 2) in init_velement_64bit()
84 if (nr_components >= 3) { in init_velement_64bit()
85 if (nr_components == 3) in init_velement_64bit()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c273 unsigned nr_components = util_format_get_nr_components(res->format); in vl_video_buffer_sampler_view_components() local
275 nr_components = 3; in vl_video_buffer_sampler_view_components()
277 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()
/external/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()
/external/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()
/external/mesa3d/src/panfrost/bifrost/
Dbifrost_compile.c487 unsigned nr_components, unsigned offset) in bi_emit_sysval() argument
503 .vector_channels = nr_components, in bi_emit_sysval()