/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() 333 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in declare_streamout_sgprs() [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() 237 &ctx->args, AC_ARG_SGPR, 1, const_shader_buf_type, 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() 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() 883 si_add_arg_checked(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_FLOAT, NULL, SI_PARAM_ALPHA_REF); in si_llvm_build_ps_epilog()
|
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() 574 LLVMTypeRef out_type = ctx->args.args[i].file == AC_ARG_SGPR ? ctx->ac.i32 : ctx->ac.f32; in si_build_wrapper_function() 602 if (ctx->args.args[i].file == AC_ARG_SGPR) in si_build_wrapper_function()
|
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()
|
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()
|
/external/mesa3d/src/amd/common/ |
D | ac_shader_args.c | 34 if (regfile == AC_ARG_SGPR) { in ac_add_arg()
|
D | ac_shader_args.h | 34 AC_ARG_SGPR, enumerator
|
/external/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 4615 if (args->args[i].file != AC_ARG_SGPR) in ac_build_main()
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 10872 RegClass type = RegClass(file == AC_ARG_SGPR ? RegType::sgpr : RegType::vgpr, size); in add_startpgm() 10876 startpgm->definitions[arg].setFixed(PhysReg{file == AC_ARG_SGPR ? reg : reg + 256}); in add_startpgm()
|