/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_action.c | 67 struct lp_build_emit_data * emit_data) in scalar_unary_fetch_args() argument 70 emit_data->args[0] = lp_build_emit_fetch(bld_base, emit_data->inst, 0, 0); in scalar_unary_fetch_args() 71 emit_data->arg_count = 1; in scalar_unary_fetch_args() 72 emit_data->dst_type = LLVMTypeOf(emit_data->args[0]); in scalar_unary_fetch_args() 77 struct lp_build_emit_data * emit_data) in scalar_binary_fetch_args() argument 80 emit_data->args[0] = lp_build_emit_fetch(bld_base, emit_data->inst, in scalar_binary_fetch_args() 83 emit_data->args[1] = lp_build_emit_fetch(bld_base, emit_data->inst, in scalar_binary_fetch_args() 85 emit_data->arg_count = 2; in scalar_binary_fetch_args() 86 emit_data->dst_type = LLVMTypeOf(emit_data->args[0]); in scalar_binary_fetch_args() 94 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, 0); 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 | 2997 struct lp_build_emit_data * emit_data) in ddx_emit() argument 3001 emit_fetch_deriv(bld, emit_data->args[0], NULL, in ddx_emit() 3002 &emit_data->output[emit_data->chan], NULL); in ddx_emit() 3009 struct lp_build_emit_data * emit_data) in ddy_emit() argument 3013 emit_fetch_deriv(bld, emit_data->args[0], NULL, NULL, in ddy_emit() 3014 &emit_data->output[emit_data->chan]); in ddy_emit() 3021 struct lp_build_emit_data * emit_data) in kill_emit() argument 3032 struct lp_build_emit_data * emit_data) in kill_if_emit() argument 3036 emit_kill_if(bld, emit_data->inst, bld_base->pc - 1); in kill_if_emit() 3043 struct lp_build_emit_data * emit_data) in tex_emit() argument [all …]
|
D | lp_bld_tgsi.h | 601 struct lp_build_emit_data * emit_data); 612 struct lp_build_emit_data * emit_data); 618 struct lp_build_emit_data * emit_data);
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_tgsi_alu.c | 32 struct lp_build_emit_data *emit_data) in kill_if_fetch_args() argument 34 const struct tgsi_full_instruction *inst = emit_data->inst; in kill_if_fetch_args() 51 emit_data->dst_type = ctx->voidt; in kill_if_fetch_args() 52 emit_data->arg_count = 1; in kill_if_fetch_args() 53 emit_data->args[0] = conds[0]; in kill_if_fetch_args() 58 struct lp_build_emit_data *emit_data) in kil_emit() argument 64 if (emit_data->inst->Instruction.Opcode == TGSI_OPCODE_KILL_IF) { in kil_emit() 65 visible = emit_data->args[0]; in kil_emit() 67 assert(emit_data->inst->Instruction.Opcode == TGSI_OPCODE_KILL); in kil_emit() 89 struct lp_build_emit_data *emit_data) in emit_icmp() argument [all …]
|
D | si_shader_tgsi_mem.c | 36 struct lp_build_emit_data *emit_data); 282 struct lp_build_emit_data * emit_data, in image_append_args() argument 287 const struct tgsi_full_instruction *inst = emit_data->inst; in image_append_args() 300 emit_data->args[emit_data->arg_count++] = r128; in image_append_args() 301 emit_data->args[emit_data->arg_count++] = da; in image_append_args() 303 emit_data->args[emit_data->arg_count++] = glc; in image_append_args() 305 emit_data->args[emit_data->arg_count++] = slc; in image_append_args() 310 emit_data->args[emit_data->arg_count++] = glc; in image_append_args() 311 emit_data->args[emit_data->arg_count++] = slc; in image_append_args() 312 emit_data->args[emit_data->arg_count++] = lwe; in image_append_args() [all …]
|
D | si_shader.c | 83 struct lp_build_emit_data *emit_data); 3912 struct lp_build_emit_data *emit_data) in membar_emit() argument 3915 LLVMValueRef src0 = lp_build_emit_fetch(bld_base, emit_data->inst, 0, 0); in membar_emit() 3937 struct lp_build_emit_data *emit_data) in clock_emit() argument 3946 emit_data->output[0] = in clock_emit() 3948 emit_data->output[1] = in clock_emit() 3961 struct lp_build_emit_data *emit_data) in si_llvm_emit_ddxy() argument 3964 unsigned opcode = emit_data->info->opcode; in si_llvm_emit_ddxy() 3979 val = ac_to_integer(&ctx->ac, emit_data->args[0]); in si_llvm_emit_ddxy() 3981 emit_data->output[emit_data->chan] = val; in si_llvm_emit_ddxy() [all …]
|
D | si_shader_tgsi_setup.c | 921 struct lp_build_emit_data *emit_data) in bgnloop_emit() argument 929 struct lp_build_emit_data *emit_data) in brk_emit() argument 937 struct lp_build_emit_data *emit_data) in cont_emit() argument 945 struct lp_build_emit_data *emit_data) in else_emit() argument 953 struct lp_build_emit_data *emit_data) in endif_emit() argument 961 struct lp_build_emit_data *emit_data) in endloop_emit() argument 969 struct lp_build_emit_data *emit_data) in if_emit() argument 972 ac_build_if(&ctx->ac, emit_data->args[0], get_line(bld_base->pc)); in if_emit() 977 struct lp_build_emit_data *emit_data) in uif_emit() argument 980 ac_build_uif(&ctx->ac, emit_data->args[0], get_line(bld_base->pc)); in uif_emit()
|