Home
last modified time | relevance | path

Searched refs:ac_add_arg (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_args.c257 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_PTR, &args->descriptor_sets[i]); in declare_global_input_sgprs()
260 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_PTR_PTR, &args->descriptor_sets[0]); in declare_global_input_sgprs()
265 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_PTR, &args->ac.push_constants); in declare_global_input_sgprs()
269 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.inline_push_consts[i]); in declare_global_input_sgprs()
274 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_DESC_PTR, &args->streamout_buffers); in declare_global_input_sgprs()
284 ac_add_arg(&args->ac, AC_ARG_SGPR, 2, AC_ARG_INT, &args->prolog_inputs); in declare_vs_specific_input_sgprs()
289 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_DESC_PTR, &args->ac.vertex_buffers); in declare_vs_specific_input_sgprs()
291 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.base_vertex); in declare_vs_specific_input_sgprs()
293 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.draw_id); in declare_vs_specific_input_sgprs()
296 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.start_instance); in declare_vs_specific_input_sgprs()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c204 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in declare_streamout_params()
210 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.streamout_config); in declare_streamout_params()
211 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.streamout_write_index); in declare_streamout_params()
213 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in declare_streamout_params()
221 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.streamout_offset[i]); in declare_streamout_params()
269 ac_add_arg( in declare_const_and_shader_buffers()
276 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_CONST_IMAGE_PTR, in declare_samplers_and_images()
288 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_CONST_DESC_PTR, &ctx->internal_bindings); in declare_global_desc_pointers()
289 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_CONST_IMAGE_PTR, in declare_global_desc_pointers()
295 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_CONST_DESC_PTR, &ctx->args.vertex_buffers); in declare_vb_descriptor_input_sgprs()
[all …]
Dsi_shader_llvm_tess.c608 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_tcs_epilog()
609 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_tcs_epilog()
610 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.tess_offchip_offset); in si_llvm_build_tcs_epilog()
611 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); /* wave info */ in si_llvm_build_tcs_epilog()
612 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.tcs_factor_offset); in si_llvm_build_tcs_epilog()
613 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_tcs_epilog()
614 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_tcs_epilog()
615 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_tcs_epilog()
616 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_tcs_epilog()
617 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_tcs_epilog()
[all …]
Dsi_shader_llvm_ps.c585 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_ps_prolog()
602 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_FLOAT, arg); in si_llvm_build_ps_prolog()
835 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->internal_bindings); in si_llvm_build_ps_epilog()
836 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->bindless_samplers_and_images); in si_llvm_build_ps_epilog()
837 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->const_and_shader_buffers); in si_llvm_build_ps_epilog()
838 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->samplers_and_images); in si_llvm_build_ps_epilog()
847 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_FLOAT, NULL); in si_llvm_build_ps_epilog()
Dsi_shader_llvm_vs.c889 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &input_sgpr_param[i]); in si_llvm_build_vs_prolog()
895 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_INT, &input_vgpr_param[i]); in si_llvm_build_vs_prolog()
Dsi_shader_llvm.c498 ac_add_arg(&ctx->args, gprs < num_sgprs ? AC_ARG_SGPR : AC_ARG_VGPR, size, arg_type, NULL); in si_build_wrapper_function()
/third_party/mesa3d/src/amd/common/
Dac_shader_args.c28 void ac_add_arg(struct ac_shader_args *info, enum ac_arg_regfile regfile, unsigned size, in ac_add_arg() function
Dac_shader_args.h157 void ac_add_arg(struct ac_shader_args *info, enum ac_arg_regfile regfile, unsigned registers,