Home
last modified time | relevance | path

Searched refs:AC_ARG_SGPR (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_shader_args.c244 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/
Dsi_shader.c171 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 …]
Dsi_shader_llvm_tess.c1007 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 …]
Dsi_compute_prim_discard.c327 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, &param_vertex_counter); in si_build_prim_discard_compute_shader()
330 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &param_last_wave_prim_id); in si_build_prim_discard_compute_shader()
331 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &param_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, &param_vb_desc); in si_build_prim_discard_compute_shader()
333 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, const_desc_type, &param_const_desc); in si_build_prim_discard_compute_shader()
334 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_CONST_IMAGE_PTR, &param_sampler_desc); in si_build_prim_discard_compute_shader()
335 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &param_base_vertex); in si_build_prim_discard_compute_shader()
336 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &param_start_instance); in si_build_prim_discard_compute_shader()
337 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &param_num_prims_udiv_multiplier); in si_build_prim_discard_compute_shader()
[all …]
Dsi_shader_llvm_ps.c629 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()
Dsi_shader_llvm.c531 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()
Dsi_shader_llvm_gs.c587 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, NULL); in si_llvm_build_gs_prolog()
Dsi_shader_llvm_vs.c797 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/
Dac_shader_args.c34 if (regfile == AC_ARG_SGPR) { in ac_add_arg()
Dac_shader_args.h34 AC_ARG_SGPR, enumerator
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.c4615 if (args->args[i].file != AC_ARG_SGPR) in ac_build_main()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp10872 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()