Home
last modified time | relevance | path

Searched refs:src_chan (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_action.h77 unsigned src_chan; member
Dlp_bld_tgsi.c181 emit_data->src_chan); in lp_build_fetch_args()
291 emit_data.src_chan = src_index; in lp_build_tgsi_inst_llvm()
Dlp_bld_nir.c977 LLVMValueRef src_chan[NIR_MAX_VEC_COMPONENTS]; in visit_alu() local
981 src_chan[i] = LLVMBuildExtractValue(gallivm->builder, in visit_alu()
984 src_chan[i] = src[i]; in visit_alu()
985src_chan[i] = cast_type(bld_base, src_chan[i], nir_op_infos[instr->op].input_types[i], src_bit_siz… in visit_alu()
987 result[c] = do_alu_action(bld_base, instr->op, src_bit_size, src_chan); in visit_alu()
/external/mesa3d/src/compiler/nir/
Dnir_lower_alu_to_scalar.c285 unsigned src_chan = (nir_op_infos[alu->op].input_sizes[i] == 1 ? in lower_alu_instr_scalar() local
290 lower->src[i].swizzle[j] = alu->src[i].swizzle[src_chan]; in lower_alu_instr_scalar()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp2665 int src_chan = GET_SWZ(inst->src[r].swizzle, i); in copy_propagate() local
2666 ir_to_mesa_instruction *copy_chan = acp[acp_base + src_chan]; in copy_propagate()
2673 assert(acp_level[acp_base + src_chan] <= level); in copy_propagate()
2695 int src_chan = GET_SWZ(inst->src[r].swizzle, i); in copy_propagate() local
2696 ir_to_mesa_instruction *copy_inst = acp[acp_base + src_chan]; in copy_propagate()
2697 swizzle |= (GET_SWZ(copy_inst->src[0].swizzle, src_chan) << in copy_propagate()
2773 int src_chan = GET_SWZ(acp[4 * r + c]->src[0].swizzle, c); in copy_propagate() local
2777 inst->dst.writemask & (1 << src_chan)) in copy_propagate()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp5164 int src_chan = GET_SWZ(inst->src[r].swizzle, i); in copy_propagate() local
5165 glsl_to_tgsi_instruction *copy_chan = acp[acp_base + src_chan]; in copy_propagate()
5172 assert(acp_level[acp_base + src_chan] <= level); in copy_propagate()
5200 int src_chan = GET_SWZ(inst->src[r].swizzle, i); in copy_propagate() local
5201 glsl_to_tgsi_instruction *copy_inst = acp[acp_base + src_chan]; in copy_propagate()
5202 swizzle |= (GET_SWZ(copy_inst->src[0].swizzle, src_chan) << (3 * i)); in copy_propagate()
5278 int src_chan = GET_SWZ(acp[4 * r + c]->src[0].swizzle, c); in copy_propagate() local
5282 inst->dst[d].writemask & (1 << src_chan)) { in copy_propagate()