Home
last modified time | relevance | path

Searched refs:gs_vtx_offset (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_shader_args.c629 &args->gs_vtx_offset[0]); in radv_declare_shader_args()
631 &args->gs_vtx_offset[2]); in radv_declare_shader_args()
637 &args->gs_vtx_offset[4]); in radv_declare_shader_args()
659 &args->gs_vtx_offset[0]); in radv_declare_shader_args()
661 &args->gs_vtx_offset[1]); in radv_declare_shader_args()
665 &args->gs_vtx_offset[2]); in radv_declare_shader_args()
667 &args->gs_vtx_offset[3]); in radv_declare_shader_args()
669 &args->gs_vtx_offset[4]); in radv_declare_shader_args()
671 &args->gs_vtx_offset[5]); in radv_declare_shader_args()
Dradv_shader_args.h60 struct ac_arg gs_vtx_offset[6]; member
Dradv_nir_to_llvm.c64 LLVMValueRef gs_vtx_offset[6]; member
657 vtx_offset = LLVMBuildMul(ctx->ac.builder, ctx->gs_vtx_offset[vtx_offset_param], in load_gs_input()
662 LLVMValueRef dw_addr = ctx->gs_vtx_offset[vtx_offset_param]; in load_gs_input()
2717 ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->gs_vtx_offset[0]), 0, 16), in handle_ngg_outputs_post_2()
2718 ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->gs_vtx_offset[0]), 16, 16), in handle_ngg_outputs_post_2()
2719 ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->gs_vtx_offset[2]), 0, 16), in handle_ngg_outputs_post_2()
2802 prim.passthrough = ac_get_arg(&ctx->ac, ctx->args->gs_vtx_offset[0]); in handle_ngg_outputs_post_2()
3776 ctx->gs_vtx_offset[i] = in prepare_gs_input_vgprs()
3778 ac_get_arg(&ctx->ac, ctx->args->gs_vtx_offset[i & ~1]), in prepare_gs_input_vgprs()
3787 ctx->gs_vtx_offset[i] = ac_get_arg(&ctx->ac, ctx->args->gs_vtx_offset[i]); in prepare_gs_input_vgprs()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_gs.c87 LLVMValueRef gs_vtx_offset = ac_get_arg(&ctx->ac, ctx->gs_vtx_offset[vtx_offset_param]); in si_llvm_load_input_gs() local
89 vtx_offset = LLVMBuildMul(ctx->ac.builder, gs_vtx_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_load_input_gs()
Dsi_shader_internal.h163 struct ac_arg gs_vtx_offset[6]; /* in dwords (GFX6) */ member
Dsi_shader.c608 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_INT, &ctx->gs_vtx_offset[0]); in si_create_function()
609 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_INT, &ctx->gs_vtx_offset[1]); in si_create_function()
611 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_INT, &ctx->gs_vtx_offset[2]); in si_create_function()
612 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_INT, &ctx->gs_vtx_offset[3]); in si_create_function()
613 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_INT, &ctx->gs_vtx_offset[4]); in si_create_function()
614 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_INT, &ctx->gs_vtx_offset[5]); in si_create_function()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp4928 elem = get_arg(ctx, ctx->args->gs_vtx_offset[i / 2u * 2u]); in get_gs_per_vertex_input_offset()
4932 elem = get_arg(ctx, ctx->args->gs_vtx_offset[i]); in get_gs_per_vertex_input_offset()
4950 get_arg(ctx, ctx->args->gs_vtx_offset[vertex / 2u * 2u]), in get_gs_per_vertex_input_offset()
4953 vertex_offset = get_arg(ctx, ctx->args->gs_vtx_offset[vertex]); in get_gs_per_vertex_input_offset()
11211 prim_exp_arg = get_arg(ctx, ctx->args->gs_vtx_offset[0]); in ngg_emit_prim_export()
11253 get_arg(ctx, ctx->args->gs_vtx_offset[0])); in ngg_nogs_export_primitives()
11256 get_arg(ctx, ctx->args->gs_vtx_offset[0]), Operand(16u), Operand(16u)); in ngg_nogs_export_primitives()
11259 get_arg(ctx, ctx->args->gs_vtx_offset[2])); in ngg_nogs_export_primitives()