Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/llvm/
Dac_shader_abi.h48 LLVMValueRef persp_centroid, linear_centroid; member
Dac_nir_to_llvm.c3301 return ctx->abi->persp_centroid; in lookup_interp_param()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.h94 Temp persp_centroid, linear_centroid; member
Daco_instruction_selection.cpp8239 return linear ? ctx->linear_centroid : ctx->persp_centroid; in get_interp_param()
11692 ctx->persp_centroid = get_arg(ctx, ctx->args->ac.persp_centroid); in handle_bc_optimize()
11703 Temp persp_centroid = in handle_bc_optimize() local
11704 emit_extract_vector(ctx, get_arg(ctx, ctx->args->ac.persp_centroid), i, v1); in handle_bc_optimize()
11708 bld.vop2(aco_opcode::v_cndmask_b32, bld.def(v1), persp_centroid, persp_center, sel); in handle_bc_optimize()
11710 ctx->persp_centroid = bld.tmp(v2); in handle_bc_optimize()
11711 bld.pseudo(aco_opcode::p_create_vector, Definition(ctx->persp_centroid), in handle_bc_optimize()
11713 emit_split_vector(ctx, ctx->persp_centroid, 2); in handle_bc_optimize()
/third_party/mesa3d/src/amd/common/
Dac_shader_args.h132 struct ac_arg persp_centroid; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c536 ctx->abi.persp_centroid = ac_get_arg(&ctx->ac, ctx->args->ac.persp_centroid); in prepare_interp_optimize()
543 ctx->abi.persp_centroid = in prepare_interp_optimize()
545 ctx->abi.persp_centroid, ""); in prepare_interp_optimize()
Dradv_shader_args.c416 ac_add_arg(&args->ac, AC_ARG_VGPR, 2, AC_ARG_INT, &args->ac.persp_centroid); in declare_ps_input_vgprs()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c250 ctx->abi.persp_centroid = ac_get_arg(&ctx->ac, ctx->args.persp_centroid); in si_llvm_create_main_func()
Dsi_shader.c697 si_add_arg_checked(&ctx->args, AC_ARG_VGPR, 2, AC_ARG_INT, &ctx->args.persp_centroid, in si_init_shader_args()