/external/mesa3d/src/amd/llvm/ |
D | ac_nir_to_llvm.c | 155 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 …]
|
D | ac_llvm_build.c | 280 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()
|
D | ac_llvm_build.h | 163 LLVMValueRef ac_to_float(struct ac_llvm_context *ctx, LLVMValueRef v);
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_vs.c | 225 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()
|
D | si_shader_llvm_tess.c | 890 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()
|
D | si_shader_llvm_ps.c | 265 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()
|
D | si_shader_llvm_gs.c | 617 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()
|
D | gfx10_shader_ngg.c | 882 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()
|
D | si_shader_llvm.c | 242 return LLVMBuildInsertValue(builder, ret, ac_to_float(&ctx->ac, p), return_index, ""); in si_insert_input_ret_float()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 1509 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 …]
|