Home | History | Annotate | Download | only in softpipe

Lines Matching full:coef

100    struct tgsi_interp_coef coef[PIPE_MAX_SHADER_INPUTS];
456 * The result will be put into setup->coef[slot].a0[i].
462 struct tgsi_interp_coef *coef,
467 coef->dadx[i] = 0;
468 coef->dady[i] = 0;
472 coef->a0[i] = setup->vprovoke[vertSlot][i];
483 struct tgsi_interp_coef *coef,
496 coef->dadx[i] = dadx;
497 coef->dady[i] = dady;
511 coef->a0[i] = (v[0] -
518 setup->coef[slot].a0[i],
519 setup->coef[slot].dadx[i],
520 setup->coef[slot].dady[i]);
536 struct tgsi_interp_coef *coef,
561 coef->dadx[i] = dadx;
562 coef->dady[i] = dady;
563 coef->a0[i] = (mina -
581 setup->coef[slot].a0[0] = fsInfo->pixel_center_integer ? 0.0 : 0.5;
582 setup->coef[slot].dadx[0] = 1.0;
583 setup->coef[slot].dady[0] = 0.0;
585 setup->coef[slot].a0[1] =
588 setup->coef[slot].dadx[1] = 0.0;
589 setup->coef[slot].dady[1] = fsInfo->origin_lower_left ? -1.0 : 1.0;
591 setup->coef[slot].a0[2] = setup->posCoef.a0[2];
592 setup->coef[slot].dadx[2] = setup->posCoef.dadx[2];
593 setup->coef[slot].dady[2] = setup->posCoef.dady[2];
595 setup->coef[slot].a0[3] = setup->posCoef.a0[3];
596 setup->coef[slot].dadx[3] = setup->posCoef.dadx[3];
597 setup->coef[slot].dady[3] = setup->posCoef.dady[3];
603 * Compute the setup->coef[] array dadx, dady, a0 values.
636 const_coeff(setup, &setup->coef[fragSlot], vertSlot, j);
645 tri_linear_coeff(setup, &setup->coef[fragSlot], j, v);
655 tri_persp_coeff(setup, &setup->coef[fragSlot], j, v);
667 setup->coef[fragSlot].a0[0] = setup->facing * -2.0f + 1.0f;
668 setup->coef[fragSlot].dadx[0] = 0.0;
669 setup->coef[fragSlot].dady[0] = 0.0;
901 struct tgsi_interp_coef *coef,
908 coef->dadx[i] = dadx;
909 coef->dady[i] = dady;
910 coef->a0[i] = (v[0] -
923 struct tgsi_interp_coef *coef,
932 coef->dadx[i] = dadx;
933 coef->dady[i] = dady;
934 coef->a0[i] = (a0 -
941 * Compute the setup->coef[] array dadx, dady, a0 values.
992 const_coeff(setup, &setup->coef[fragSlot], vertSlot, j);
1000 line_linear_coeff(setup, &setup->coef[fragSlot], j, v);
1009 line_persp_coeff(setup, &setup->coef[fragSlot], j, v);
1021 setup->coef[fragSlot].a0[0] = setup->facing * -2.0f + 1.0f;
1022 setup->coef[fragSlot].dadx[0] = 0.0;
1023 setup->coef[fragSlot].dady[0] = 0.0;
1179 struct tgsi_interp_coef *coef,
1183 coef->dadx[i] = 0.0F;
1184 coef->dady[i] = 0.0F;
1185 coef->a0[i] = vert[vertSlot][i] * vert[0][3];
1252 const_coeff(setup, &setup->coef[fragSlot], vertSlot, j);
1257 &setup->coef[fragSlot], vertSlot, j);
1268 setup->coef[fragSlot].a0[0] = setup->facing * -2.0f + 1.0f;
1269 setup->coef[fragSlot].dadx[0] = 0.0;
1270 setup->coef[fragSlot].dady[0] = 0.0;
1447 setup->quad[i].coef = setup->coef;