Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_ps.c238 value = ac_to_integer(&ctx->ac, value); in get_color_32bit()
242 value = ac_to_integer(&ctx->ac, value); in get_color_32bit()
378 LLVMValueRef pack_args[2] = {ac_to_integer(&ctx->ac, values[2 * chan]), in si_llvm_init_ps_export_args()
379 ac_to_integer(&ctx->ac, values[2 * chan + 1])}; in si_llvm_init_ps_export_args()
503 builder, ret, ac_to_integer(&ctx->ac, LLVMGetParam(ctx->main_fn, SI_PARAM_ALPHA_REF)), in si_llvm_ps_build_end()
555 row = ac_to_integer(&ctx->ac, row); in si_llvm_emit_polygon_stipple()
761 face = ac_to_integer(&ctx->ac, face); in si_llvm_build_ps_prolog()
803 samplemask = ac_to_integer(&ctx->ac, samplemask); in si_llvm_build_ps_prolog()
Dsi_shader_llvm_vs.c225 tmp = ac_to_integer(&ctx->ac, tmp); in load_input_vs()
289 out[j] = ac_to_integer(&ctx->ac, shader_out->values[start + j]); in si_llvm_streamout_store_output()
638 LLVMValueRef v = ac_to_integer(&ctx->ac, pos_args[1].out[1]); in si_llvm_build_vs_exports()
653 v = ac_to_integer(&ctx->ac, v); in si_llvm_build_vs_exports()
655 v = LLVMBuildOr(ctx->ac.builder, v, ac_to_integer(&ctx->ac, pos_args[1].out[2]), ""); in si_llvm_build_vs_exports()
993 udiv_factors[j] = ac_to_integer(&ctx->ac, udiv_factors[j]); in si_llvm_build_vs_prolog()
Dsi_shader_llvm.c362 value = ac_to_integer(&ctx->ac, value); in unpack_llvm_param()
770 return ac_to_integer(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args.sample_coverage)); in si_llvm_load_intrinsic()
890 ctx->abi.color0 = ac_to_integer(&ctx->ac, ac_build_gather_values(&ctx->ac, values, 4)); in si_llvm_translate_nir()
899 ctx->abi.color1 = ac_to_integer(&ctx->ac, ac_build_gather_values(&ctx->ac, values, 4)); in si_llvm_translate_nir()
Dgfx10_shader_ngg.c1056 builder, ac_to_integer(&ctx->ac, position[3]), in gfx10_ngg_culling_build_end()
1063 builder, ac_to_integer(&ctx->ac, val), in gfx10_ngg_culling_build_end()
1298 builder, ac_to_integer(&ctx->ac, in gfx10_ngg_culling_build_end()
1318 LLVMBuildStore(builder, ac_to_integer(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args.tes_u)), in gfx10_ngg_culling_build_end()
1320 LLVMBuildStore(builder, ac_to_integer(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args.tes_v)), in gfx10_ngg_culling_build_end()
Dsi_shader_llvm_gs.c221 out_val = ac_to_integer(&ctx->ac, out_val); in si_llvm_emit_vertex()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c263 out_val = ac_to_integer(&ctx->ac, out_val); in visit_emit_vertex_with_counter()
381 chan[i] = ac_to_integer(&ctx->ac, chan[i]); in radv_fixup_vertex_input_fetches()
499 out[chan] = ac_to_integer(&ctx->ac, out[chan]); in load_vs_input()
661 values[chan] = LLVMBuildZExt(ctx->ac.builder, ac_to_integer(&ctx->ac, values[chan]), in si_llvm_init_export_args()
671 values[chan] = LLVMBuildSExt(ctx->ac.builder, ac_to_integer(&ctx->ac, values[chan]), in si_llvm_init_export_args()
708 LLVMValueRef pack_args[2] = {ac_to_integer(&ctx->ac, values[2 * chan]), in si_llvm_init_export_args()
709 ac_to_integer(&ctx->ac, values[2 * chan + 1])}; in si_llvm_init_export_args()
770 out[i] = ac_to_integer(&ctx->ac, shader_out->values[start + i]); in radv_emit_stream_output()
972 v = ac_to_integer(&ctx->ac, v); in radv_llvm_export_vs()
974 v = LLVMBuildOr(ctx->ac.builder, v, ac_to_integer(&ctx->ac, pos_args[1].out[2]), ""); in radv_llvm_export_vs()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c244 LLVMValueRef ac_to_integer(struct ac_llvm_context *ctx, LLVMValueRef v) in ac_to_integer() function
258 return ac_to_integer(ctx, v); in ac_to_integer_or_pointer()
505 args[0] = ac_to_integer(ctx, args[0]); in ac_build_ballot()
1566 loads[i] = ac_to_integer(ctx, loads[i]); in ac_build_opencoded_load_format()
1633 loads[0] = ac_to_integer(ctx, ac_ufN_to_float(ctx, r, 5, 6)); in ac_build_opencoded_load_format()
1634 loads[1] = ac_to_integer(ctx, ac_ufN_to_float(ctx, g, 5, 6)); in ac_build_opencoded_load_format()
1635 loads[2] = ac_to_integer(ctx, ac_ufN_to_float(ctx, b, 5, 5)); in ac_build_opencoded_load_format()
1665 loads[chan] = ac_to_integer(ctx, tmp); in ac_build_opencoded_load_format()
1710 loads[chan] = ac_to_integer(ctx, tmp); in ac_build_opencoded_load_format()
1718 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.c153 src0 = ac_to_integer(ctx, src0); in emit_int_cmp()
154 src1 = ac_to_integer(ctx, src1); in emit_int_cmp()
987 src[i] = ac_to_integer(&ctx->ac, src[i]); in visit_alu()
2073 result = ac_to_integer(&ctx->ac, result); in visit_atomic_ssbo()
2267 result = ac_to_integer(&ctx->ac, result); in visit_global_atomic()
2310 result = ac_build_atomic_rmw(&ctx->ac, op, addr, ac_to_integer(&ctx->ac, data), sync_scope); in visit_global_atomic()
2628 res = ac_to_integer(&ctx->ac, res); in visit_image_load()
3213 result = ac_to_integer(&ctx->ac, result); in visit_var_atomic()
3260 val = ac_to_integer(&ctx->ac, src); in visit_var_atomic()
3267 result = ac_to_integer(&ctx->ac, result); in visit_var_atomic()
[all …]
Dac_llvm_build.h164 LLVMValueRef ac_to_integer(struct ac_llvm_context *ctx, LLVMValueRef v);
/third_party/mesa3d/docs/relnotes/
D19.1.0.rst694 - amd/common: Implement ptr->int casts in ac_to_integer.