Home
last modified time | relevance | path

Searched refs:vs_prim_id (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/amd/common/
Dac_shader_args.h84 struct ac_arg vs_prim_id; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_args.c330 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_INT, &args->ac.vs_prim_id); in declare_vs_input_vgprs()
335 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_INT, &args->ac.vs_prim_id); in declare_vs_input_vgprs()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c337 &ctx->args.vs_prim_id); /* user vgpr or PrimID (legacy) */ in declare_vs_input_vgprs()
341 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_INT, &ctx->args.vs_prim_id); in declare_vs_input_vgprs()
Dsi_shader_llvm.c390 return ac_get_arg(&ctx->ac, ctx->args.vs_prim_id); in si_get_primitive_id()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c3685 if (ctx->args->vs_prim_id.used) in visit_intrinsic()
3686 result = ac_get_arg(&ctx->ac, ctx->args->vs_prim_id); /* legacy */ in visit_intrinsic()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp9175 bld.copy(Definition(dst), get_arg(ctx, ctx->args->ac.vs_prim_id)); in visit_intrinsic()