Home
last modified time | relevance | path

Searched refs:gs_prim_id (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/amd/common/
Dac_shader_args.h116 struct ac_arg gs_prim_id; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_args.c757 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_INT, &args->ac.gs_prim_id); in radv_declare_shader_args()
786 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_INT, &args->ac.gs_prim_id); in radv_declare_shader_args()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_gs.c79 ret = si_insert_input_ret_float(ctx, ret, ctx->args.gs_prim_id, vgpr++); in si_set_es_return_value_for_gs()
Dsi_shader.c605 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_INT, &ctx->args.gs_prim_id); in si_init_shader_args()
678 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_INT, &ctx->args.gs_prim_id); in si_init_shader_args()
Dsi_shader_llvm.c396 return ac_get_arg(&ctx->ac, ctx->args.gs_prim_id); in si_get_primitive_id()
Dgfx10_shader_ngg.c1469 ret = si_insert_input_ret_float(ctx, ret, ctx->args.gs_prim_id, vgpr++); in gfx10_ngg_culling_build_end()
1648 LLVMBuildStore(builder, ac_get_arg(&ctx->ac, ctx->args.gs_prim_id), in gfx10_ngg_build_end()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c3678 result = ac_get_arg(&ctx->ac, ctx->args->gs_prim_id); in visit_intrinsic()
3688 result = ac_get_arg(&ctx->ac, ctx->args->gs_prim_id); /* NGG */ in visit_intrinsic()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp9160 bld.copy(Definition(dst), get_arg(ctx, ctx->args->ac.gs_prim_id)); in visit_intrinsic()
9172 bld.copy(Definition(dst), get_arg(ctx, ctx->args->ac.gs_prim_id)); in visit_intrinsic()
/third_party/mesa3d/docs/relnotes/
D22.2.0.rst5911 - ac/llvm: Use gs_prim_id for NGG VS.