Home
last modified time | relevance | path

Searched refs:ac_to_float (Results 1 - 9 of 9) sorted by relevance

/third_party/mesa3d/src/amd/llvm/
H A Dac_nir_to_llvm.c161 src0 = ac_to_float(ctx, src0); in emit_float_cmp()
162 src1 = ac_to_float(ctx, src1); in emit_float_cmp()
171 ac_to_float(ctx, src0), in emit_intrin_1f_param()
193 ac_to_float(ctx, ac_llvm_extract_elem(ctx, src0, i)), in emit_intrin_1f_param_scalar()
213 ac_to_float(ctx, src0), in emit_intrin_2f_param()
214 ac_to_float(ctx, src1), in emit_intrin_2f_param()
229 ac_to_float(ctx, src0), in emit_intrin_3f_param()
230 ac_to_float(ctx, src1), in emit_intrin_3f_param()
231 ac_to_float(ctx, src2), in emit_intrin_3f_param()
307 src0 = ac_to_float(ct in emit_f2b()
[all...]
H A Dac_llvm_build.c284 LLVMValueRef ac_to_float(struct ac_llvm_context *ctx, LLVMValueRef v) in ac_to_float() function
1261 ac_build_buffer_store_common(ctx, rsrc, ac_to_float(ctx, vdata), vindex, voffset, soffset, in ac_build_buffer_store_dword()
1503 return ac_to_float(ctx, result); in ac_ufN_to_float()
1660 tmp = ac_to_float(ctx, loads[chan]); in ac_build_opencoded_load_format()
2198 args[num_args++] = ac_to_float(ctx, a->bias); in ac_build_image_opcode()
2202 args[num_args++] = ac_to_float(ctx, a->compare); in ac_build_image_opcode()
2206 args[num_args++] = ac_to_float(ctx, a->derivs[i]); in ac_build_image_opcode()
2321 result = ac_build_concat(ctx, texel, ac_to_float(ctx, code)); in ac_build_image_opcode()
4342 args->out[0] = ac_to_float(ctx, stencil); in ac_export_mrt_z()
H A Dac_llvm_build.h167 LLVMValueRef ac_to_float(struct ac_llvm_context *ctx, LLVMValueRef v);
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_tess.c494 rel_patch_id = ac_to_float(&ctx->ac, rel_patch_id); in si_llvm_tcs_build_end()
495 invocation_id = ac_to_float(&ctx->ac, invocation_id); in si_llvm_tcs_build_end()
496 tf_lds_offset = ac_to_float(&ctx->ac, tf_lds_offset); in si_llvm_tcs_build_end()
526 value = ac_to_float(&ctx->ac, value); in si_llvm_tcs_build_end()
563 ac_to_float(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args.tcs_patch_id)), in si_set_ls_return_value_for_tcs()
566 ac_to_float(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args.tcs_rel_ids)), in si_set_ls_return_value_for_tcs()
H A Dsi_shader_llvm_vs.c153 out[i] = ac_to_float(&ctx->ac, out[i]); in load_input_vs()
253 out[i] = ac_to_float(&ctx->ac, fetches[i]); in load_input_vs()
603 pos_args[1].out[1] = ac_to_float(&ctx->ac, edgeflag_value); in si_llvm_build_vs_exports()
640 pos_args[1].out[1] = ac_to_float(&ctx->ac, v); in si_llvm_build_vs_exports()
656 pos_args[1].out[2] = ac_to_float(&ctx->ac, v); in si_llvm_build_vs_exports()
841 outputs[i].values[0] = ac_to_float(&ctx->ac, si_get_primitive_id(ctx, 0)); in si_llvm_vs_build_end()
967 p = ac_to_float(&ctx->ac, p); in si_llvm_build_vs_prolog()
1013 index = ac_to_float(&ctx->ac, index); in si_llvm_build_vs_prolog()
H A Dsi_shader_llvm_ps.c240 return ac_to_float(&ctx->ac, value); in get_color_32bit()
244 return ac_to_float(&ctx->ac, value); in get_color_32bit()
372 args->out[chan] = ac_to_float(&ctx->ac, packed); in si_llvm_init_ps_export_args()
383 args->out[chan] = ac_to_float(&ctx->ac, packed); in si_llvm_init_ps_export_args()
809 samplemask = ac_to_float(&ctx->ac, samplemask); in si_llvm_build_ps_prolog()
H A Dgfx10_shader_ngg.c1205 pos[vtx][chan] = ac_to_float(&ctx->ac, pos[vtx][chan]); in gfx10_ngg_culling_build_end()
1466 ret = LLVMBuildInsertValue(builder, ret, ac_to_float(&ctx->ac, val), vgpr++, ""); in gfx10_ngg_culling_build_end()
1478 ret = LLVMBuildInsertValue(builder, ret, ac_to_float(&ctx->ac, val), vgpr++, in gfx10_ngg_culling_build_end()
1483 ret = LLVMBuildInsertValue(builder, ret, ac_to_float(&ctx->ac, val), vgpr++, in gfx10_ngg_culling_build_end()
1493 ret = LLVMBuildInsertValue(builder, ret, ac_to_float(&ctx->ac, val), vgpr++, ""); in gfx10_ngg_culling_build_end()
2143 pos[vert][comp] = ac_to_float(&ctx->ac, pos[vert][comp]); in gfx10_ngg_gs_build_end()
2317 outputs[i].values[j] = ac_to_float(&ctx->ac, tmp); in gfx10_ngg_gs_build_end()
H A Dsi_shader_llvm.c303 return LLVMBuildInsertValue(builder, ret, ac_to_float(&ctx->ac, p), return_index, ""); in si_insert_input_ret_float()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_nir_to_llvm.c700 args->out[chan] = ac_to_float(&ctx->ac, packed); in si_llvm_init_export_args()
713 args->out[chan] = ac_to_float(&ctx->ac, packed); in si_llvm_init_export_args()
729 args->out[i] = ac_to_float(&ctx->ac, args->out[i]); in si_llvm_init_export_args()
976 pos_args[1].out[2] = ac_to_float(&ctx->ac, v); in radv_llvm_export_vs()
1046 outputs[noutput].values[j] = ac_to_float(&ctx->ac, radv_load_output(ctx, i, j)); in handle_vs_outputs_post()
1097 values[j] = ac_to_float(&ctx->ac, radv_load_output(ctx, i, j)); in handle_fs_outputs_post()
1106 depth = ac_to_float(&ctx->ac, radv_load_output(ctx, FRAG_RESULT_DEPTH, 0)); in handle_fs_outputs_post()
1109 stencil = ac_to_float(&ctx->ac, radv_load_output(ctx, FRAG_RESULT_STENCIL, 0)); in handle_fs_outputs_post()
1112 samplemask = ac_to_float(&ctx->ac, radv_load_output(ctx, FRAG_RESULT_SAMPLE_MASK, 0)); in handle_fs_outputs_post()
1690 LLVMBuildStore(ctx->ac.builder, ac_to_float( in ac_gs_copy_shader_emit()
[all...]

Completed in 26 milliseconds