Searched refs:frag_pos (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/amd/common/ |
D | ac_shader_args.h | 83 struct ac_arg frag_pos[4]; member
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_shader_args.c | 692 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/ |
D | si_shader.c | 639 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/ |
D | ac_nir_to_llvm.c | 2995 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/ |
D | aco_instruction_selection.cpp | 4514 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()
|