Home
last modified time | relevance | path

Searched refs:alu_src (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_vec_to_movs.c138 nir_alu_src *alu_src = exec_node_data(nir_alu_src, src, src); in try_coalesce() local
139 if (alu_src->abs || alu_src->negate) in try_coalesce()
Dnir_builder.h301 nir_alu_src alu_src = { NIR_SRC_INIT }; in nir_swizzle() local
302 alu_src.src = nir_src_for_ssa(src); in nir_swizzle()
304 alu_src.swizzle[i] = swiz[i]; in nir_swizzle()
306 return use_fmov ? nir_fmov_alu(build, alu_src, num_components) : in nir_swizzle()
307 nir_imov_alu(build, alu_src, num_components); in nir_swizzle()
Dnir.c1609 nir_alu_src *alu_src = exec_node_data(nir_alu_src, use, src); in nir_ssa_def_components_read() local
1610 int src_idx = alu_src - &alu->src[0]; in nir_ssa_def_components_read()
1617 read_mask |= (1 << alu_src->swizzle[c]); in nir_ssa_def_components_read()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c876 nir_alu_src alu_src = { NIR_SRC_INIT }; in ptn_add_output_stores() local
877 alu_src.src = nir_src_for_reg(c->output_regs[FRAG_RESULT_DEPTH]); in ptn_add_output_stores()
878 alu_src.swizzle[0] = SWIZZLE_Z; in ptn_add_output_stores()
879 store->src[0] = nir_src_for_ssa(nir_fmov_alu(b, alu_src, 1)); in ptn_add_output_stores()