Home
last modified time | relevance | path

Searched refs:frag_pos (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/amd/common/
Dac_shader_args.h83 struct ac_arg frag_pos[4]; member
/external/mesa3d/src/amd/vulkan/
Dradv_shader_args.c692 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &args->ac.frag_pos[0]); in radv_declare_shader_args()
693 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &args->ac.frag_pos[1]); in radv_declare_shader_args()
694 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &args->ac.frag_pos[2]); in radv_declare_shader_args()
695 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &args->ac.frag_pos[3]); in radv_declare_shader_args()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c639 si_add_arg_checked(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &ctx->args.frag_pos[0], in si_create_function()
641 si_add_arg_checked(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &ctx->args.frag_pos[1], in si_create_function()
643 si_add_arg_checked(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &ctx->args.frag_pos[2], in si_create_function()
645 si_add_arg_checked(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &ctx->args.frag_pos[3], in si_create_function()
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c2995 pos[0] = ac_to_float(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->frag_pos[0])); in load_sample_pos()
2996 pos[1] = ac_to_float(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->frag_pos[1])); in load_sample_pos()
3363 ac_get_arg(&ctx->ac, ctx->args->frag_pos[0]), ac_get_arg(&ctx->ac, ctx->args->frag_pos[1]), in visit_intrinsic()
3364 ac_get_arg(&ctx->ac, ctx->args->frag_pos[2]), in visit_intrinsic()
3365 ac_build_fdiv(&ctx->ac, ctx->ac.f32_1, ac_get_arg(&ctx->ac, ctx->args->frag_pos[3]))}; in visit_intrinsic()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp4514 vec->operands[i] = Operand(get_arg(ctx, ctx->args->ac.frag_pos[i])); in emit_load_frag_coord()
4518 …perands[3] = bld.vop1(aco_opcode::v_rcp_f32, bld.def(v1), get_arg(ctx, ctx->args->ac.frag_pos[3])); in emit_load_frag_coord()
7697 Temp posx = get_arg(ctx, ctx->args->ac.frag_pos[0]); in visit_intrinsic()
7698 Temp posy = get_arg(ctx, ctx->args->ac.frag_pos[1]); in visit_intrinsic()