/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_action.c | 65 struct lp_build_emit_data * emit_data) in scalar_unary_fetch_args() argument 68 emit_data->args[0] = lp_build_emit_fetch(bld_base, emit_data->inst, 0, 0); in scalar_unary_fetch_args() 69 emit_data->arg_count = 1; in scalar_unary_fetch_args() 70 emit_data->dst_type = LLVMTypeOf(emit_data->args[0]); in scalar_unary_fetch_args() 75 struct lp_build_emit_data * emit_data) in scalar_binary_fetch_args() argument 78 emit_data->args[0] = lp_build_emit_fetch(bld_base, emit_data->inst, in scalar_binary_fetch_args() 81 emit_data->args[1] = lp_build_emit_fetch(bld_base, emit_data->inst, in scalar_binary_fetch_args() 83 emit_data->arg_count = 2; in scalar_binary_fetch_args() 84 emit_data->dst_type = LLVMTypeOf(emit_data->args[0]); in scalar_binary_fetch_args() 92 struct lp_build_emit_data * emit_data) in add_emit() argument [all …]
|
D | lp_bld_tgsi.c | 86 struct lp_build_emit_data * emit_data, in lp_build_action_set_dst_type() argument 90 if (emit_data->arg_count == 0) { in lp_build_action_set_dst_type() 91 emit_data->dst_type = LLVMVoidTypeInContext(bld_base->base.gallivm->context); in lp_build_action_set_dst_type() 94 emit_data->dst_type = LLVMTypeOf(emit_data->args[0]); in lp_build_action_set_dst_type() 102 struct lp_build_emit_data * emit_data) in lp_build_tgsi_intrinsic() argument 105 emit_data->output[emit_data->chan] = lp_build_intrinsic( in lp_build_tgsi_intrinsic() 107 emit_data->dst_type, emit_data->args, emit_data->arg_count); in lp_build_tgsi_intrinsic() 114 struct lp_build_emit_data * emit_data) in lp_build_emit_llvm() argument 119 lp_build_action_set_dst_type(emit_data, bld_base, tgsi_opcode); in lp_build_emit_llvm() 120 emit_data->chan = 0; in lp_build_emit_llvm() [all …]
|
D | lp_bld_tgsi_soa.c | 1646 struct lp_build_emit_data * emit_data) in ddx_emit() argument 1650 emit_fetch_deriv(bld, emit_data->args[0], NULL, in ddx_emit() 1651 &emit_data->output[emit_data->chan], NULL); in ddx_emit() 1658 struct lp_build_emit_data * emit_data) in ddy_emit() argument 1662 emit_fetch_deriv(bld, emit_data->args[0], NULL, NULL, in ddy_emit() 1663 &emit_data->output[emit_data->chan]); in ddy_emit() 1670 struct lp_build_emit_data * emit_data) in kilp_emit() argument 1681 struct lp_build_emit_data * emit_data) in kil_emit() argument 1685 emit_kil(bld, emit_data->inst, bld_base->pc - 1); in kil_emit() 1692 struct lp_build_emit_data * emit_data) in tex_emit() argument [all …]
|
D | lp_bld_tgsi.h | 506 struct lp_build_emit_data * emit_data); 517 struct lp_build_emit_data * emit_data); 523 struct lp_build_emit_data * emit_data);
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_setup_tgsi_llvm.c | 348 struct lp_build_emit_data * emit_data) in bgnloop_emit() argument 368 struct lp_build_emit_data * emit_data) in brk_emit() argument 380 struct lp_build_emit_data * emit_data) in cont_emit() argument 392 struct lp_build_emit_data * emit_data) in else_emit() argument 426 struct lp_build_emit_data * emit_data) in endif_emit() argument 458 struct lp_build_emit_data * emit_data) in endloop_emit() argument 475 struct lp_build_emit_data * emit_data) in if_emit() argument 483 bitcast(bld_base, TGSI_TYPE_UNSIGNED, emit_data->args[0]), in if_emit() 505 struct lp_build_emit_data * emit_data) in kil_emit() argument 508 for (i = 0; i < emit_data->arg_count; i++) { in kil_emit() [all …]
|
D | radeon_llvm.h | 172 struct lp_build_emit_data * emit_data);
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_llvm.c | 145 struct lp_build_emit_data * emit_data) in llvm_emit_tex() argument 151 assert(emit_data->arg_count + 2 <= Elements(args)); in llvm_emit_tex() 153 for (c = 0; c < emit_data->arg_count; ++c) in llvm_emit_tex() 154 args[c] = emit_data->args[c]; in llvm_emit_tex() 156 sampler_src = emit_data->inst->Instruction.NumSrcRegs-1; in llvm_emit_tex() 159 emit_data->inst->Src[sampler_src].Register.Index); in llvm_emit_tex() 161 emit_data->inst->Texture.Texture); in llvm_emit_tex() 163 emit_data->output[0] = build_intrinsic(gallivm->builder, in llvm_emit_tex() 165 emit_data->dst_type, args, c, LLVMReadNoneAttribute); in llvm_emit_tex() 170 struct lp_build_emit_data * emit_data) in dp_fetch_args() argument [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | radeonsi_shader.c | 590 struct lp_build_emit_data * emit_data) in tex_fetch_args() argument 592 const struct tgsi_full_instruction * inst = emit_data->inst; in tex_fetch_args() 598 emit_data->args[0] = lp_build_const_int32(bld_base->base.gallivm, 0xf); in tex_fetch_args() 607 emit_data->dst_type = LLVMVectorType(bld_base->base.elem_type, 4); in tex_fetch_args() 608 src_w = lp_build_emit_fetch(bld_base, emit_data->inst, 0, TGSI_CHAN_W); in tex_fetch_args() 612 emit_data->inst, 0, chan); in tex_fetch_args() 618 emit_data->args[1] = lp_build_gather_values(bld_base->base.gallivm, in tex_fetch_args() 621 emit_data->args[1] = lp_build_emit_fetch(bld_base, emit_data->inst, in tex_fetch_args() 627 emit_data->inst->Src[1].Register.Index); in tex_fetch_args() 628 emit_data->args[2] = build_indexed_load(bld_base->base.gallivm, in tex_fetch_args() [all …]
|