/external/mesa3d/src/amd/vulkan/ |
D | radv_shader_args.c | 259 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, in declare_global_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() 298 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_INT, &args->rel_auto_id); in declare_vs_input_vgprs() 300 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_INT, NULL); /* user vgpr */ in declare_vs_input_vgprs() 301 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_INT, &args->ac.instance_id); in declare_vs_input_vgprs() 303 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_INT, &args->ac.instance_id); in declare_vs_input_vgprs() 304 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_INT, NULL); /* unused */ 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() 262 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->vs_state_bits); in declare_vs_specific_input_sgprs() 264 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.base_vertex); in declare_vs_specific_input_sgprs() 265 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.start_instance); in declare_vs_specific_input_sgprs() 266 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.draw_id); in declare_vs_specific_input_sgprs() 284 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); /* unused */ in declare_vb_descriptor_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 | 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() 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() 338 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, ¶m_num_prims_udiv_terms); in si_build_prim_discard_compute_shader() 339 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, ¶m_restart_index); in si_build_prim_discard_compute_shader() 343 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, ¶m_block_id); in si_build_prim_discard_compute_shader() 345 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, ¶m_ordered_wave_id); 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() 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()
|
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 | 513 enum ac_arg_type arg_type = AC_ARG_INT; in si_build_wrapper_function()
|
/external/mesa3d/src/amd/common/ |
D | ac_shader_args.h | 41 AC_ARG_INT, enumerator
|
/external/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 4562 } else if (type == AC_ARG_INT) { in arg_llvm_type()
|