/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_gs.c | 34 si_unpack_param(ctx, ctx->args.merged_wave_info, 0, 8), ""); in si_is_es_thread() 41 si_unpack_param(ctx, ctx->args.merged_wave_info, 8, 8), ""); in si_is_gs_thread() 115 ret = si_insert_input_ret(ctx, ret, ctx->args.merged_wave_info, 3); in si_set_es_return_value_for_gs() 148 LLVMValueRef wave_idx = si_unpack_param(ctx, ctx->args.merged_wave_info, 24, 4); in si_llvm_emit_es_epilogue() 195 return si_unpack_param(ctx, ctx->args.merged_wave_info, 16, 8); in si_get_gs_wave_id()
|
D | gfx10_shader_ngg.c | 33 return si_unpack_param(ctx, ctx->args.merged_wave_info, 24, 4); in get_wave_id_in_tg() 38 return si_unpack_param(ctx, ctx->args.merged_wave_info, 28, 4); in get_tgsize() 1148 LLVMValueRef new_merged_wave_info = ac_get_arg(&ctx->ac, ctx->args.merged_wave_info); in gfx10_emit_ngg_culling_epilogue()
|
D | si_shader.c | 452 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.merged_wave_info); in si_init_shader_args() 518 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.merged_wave_info); in si_init_shader_args()
|
D | si_shader_llvm_tess.c | 917 ret = si_insert_input_ret(ctx, ret, ctx->args.merged_wave_info, 3); in si_set_ls_return_value_for_tcs()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_shader_args.h | 86 struct ac_arg merged_wave_info; member
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 1426 return ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->ac.merged_wave_info), 24, 4); in get_wave_id_in_tg() 1432 return ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->ac.merged_wave_info), 28, 4); in get_tgsize() 1572 ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->ac.merged_wave_info), 8, 8); in handle_ngg_outputs_post_2() 1574 ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->ac.merged_wave_info), 0, 8); in handle_ngg_outputs_post_2() 2336 ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->ac.merged_wave_info), 8, 8); in ac_nir_fixup_ls_hs_input_vgprs() 2359 ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->ac.merged_wave_info), 16, 8); in prepare_gs_input_vgprs() 2546 &ctx.ac, ac_get_arg(&ctx.ac, args->ac.merged_wave_info), 8 * shader_idx, 8); in ac_translate_nir_to_llvm()
|
D | radv_shader_args.c | 601 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.merged_wave_info); in radv_declare_shader_args() 667 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.merged_wave_info); in radv_declare_shader_args()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_nir_to_llvm.c | 3012 } else if (ctx->args->merged_wave_info.used) { in visit_load_local_invocation_index() 3014 …eRef wave_id = ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->merged_wave_info), 24, 4); in visit_load_local_invocation_index() 3038 } else if (ctx->args->merged_wave_info.used) { in visit_load_subgroup_id() 3039 return ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->merged_wave_info), 24, 4); in visit_load_subgroup_id() 4232 ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->merged_wave_info), 0, 8); in visit_intrinsic() 4238 ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->merged_wave_info), 8, 8); in visit_intrinsic()
|
/third_party/mesa3d/src/amd/compiler/ |
D | README.md | 161 This is why merged shaders get an argument called `merged_wave_info` which tells how many invocatio…
|
D | aco_instruction_selection.cpp | 4633 get_arg(ctx, ctx->args->ac.merged_wave_info), Operand::c32(24u | (4u << 16))); in wave_id_in_threadgroup() 8231 bld.def(s1, scc), get_arg(ctx, ctx->args->ac.merged_wave_info), in visit_intrinsic() 8248 bld.def(s1, scc), get_arg(ctx, ctx->args->ac.merged_wave_info), in visit_intrinsic() 11287 get_arg(ctx, ctx->args->ac.merged_wave_info), in fix_ls_vgpr_init_bug() 11478 ? get_arg(ctx, ctx->args->ac.merged_wave_info) in merged_wave_info_to_mask() 11480 get_arg(ctx, ctx->args->ac.merged_wave_info), Operand::c32(i * 8u)); in merged_wave_info_to_mask() 11618 get_arg(&ctx, args->ac.merged_wave_info), Operand::c32(2u), in select_program() 11997 Operand count = get_arg_fixed(args, args->ac.merged_wave_info); in select_vs_prolog()
|