Home
last modified time | relevance | path

Searched refs:ac_to_float (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c155 src0 = ac_to_float(ctx, src0); in emit_float_cmp()
156 src1 = ac_to_float(ctx, src1); in emit_float_cmp()
165 ac_to_float(ctx, src0), in emit_intrin_1f_param()
187 ac_to_float(ctx, ac_llvm_extract_elem(ctx, src0, i)), in emit_intrin_1f_param_scalar()
207 ac_to_float(ctx, src0), in emit_intrin_2f_param()
208 ac_to_float(ctx, src1), in emit_intrin_2f_param()
223 ac_to_float(ctx, src0), in emit_intrin_3f_param()
224 ac_to_float(ctx, src1), in emit_intrin_3f_param()
225 ac_to_float(ctx, src2), in emit_intrin_3f_param()
301 src0 = ac_to_float(ctx, src0); in emit_f2b()
[all …]
Dac_llvm_build.c280 LLVMValueRef ac_to_float(struct ac_llvm_context *ctx, LLVMValueRef v) in ac_to_float() function
1137 ac_build_buffer_store_common(ctx, rsrc, ac_to_float(ctx, vdata), ctx->i32_0, voffset, offset, in ac_build_buffer_store_dword()
1403 return ac_to_float(ctx, result); in ac_ufN_to_float()
1562 tmp = ac_to_float(ctx, loads[chan]); in ac_build_opencoded_load_format()
2147 args[num_args++] = ac_to_float(ctx, a->bias); in ac_build_image_opcode()
2151 args[num_args++] = ac_to_float(ctx, a->compare); in ac_build_image_opcode()
2155 args[num_args++] = ac_to_float(ctx, a->derivs[i]); in ac_build_image_opcode()
4427 args->out[0] = ac_to_float(ctx, stencil); in ac_export_mrt_z()
Dac_llvm_build.h163 LLVMValueRef ac_to_float(struct ac_llvm_context *ctx, LLVMValueRef v);
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_vs.c225 out[i] = ac_to_float(&ctx->ac, fetches[i]); in load_input_vs()
635 pos_args[1].out[1] = ac_to_float(&ctx->ac, edgeflag_value); in si_llvm_build_vs_exports()
651 pos_args[1].out[2] = ac_to_float(&ctx->ac, v); in si_llvm_build_vs_exports()
721 outputs[i].values[0] = ac_to_float(&ctx->ac, si_get_primitive_id(ctx, 0)); in si_llvm_emit_vs_epilogue()
934 p = ac_to_float(&ctx->ac, p); in si_llvm_build_vs_prolog()
980 index = ac_to_float(&ctx->ac, index); in si_llvm_build_vs_prolog()
Dsi_shader_llvm_tess.c890 rel_patch_id = ac_to_float(&ctx->ac, rel_patch_id); in si_llvm_emit_tcs_epilogue()
891 invocation_id = ac_to_float(&ctx->ac, invocation_id); in si_llvm_emit_tcs_epilogue()
892 tf_lds_offset = ac_to_float(&ctx->ac, tf_lds_offset); in si_llvm_emit_tcs_epilogue()
907 value = ac_to_float(&ctx->ac, value); in si_llvm_emit_tcs_epilogue()
940 ac_to_float(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args.tcs_patch_id)), in si_set_ls_return_value_for_tcs()
943 ac_to_float(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args.tcs_rel_ids)), in si_set_ls_return_value_for_tcs()
Dsi_shader_llvm_ps.c265 return ac_to_float(&ctx->ac, value); in get_color_32bit()
269 return ac_to_float(&ctx->ac, value); in get_color_32bit()
393 args->out[chan] = ac_to_float(&ctx->ac, packed); in si_llvm_init_ps_export_args()
405 args->out[chan] = ac_to_float(&ctx->ac, packed); in si_llvm_init_ps_export_args()
853 samplemask = ac_to_float(&ctx->ac, samplemask); in si_llvm_build_ps_prolog()
Dsi_shader_llvm_gs.c617 p = ac_to_float(&ctx->ac, p); in si_llvm_build_gs_prolog()
662 out = ac_to_float(&ctx->ac, out); in si_llvm_build_gs_prolog()
669 out = ac_to_float(&ctx->ac, vtx_out[i]); in si_llvm_build_gs_prolog()
Dgfx10_shader_ngg.c882 pos[vtx][chan] = ac_to_float(&ctx->ac, pos[vtx][chan]); in gfx10_emit_ngg_culling_epilogue()
1158 ret = LLVMBuildInsertValue(builder, ret, ac_to_float(&ctx->ac, val), vgpr++, ""); in gfx10_emit_ngg_culling_epilogue()
1167 ret = LLVMBuildInsertValue(builder, ret, ac_to_float(&ctx->ac, val), vgpr++, in gfx10_emit_ngg_culling_epilogue()
1172 ret = LLVMBuildInsertValue(builder, ret, ac_to_float(&ctx->ac, val), vgpr++, in gfx10_emit_ngg_culling_epilogue()
1182 ret = LLVMBuildInsertValue(builder, ret, ac_to_float(&ctx->ac, val), vgpr++, ""); in gfx10_emit_ngg_culling_epilogue()
1400 outputs[i].values[j] = ac_to_float(&ctx->ac, tmp); in gfx10_emit_ngg_epilogue()
1424 outputs[i].values[0] = ac_to_float(&ctx->ac, outputs[i].values[0]); in gfx10_emit_ngg_epilogue()
1881 outputs[i].values[j] = ac_to_float(&ctx->ac, tmp); in gfx10_ngg_gs_emit_epilogue()
Dsi_shader_llvm.c242 return LLVMBuildInsertValue(builder, ret, ac_to_float(&ctx->ac, p), return_index, ""); in si_insert_input_ret_float()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1509 args->out[chan] = ac_to_float(&ctx->ac, packed); in si_llvm_init_export_args()
1526 args->out[chan] = ac_to_float(&ctx->ac, packed); in si_llvm_init_export_args()
1542 args->out[i] = ac_to_float(&ctx->ac, args->out[i]); in si_llvm_init_export_args()
1824 pos_args[1].out[2] = ac_to_float(&ctx->ac, v); in radv_llvm_export_vs()
1881 LLVMBuildStore(ctx->ac.builder, ac_to_float(&ctx->ac, view_index), *tmp_out); in handle_vs_outputs_post()
1922 ac_to_float(&ctx->ac, radv_load_output(ctx, i, j)); in handle_vs_outputs_post()
2849 values[0] = ac_to_float(&ctx->ac, values[0]); in handle_ngg_outputs_post_2()
3198 outputs[noutput].values[j] = ac_to_float(&ctx->ac, tmp); in gfx10_ngg_gs_emit_epilogue_2()
3213 ac_to_float(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->ac.view_index)); in gfx10_ngg_gs_emit_epilogue_2()
3499 values[j] = ac_to_float(&ctx->ac, in handle_fs_outputs_post()
[all …]