Lines Matching refs:coef
101 struct tgsi_interp_coef coef[PIPE_MAX_SHADER_INPUTS];
401 * The result will be put into setup->coef[slot].a0[i].
407 struct tgsi_interp_coef *coef,
412 coef->dadx[i] = 0;
413 coef->dady[i] = 0;
417 coef->a0[i] = setup->vprovoke[vertSlot][i];
428 struct tgsi_interp_coef *coef,
441 coef->dadx[i] = dadx;
442 coef->dady[i] = dady;
456 coef->a0[i] = (v[0] -
473 struct tgsi_interp_coef *coef,
491 coef->dadx[i] = dadx;
492 coef->dady[i] = dady;
493 coef->a0[i] = (mina -
515 setup->coef[slot].a0[0] = pixel_center_integer ? 0.0f : 0.5f;
516 setup->coef[slot].dadx[0] = 1.0f;
517 setup->coef[slot].dady[0] = 0.0f;
519 setup->coef[slot].a0[1] =
522 setup->coef[slot].dadx[1] = 0.0f;
523 setup->coef[slot].dady[1] = origin_lower_left ? -1.0f : 1.0f;
525 setup->coef[slot].a0[2] = setup->posCoef.a0[2];
526 setup->coef[slot].dadx[2] = setup->posCoef.dadx[2];
527 setup->coef[slot].dady[2] = setup->posCoef.dady[2];
529 setup->coef[slot].a0[3] = setup->posCoef.a0[3];
530 setup->coef[slot].dadx[3] = setup->posCoef.dadx[3];
531 setup->coef[slot].dady[3] = setup->posCoef.dady[3];
537 * Compute the setup->coef[] array dadx, dady, a0 values.
572 const_coeff(setup, &setup->coef[fragSlot], vertSlot, j);
580 tri_linear_coeff(setup, &setup->coef[fragSlot], j, v);
588 tri_persp_coeff(setup, &setup->coef[fragSlot], j, v);
600 setup->coef[fragSlot].a0[0] = setup->facing * -2.0f + 1.0f;
601 setup->coef[fragSlot].dadx[0] = 0.0;
602 setup->coef[fragSlot].dady[0] = 0.0;
609 setup->coef[fragSlot].a0[j],
610 setup->coef[fragSlot].dadx[j],
611 setup->coef[fragSlot].dady[j]);
836 struct tgsi_interp_coef *coef,
843 coef->dadx[i] = dadx;
844 coef->dady[i] = dady;
845 coef->a0[i] = (v[0] -
858 struct tgsi_interp_coef *coef,
867 coef->dadx[i] = dadx;
868 coef->dady[i] = dady;
869 coef->a0[i] = (a0 -
876 * Compute the setup->coef[] array dadx, dady, a0 values.
929 const_coeff(setup, &setup->coef[fragSlot], vertSlot, j);
935 line_linear_coeff(setup, &setup->coef[fragSlot], j, v);
942 line_persp_coeff(setup, &setup->coef[fragSlot], j, v);
954 setup->coef[fragSlot].a0[0] = setup->facing * -2.0f + 1.0f;
955 setup->coef[fragSlot].dadx[0] = 0.0;
956 setup->coef[fragSlot].dady[0] = 0.0;
1126 struct tgsi_interp_coef *coef,
1130 coef->dadx[i] = 0.0F;
1131 coef->dady[i] = 0.0F;
1132 coef->a0[i] = vert[vertSlot][i] * vert[0][3];
1215 const_coeff(setup, &setup->coef[fragSlot], vertSlot, j);
1220 &setup->coef[fragSlot], vertSlot, j);
1231 setup->coef[fragSlot].a0[0] = setup->facing * -2.0f + 1.0f;
1232 setup->coef[fragSlot].dadx[0] = 0.0;
1233 setup->coef[fragSlot].dady[0] = 0.0;
1438 setup->quad[i].coef = setup->coef;