Lines Matching full:coef
100 struct tgsi_interp_coef coef[PIPE_MAX_SHADER_INPUTS];
457 * The result will be put into setup->coef[slot].a0[i].
463 struct tgsi_interp_coef *coef,
468 coef->dadx[i] = 0;
469 coef->dady[i] = 0;
473 coef->a0[i] = setup->vprovoke[vertSlot][i];
484 struct tgsi_interp_coef *coef,
497 coef->dadx[i] = dadx;
498 coef->dady[i] = dady;
512 coef->a0[i] = (v[0] -
529 struct tgsi_interp_coef *coef,
547 coef->dadx[i] = dadx;
548 coef->dady[i] = dady;
549 coef->a0[i] = (mina -
571 setup->coef[slot].a0[0] = pixel_center_integer ? 0.0f : 0.5f;
572 setup->coef[slot].dadx[0] = 1.0f;
573 setup->coef[slot].dady[0] = 0.0f;
575 setup->coef[slot].a0[1] =
578 setup->coef[slot].dadx[1] = 0.0f;
579 setup->coef[slot].dady[1] = origin_lower_left ? -1.0f : 1.0f;
581 setup->coef
582 setup->coef[slot].dadx[2] = setup->posCoef.dadx[2];
583 setup->coef[slot].dady[2] = setup->posCoef.dady[2];
585 setup->coef[slot].a0[3] = setup->posCoef.a0[3];
586 setup->coef[slot].dadx[3] = setup->posCoef.dadx[3];
587 setup->coef[slot].dady[3] = setup->posCoef.dady[3];
593 * Compute the setup->coef[] array dadx, dady, a0 values.
628 const_coeff(setup, &setup->coef[fragSlot], vertSlot, j);
638 tri_linear_coeff(setup, &setup->coef[fragSlot], j, v);
648 tri_persp_coeff(setup, &setup->coef[fragSlot], j, v);
660 setup->coef[fragSlot].a0[0] = setup->facing * -2.0f + 1.0f;
661 setup->coef[fragSlot].dadx[0] = 0.0;
662 setup->coef[fragSlot].dady[0] = 0.0;
669 setup->coef[fragSlot].a0[j],
670 setup->coef[fragSlot].dadx[j],
671 setup->coef[fragSlot].dady[j]);
921 struct tgsi_interp_coef *coef,
928 coef->dadx[i] = dadx;
929 coef->dady[i] = dady;
930 coef->a0[i] = (v[0] -
943 struct tgsi_interp_coef *coef,
952 coef->dadx[i] = dadx;
953 coef->dady[i] = dady;
954 coef->a0[i] = (a0 -
961 * Compute the setup->coef[] array dadx, dady, a0 values.
1014 const_coeff(setup, &setup->coef[fragSlot], vertSlot, j);
1022 line_linear_coeff(setup, &setup->coef[fragSlot], j, v);
1031 line_persp_coeff(setup, &setup->coef[fragSlot], j, v);
1043 setup->coef[fragSlot].a0[0] = setup->facing * -2.0f + 1.0f;
1044 setup->coef[fragSlot].dadx[0] = 0.0;
1045 setup->coef[fragSlot].dady[0] = 0.0;
1214 struct tgsi_interp_coef *coef,
1218 coef->dadx[i] = 0.0F;
1219 coef->dady[i] = 0.0F;
1220 coef->a0[i] = vert[vertSlot][i] * vert[0][3];
1302 const_coeff(setup, &setup->coef[fragSlot], vertSlot, j);
1307 &setup->coef[fragSlot], vertSlot, j);
1318 setup->coef[fragSlot].a0[0] = setup->facing * -2.0f + 1.0f;
1319 setup->coef[fragSlot].dadx[0] = 0.0;
1320 setup->coef[fragSlot].dady[0] = 0.0;
1515 setup->quad[i].coef = setup->coef;