Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_action.c67 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 …]
Dlp_bld_tgsi.c86 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 …]
Dlp_bld_tgsi_soa.c3131 struct lp_build_emit_data * emit_data) in ddx_emit() argument
3135 emit_fetch_deriv(bld, emit_data->args[0], NULL, in ddx_emit()
3136 &emit_data->output[emit_data->chan], NULL); in ddx_emit()
3143 struct lp_build_emit_data * emit_data) in ddy_emit() argument
3147 emit_fetch_deriv(bld, emit_data->args[0], NULL, NULL, in ddy_emit()
3148 &emit_data->output[emit_data->chan]); in ddy_emit()
3155 struct lp_build_emit_data * emit_data) in kill_emit() argument
3166 struct lp_build_emit_data * emit_data) in kill_if_emit() argument
3170 emit_kill_if(bld, emit_data->inst, bld_base->pc - 1); in kill_if_emit()
3177 struct lp_build_emit_data * emit_data) in tex_emit() argument
[all …]
Dlp_bld_tgsi.h602 struct lp_build_emit_data * emit_data);
613 struct lp_build_emit_data * emit_data);
619 struct lp_build_emit_data * emit_data);
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_alu.c31 struct lp_build_emit_data *emit_data) in kill_if_fetch_args() argument
33 const struct tgsi_full_instruction *inst = emit_data->inst; in kill_if_fetch_args()
50 emit_data->dst_type = LLVMVoidTypeInContext(gallivm->context); in kill_if_fetch_args()
51 emit_data->arg_count = 1; in kill_if_fetch_args()
52 emit_data->args[0] = LLVMBuildSelect(builder, conds[0], in kill_if_fetch_args()
59 struct lp_build_emit_data *emit_data) in kil_emit() argument
62 for (i = 0; i < emit_data->arg_count; i++) { in kil_emit()
63 emit_data->output[i] = lp_build_intrinsic_unary( in kil_emit()
66 emit_data->dst_type, emit_data->args[i]); in kil_emit()
72 struct lp_build_emit_data *emit_data) in emit_icmp() argument
[all …]
Dsi_shader.c70 struct lp_build_emit_data *emit_data);
3355 struct lp_build_emit_data *emit_data);
3390 struct lp_build_emit_data *emit_data) in membar_emit() argument
3393 LLVMValueRef src0 = lp_build_emit_fetch(bld_base, emit_data->inst, 0, 0); in membar_emit()
3581 struct lp_build_emit_data * emit_data, in image_append_args() argument
3586 const struct tgsi_full_instruction *inst = emit_data->inst; in image_append_args()
3599 emit_data->args[emit_data->arg_count++] = r128; in image_append_args()
3600 emit_data->args[emit_data->arg_count++] = da; in image_append_args()
3602 emit_data->args[emit_data->arg_count++] = glc; in image_append_args()
3604 emit_data->args[emit_data->arg_count++] = slc; in image_append_args()
[all …]
Dsi_shader_tgsi_setup.c1110 struct lp_build_emit_data *emit_data) in bgnloop_emit() argument
1124 struct lp_build_emit_data *emit_data) in brk_emit() argument
1135 struct lp_build_emit_data *emit_data) in cont_emit() argument
1146 struct lp_build_emit_data *emit_data) in else_emit() argument
1166 struct lp_build_emit_data *emit_data) in endif_emit() argument
1183 struct lp_build_emit_data *emit_data) in endloop_emit() argument
1200 struct lp_build_emit_data *emit_data, in if_cond_emit() argument
1217 struct lp_build_emit_data *emit_data) in if_emit() argument
1223 emit_data->args[0], in if_emit()
1226 if_cond_emit(action, bld_base, emit_data, cond); in if_emit()
[all …]