Home
last modified time | relevance | path

Searched refs:srcn (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_builder.c271 nir_ssa_for_alu_src(nir_builder *build, nir_alu_instr *instr, unsigned srcn) in nir_ssa_for_alu_src() argument
273 if (nir_alu_src_is_trivial_ssa(instr, srcn)) in nir_ssa_for_alu_src()
274 return instr->src[srcn].src.ssa; in nir_ssa_for_alu_src()
276 nir_alu_src *src = &instr->src[srcn]; in nir_ssa_for_alu_src()
277 unsigned num_components = nir_ssa_alu_instr_src_components(instr, srcn); in nir_ssa_for_alu_src()
Dnir.c514 nir_alu_src_is_trivial_ssa(const nir_alu_instr *alu, unsigned srcn) in nir_alu_src_is_trivial_ssa() argument
519 const nir_alu_src *src = &alu->src[srcn]; in nir_alu_src_is_trivial_ssa()
520 unsigned num_components = nir_ssa_alu_instr_src_components(alu, srcn); in nir_alu_src_is_trivial_ssa()
3156 nir_intrinsic_src_components(const nir_intrinsic_instr *intr, unsigned srcn) in nir_intrinsic_src_components() argument
3159 assert(srcn < info->num_srcs); in nir_intrinsic_src_components()
3160 if (info->src_components[srcn] > 0) in nir_intrinsic_src_components()
3161 return info->src_components[srcn]; in nir_intrinsic_src_components()
3162 else if (info->src_components[srcn] == 0) in nir_intrinsic_src_components()
3165 return nir_src_num_components(intr->src[srcn]); in nir_intrinsic_src_components()
Dnir.h1504 bool nir_alu_src_is_trivial_ssa(const nir_alu_instr *alu, unsigned srcn);
1914 nir_intrinsic_src_components(const nir_intrinsic_instr *intr, unsigned srcn);
Dnir_builder.h1116 nir_ssa_for_alu_src(nir_builder *build, nir_alu_instr *instr, unsigned srcn);
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c692 unsigned srcn = 0; in ttn_src_for_file_and_index() local
709 load->src[srcn] = in ttn_src_for_file_and_index()
714 load->src[srcn] = in ttn_src_for_file_and_index()
717 srcn++; in ttn_src_for_file_and_index()
753 load->src[srcn++] = nir_src_for_ssa(offset); in ttn_src_for_file_and_index()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DGLES1Shaders.inc721 float textureCombineSrcnOpnAlpha(int srcn,
731 switch (srcn)
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DGLES1Shaders.inc717 float textureCombineSrcnOpnAlpha(int srcn,
727 switch (srcn)