Home
last modified time | relevance | path

Searched refs:dest_components (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_storage_image.c265 unsigned dest_components) in convert_color_for_load() argument
341 assert(dest_components == 1 || dest_components == 4); in convert_color_for_load()
342 assert(color->num_components <= dest_components); in convert_color_for_load()
343 if (color->num_components == dest_components) in convert_color_for_load()
360 return nir_vec(b, comps, dest_components); in convert_color_for_load()
380 const unsigned dest_components = intrin->num_components; in lower_image_load_instr() local
396 dest_components); in lower_image_load_instr()
408 const unsigned dest_components = intrin->num_components; in lower_image_load_instr() local
444 dest_components); in lower_image_load_instr()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_load_store_bitsize.c136 nir_ssa_def *dest_components[4] = { NULL }; in lower_load_bitsize() local
159 dest_components[component] = &new_intr->dest.ssa; in lower_load_bitsize()
164 nir_ssa_def *new_dst = nir_vec(b, dest_components, num_comp); in lower_load_bitsize()
Dv3d40_tex.c263 const unsigned dest_components = in v3d40_vir_emit_tex() local
265 if (ntq_tmu_fifo_overflow(c, dest_components)) in v3d40_vir_emit_tex()
Dnir_to_vir.c612 const uint32_t dest_components = nir_intrinsic_dest_components(instr); in ntq_emit_tmu_general() local
700 if (ntq_tmu_fifo_overflow(c, dest_components)) in ntq_emit_tmu_general()
708 (1 << dest_components) - 1; in ntq_emit_tmu_general()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_a6xx.c373 unsigned dest_components = nir_intrinsic_dest_components(intr); in emit_intrinsic_load_global_ir3() local
387 0, create_immed(b, dest_components), 0); in emit_intrinsic_load_global_ir3()
392 create_immed(b, 0), 0, create_immed(b, dest_components), 0); in emit_intrinsic_load_global_ir3()
396 load->dsts[0]->wrmask = MASK(dest_components); in emit_intrinsic_load_global_ir3()
401 ir3_split_dest(b, dst, load, 0, dest_components); in emit_intrinsic_load_global_ir3()
Dir3_compiler_nir.c2042 unsigned dest_components = nir_intrinsic_dest_components(intr); in emit_intrinsic() local
2046 dst = ir3_get_dst(ctx, &intr->dest, dest_components); in emit_intrinsic()
2060 for (int i = 0; i < dest_components; i++) { in emit_intrinsic()
2067 for (int i = 0; i < dest_components; i++) { in emit_intrinsic()
2361 for (int i = 0; i < dest_components; i++) { in emit_intrinsic()
2398 for (int i = 0; i < dest_components; i++) { in emit_intrinsic()
2404 for (int i = 0; i < dest_components; i++) { in emit_intrinsic()
2409 for (int i = 0; i < dest_components; i++) { in emit_intrinsic()
2414 for (int i = 0; i < dest_components; i++) { in emit_intrinsic()
/third_party/mesa3d/src/compiler/nir/
Dnir_intrinsics.py45 def __init__(self, name, src_components, dest_components, argument
65 assert isinstance(dest_components, int)
83 self.has_dest = (dest_components >= 0)
84 self.dest_components = dest_components
Dnir_builder.c287 if (nir_intrinsic_infos[op].dest_components > 0) in nir_load_system_value()
288 assert(num_components == nir_intrinsic_infos[op].dest_components); in nir_load_system_value()
Dnir.c3174 else if (info->dest_components) in nir_intrinsic_dest_components()
3175 return info->dest_components; in nir_intrinsic_dest_components()
Dnir_validate.c555 if (info->dest_components == 0) in vectorized_intrinsic()
Dnir_serialize.c1265 nir_intrinsic_infos[op].dest_components == 0) { in read_intrinsic()
Dnir.h1884 uint8_t dest_components; member
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_from_nir.cpp1648 unsigned dest_components = nir_intrinsic_dest_components(insn); in visit() local
1656 for (uint8_t i = 0; i < dest_components; ++i) { in visit()
1721 for (uint8_t i = 0u; i < dest_components; ++i) { in visit()
1766 for (uint8_t i = 0u; i < dest_components; ++i) { in visit()
1953 for (uint8_t i = 0; i < dest_components; ++i) { in visit()
1969 for (uint8_t i = 0u; i < dest_components; ++i) { in visit()
1992 for (uint8_t i = 0u; i < dest_components; ++i) { in visit()
2023 for (uint8_t i = 0u; i < dest_components; ++i) { in visit()
2065 for (uint8_t i = 0u; i < dest_components; ++i) in visit()
2347 for (uint8_t i = 0u; i < dest_components; ++i) in visit()
[all …]
/third_party/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c3555 unsigned dest_components = glsl_get_vector_elements(type->type); in vtn_handle_image() local
3557 dest_components++; in vtn_handle_image()
3559 if (nir_intrinsic_infos[op].dest_components == 0) in vtn_handle_image()
3560 intrin->num_components = dest_components; in vtn_handle_image()
3574 dest_components); in vtn_handle_image()