/external/mesa3d/src/amd/vulkan/ |
D | radv_shader_args.c | 244 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_PTR, in declare_global_input_sgprs() 248 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_PTR_PTR, in declare_global_input_sgprs() 254 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_PTR, in declare_global_input_sgprs() 259 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, in declare_global_input_sgprs() 266 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_DESC_PTR, in declare_global_input_sgprs() 281 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_DESC_PTR, in declare_vs_specific_input_sgprs() 284 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.base_vertex); in declare_vs_specific_input_sgprs() 285 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.start_instance); in declare_vs_specific_input_sgprs() 287 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.draw_id); in declare_vs_specific_input_sgprs() 295 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_INT, &args->ac.vertex_id); in declare_vs_input_vgprs() [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader.c | 171 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in declare_streamout_params() 177 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->streamout_config); in declare_streamout_params() 178 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->streamout_write_index); in declare_streamout_params() 180 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in declare_streamout_params() 188 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->streamout_offset[i]); in declare_streamout_params() 236 ac_add_arg( in declare_const_and_shader_buffers() 243 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_CONST_IMAGE_PTR, in declare_samplers_and_images() 255 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_CONST_DESC_PTR, &ctx->rw_buffers); in declare_global_desc_pointers() 256 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_CONST_IMAGE_PTR, in declare_global_desc_pointers() 262 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->vs_state_bits); in declare_vs_specific_input_sgprs() [all …]
|
D | si_shader_llvm_tess.c | 1007 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_tcs_epilog() 1008 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_tcs_epilog() 1009 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->tcs_offchip_offset); in si_llvm_build_tcs_epilog() 1010 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); /* wave info */ in si_llvm_build_tcs_epilog() 1011 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->tcs_factor_offset); in si_llvm_build_tcs_epilog() 1012 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_tcs_epilog() 1013 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_tcs_epilog() 1014 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_tcs_epilog() 1015 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_tcs_epilog() 1016 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_tcs_epilog() [all …]
|
D | si_compute_prim_discard.c | 327 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_CONST_DESC_PTR, in si_build_prim_discard_compute_shader() 329 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, ¶m_vertex_counter); in si_build_prim_discard_compute_shader() 330 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, ¶m_last_wave_prim_id); in si_build_prim_discard_compute_shader() 331 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, ¶m_vertex_count_addr); in si_build_prim_discard_compute_shader() 332 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_CONST_DESC_PTR, ¶m_vb_desc); in si_build_prim_discard_compute_shader() 333 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, const_desc_type, ¶m_const_desc); in si_build_prim_discard_compute_shader() 334 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_CONST_IMAGE_PTR, ¶m_sampler_desc); in si_build_prim_discard_compute_shader() 335 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, ¶m_base_vertex); in si_build_prim_discard_compute_shader() 336 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, ¶m_start_instance); in si_build_prim_discard_compute_shader() 337 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, ¶m_num_prims_udiv_multiplier); in si_build_prim_discard_compute_shader() [all …]
|
D | si_shader_llvm_ps.c | 629 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_ps_prolog() 646 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_FLOAT, arg); in si_llvm_build_ps_prolog() 879 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->rw_buffers); in si_llvm_build_ps_epilog() 880 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->bindless_samplers_and_images); in si_llvm_build_ps_epilog() 881 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->const_and_shader_buffers); in si_llvm_build_ps_epilog() 882 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->samplers_and_images); in si_llvm_build_ps_epilog() 894 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_FLOAT, NULL); in si_llvm_build_ps_epilog()
|
D | si_shader_llvm_gs.c | 587 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_gs_prolog() 592 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_gs_prolog()
|
D | si_shader_llvm_vs.c | 797 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &input_sgpr_param[i]); in si_llvm_build_vs_prolog() 805 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_INT, &input_vgpr_param[i]); in si_llvm_build_vs_prolog()
|
D | si_shader_llvm.c | 531 ac_add_arg(&ctx->args, gprs < num_sgprs ? AC_ARG_SGPR : AC_ARG_VGPR, size, arg_type, NULL); in si_build_wrapper_function()
|
/external/mesa3d/src/amd/common/ |
D | ac_shader_args.c | 28 void ac_add_arg(struct ac_shader_args *info, enum ac_arg_regfile regfile, unsigned size, in ac_add_arg() function
|
D | ac_shader_args.h | 110 void ac_add_arg(struct ac_shader_args *info, enum ac_arg_regfile regfile, unsigned registers,
|