Home
last modified time | relevance | path

Searched refs:merged_wave_info (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_shader_args.h45 struct ac_arg merged_wave_info; member
Dradv_shader_args.c523 &args->merged_wave_info); in radv_declare_shader_args()
603 &args->merged_wave_info); in radv_declare_shader_args()
Dradv_nir_to_llvm.c1961 ac_get_arg(&ctx->ac, ctx->args->merged_wave_info), 24, 4); in handle_es_outputs_post()
2052 ac_get_arg(&ctx->ac, ctx->args->merged_wave_info), 24, 4); in get_wave_id_in_tg()
2057 return ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->merged_wave_info), 28, 4); in get_tgsize()
2709 ac_get_arg(&ctx->ac, ctx->args->merged_wave_info), 8, 8); in handle_ngg_outputs_post_2()
2711 ac_get_arg(&ctx->ac, ctx->args->merged_wave_info), 0, 8); in handle_ngg_outputs_post_2()
3757 ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->merged_wave_info), 8, 8); in ac_nir_fixup_ls_hs_input_vgprs()
3783 ac_get_arg(&ctx->ac, ctx->args->merged_wave_info), in prepare_gs_input_vgprs()
4016 ac_get_arg(&ctx.ac, args->merged_wave_info), in ac_translate_nir_to_llvm()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_gs.c34 si_unpack_param(ctx, ctx->merged_wave_info, 0, 8), ""); in si_is_es_thread()
41 si_unpack_param(ctx, ctx->merged_wave_info, 8, 8), ""); in si_is_gs_thread()
125 ret = si_insert_input_ret(ctx, ret, ctx->merged_wave_info, 3); in si_set_es_return_value_for_gs()
161 LLVMValueRef wave_idx = si_unpack_param(ctx, ctx->merged_wave_info, 24, 4); in si_llvm_emit_es_epilogue()
208 return si_unpack_param(ctx, ctx->merged_wave_info, 16, 8); in si_get_gs_wave_id()
Dsi_shader_internal.h83 struct ac_arg merged_wave_info; member
Dsi_shader_llvm_vs.c801 struct ac_arg merged_wave_info = input_sgpr_param[3]; in si_llvm_build_vs_prolog() local
823 si_init_exec_from_input(ctx, merged_wave_info, 0); in si_llvm_build_vs_prolog()
Dgfx10_shader_ngg.c33 return si_unpack_param(ctx, ctx->merged_wave_info, 24, 4); in get_wave_id_in_tg()
38 return si_unpack_param(ctx, ctx->merged_wave_info, 28, 4); in get_tgsize()
1041 LLVMValueRef new_merged_wave_info = ac_get_arg(&ctx->ac, ctx->merged_wave_info); in gfx10_emit_ngg_culling_epilogue()
Dsi_shader.c454 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->merged_wave_info); in si_create_function()
505 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->merged_wave_info); in si_create_function()
1450 si_init_exec_from_input(ctx, ctx->merged_wave_info, 0); in si_build_main_function()
Dsi_shader_llvm_tess.c924 ret = si_insert_input_ret(ctx, ret, ctx->merged_wave_info, 3); in si_set_ls_return_value_for_tcs()
/external/mesa3d/src/amd/compiler/
DREADME.md161 This is why merged shaders get an argument called `merged_wave_info` which tells how many invocatio…
Daco_instruction_selection.cpp3983 get_arg(ctx, ctx->args->merged_wave_info), Operand(24u | (4u << 16))); in wave_id_in_threadgroup()
4006 get_arg(ctx, ctx->args->merged_wave_info), Operand(28u | (4u << 16))); in wave_count_in_threadgroup()
10898 get_arg(ctx, ctx->args->merged_wave_info), in fix_ls_vgpr_init_bug()
11070 ? get_arg(ctx, ctx->args->merged_wave_info) in merged_wave_info_to_mask()
11072 get_arg(ctx, ctx->args->merged_wave_info), Operand(i * 8u)); in merged_wave_info_to_mask()
11100 … get_arg(ctx, ctx->args->merged_wave_info), Operand(24u | (4u << 16))); in ngg_emit_sendmsg_gs_alloc_req()
11793 …::s_bfe_u32, bld.def(s1, m0), bld.def(s1, scc), get_arg(&ctx, args->merged_wave_info), Operand((8u… in select_program()