Home
last modified time | relevance | path

Searched refs:ac_to_integer (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_ps.c37 return ac_to_integer(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args.sample_coverage)); in load_sample_mask_in()
229 coverage = ac_to_integer(&ctx->ac, coverage); in si_scale_alpha_by_sample_mask()
263 value = ac_to_integer(&ctx->ac, value); in get_color_32bit()
267 value = ac_to_integer(&ctx->ac, value); in get_color_32bit()
400 LLVMValueRef pack_args[2] = {ac_to_integer(&ctx->ac, values[2 * chan]), in si_llvm_init_ps_export_args()
401 ac_to_integer(&ctx->ac, values[2 * chan + 1])}; in si_llvm_init_ps_export_args()
541 builder, ret, ac_to_integer(&ctx->ac, LLVMGetParam(ctx->main_fn, SI_PARAM_ALPHA_REF)), in si_llvm_return_fs_outputs()
599 row = ac_to_integer(&ctx->ac, row); in si_llvm_emit_polygon_stipple()
805 face = ac_to_integer(&ctx->ac, face); in si_llvm_build_ps_prolog()
847 samplemask = ac_to_integer(&ctx->ac, samplemask); in si_llvm_build_ps_prolog()
Dsi_shader_llvm_vs.c197 tmp = ac_to_integer(&ctx->ac, tmp); in load_input_vs()
262 out[j] = ac_to_integer(&ctx->ac, shader_out->values[start + j]); in si_llvm_streamout_store_output()
648 v = ac_to_integer(&ctx->ac, v); in si_llvm_build_vs_exports()
650 v = LLVMBuildOr(ctx->ac.builder, v, ac_to_integer(&ctx->ac, pos_args[1].out[2]), ""); in si_llvm_build_vs_exports()
960 udiv_factors[j] = ac_to_integer(&ctx->ac, udiv_factors[j]); in si_llvm_build_vs_prolog()
Dsi_shader_llvm.c314 value = ac_to_integer(&ctx->ac, value); in unpack_llvm_param()
399 ctx->abi.color0 = ac_to_integer(&ctx->ac, ac_build_gather_values(&ctx->ac, values, 4)); in si_nir_build_llvm()
408 ctx->abi.color1 = ac_to_integer(&ctx->ac, ac_build_gather_values(&ctx->ac, values, 4)); in si_nir_build_llvm()
Dgfx10_shader_ngg.c773 builder, ac_to_integer(&ctx->ac, position[3]), in gfx10_emit_ngg_culling_epilogue()
780 builder, ac_to_integer(&ctx->ac, val), in gfx10_emit_ngg_culling_epilogue()
984 … builder, ac_to_integer(&ctx->ac, LLVMBuildLoad(builder, addrs[4 * pos_index + chan], "")), in gfx10_emit_ngg_culling_epilogue()
1003 LLVMBuildStore(builder, ac_to_integer(&ctx->ac, ac_get_arg(&ctx->ac, ctx->tes_u)), in gfx10_emit_ngg_culling_epilogue()
1005 LLVMBuildStore(builder, ac_to_integer(&ctx->ac, ac_get_arg(&ctx->ac, ctx->tes_v)), in gfx10_emit_ngg_culling_epilogue()
1228 tmp2 = ac_to_integer(&ctx->ac, tmp2); in gfx10_emit_ngg_epilogue()
1565 out_val = ac_to_integer(&ctx->ac, out_val); in gfx10_ngg_gs_emit_vertex()
Dsi_shader_llvm_gs.c185 out_val = ac_to_integer(&ctx->ac, out_val); in si_llvm_emit_es_epilogue()
295 out_val = ac_to_integer(&ctx->ac, out_val); in si_llvm_emit_vertex()
Dsi_shader_llvm_tess.c529 value = ac_to_integer(&ctx->ac, value); in si_nir_store_output_tcs()
Dsi_compute_prim_discard.c464 index[i] = ac_to_integer(&ctx->ac, index[i]); in si_build_prim_discard_compute_shader()
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.c240 LLVMValueRef ac_to_integer(struct ac_llvm_context *ctx, LLVMValueRef v) in ac_to_integer() function
254 return ac_to_integer(ctx, v); in ac_to_integer_or_pointer()
459 args[0] = ac_to_integer(ctx, args[0]); in ac_build_ballot()
1468 loads[i] = ac_to_integer(ctx, loads[i]); in ac_build_opencoded_load_format()
1535 loads[0] = ac_to_integer(ctx, ac_ufN_to_float(ctx, r, 5, 6)); in ac_build_opencoded_load_format()
1536 loads[1] = ac_to_integer(ctx, ac_ufN_to_float(ctx, g, 5, 6)); in ac_build_opencoded_load_format()
1537 loads[2] = ac_to_integer(ctx, ac_ufN_to_float(ctx, b, 5, 5)); in ac_build_opencoded_load_format()
1567 loads[chan] = ac_to_integer(ctx, tmp); in ac_build_opencoded_load_format()
1612 loads[chan] = ac_to_integer(ctx, tmp); in ac_build_opencoded_load_format()
1620 loads[num_channels] = ac_to_integer(ctx, num_channels == 3 ? ctx->f32_1 : ctx->f32_0); in ac_build_opencoded_load_format()
[all …]
Dac_nir_to_llvm.c884 src[i] = ac_to_integer(&ctx->ac, src[i]); in visit_alu()
2080 result = ac_build_atomic_rmw(&ctx->ac, op, addr, ac_to_integer(&ctx->ac, data), sync_scope); in visit_global_atomic()
2433 res = ac_to_integer(&ctx->ac, res); in visit_image_load()
2974 val = ac_to_integer(&ctx->ac, src); in visit_var_atomic()
2981 result = ac_to_integer(&ctx->ac, result); in visit_var_atomic()
3150 return ac_to_integer(&ctx->ac, ac_build_gather_values(&ctx->ac, values, num_components)); in load_interpolated_input()
3196 result = ac_to_integer(&ctx->ac, result); in visit_load()
3366 result = ac_to_integer(&ctx->ac, ac_build_gather_values(&ctx->ac, values, 4)); in visit_intrinsic()
4053 coord = ac_to_integer(ctx, coord); in apply_round_slice()
4377 result = ac_to_integer(&ctx->ac, result); in visit_tex()
Dac_llvm_build.h160 LLVMValueRef ac_to_integer(struct ac_llvm_context *ctx, LLVMValueRef v);
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c592 value = ac_to_integer(&ctx->ac, value); in store_tcs_output()
686 result = ac_to_integer(&ctx->ac, result); in load_gs_input()
806 out_val = ac_to_integer(&ctx->ac, out_val); in visit_emit_vertex_with_counter()
1051 alpha = ac_to_integer(&ctx->ac, alpha); in adjust_vertex_fetch_alpha()
1105 chan[i] = ac_to_integer(&ctx->ac, chan[i]); in radv_fixup_vertex_input_fetches()
1270 output[chan] = ac_to_integer(&ctx->ac, output[chan]); in handle_vs_input_decl()
1453 ac_to_integer(&ctx->ac, values[chan]), in si_llvm_init_export_args()
1464 ac_to_integer(&ctx->ac, values[chan]), in si_llvm_init_export_args()
1518 ac_to_integer(&ctx->ac, values[2 * chan]), in si_llvm_init_export_args()
1519 ac_to_integer(&ctx->ac, values[2 * chan + 1]) in si_llvm_init_export_args()
[all …]
/external/mesa3d/docs/relnotes/
D19.1.0.rst694 - amd/common: Implement ptr->int casts in ac_to_integer.