Lines Matching full:shade
619 r = (xs * c->shade.drdx) + ci.ydrdy;
620 g = (xs * c->shade.dgdx) + ci.ydgdy;
621 b = (xs * c->shade.dbdx) + ci.ydbdy;
622 a = (xs * c->shade.dadx) + ci.ydady;
623 r = ADJUST_COLOR_ITERATOR(r, c->shade.drdx, xc);
624 g = ADJUST_COLOR_ITERATOR(g, c->shade.dgdx, xc);
625 b = ADJUST_COLOR_ITERATOR(b, c->shade.dbdx, xc);
626 a = ADJUST_COLOR_ITERATOR(a, c->shade.dadx, xc);
635 GGLfixed z = (xs * c->shade.dzdx) + ci.ydzdy;
636 GGLfixed f = (xs * c->shade.dfdx) + ci.ydfdy;
690 u = (((tx.shade.is0>>16) + x)<<16) + FIXED_HALF;
699 v = (((tx.shade.it0>>16) + y)<<16) + FIXED_HALF;
895 r += c->shade.drdx;
896 g += c->shade.dgdx;
897 b += c->shade.dbdx;
898 a += c->shade.dadx;
900 z += c->shade.dzdx;
901 f += c->shade.dfdx;
928 const int32_t u = (tx.shade.is0>>16) + x;
929 const int32_t v = (tx.shade.it0>>16) + y;
945 const int32_t u = (tx.shade.is0>>16) + x;
946 const int32_t v = (tx.shade.it0>>16) + y;
1609 ci.ydzdy = interpolate(ys, c->shade.z0, c->shade.dzdx, c->shade.dzdy);
1610 ci.ydwdy = interpolate(ys, c->shade.w0, c->shade.dwdx, c->shade.dwdy);
1611 ci.ydfdy = interpolate(ys, c->shade.f0, c->shade.dfdx, c->shade.dfdy);
1615 ci.ydrdy = interpolate(ys, c->shade.r0, c->shade.drdx, c->shade.drdy);
1616 ci.ydgdy = interpolate(ys, c->shade.g0, c->shade.dgdx, c->shade.dgdy);
1617 ci.ydbdy = interpolate(ys, c->shade.b0, c->shade.dbdx, c->shade.dbdy);
1618 ci.ydady = interpolate(ys, c->shade.a0, c->shade.dadx, c->shade.dady);
1621 ci.ydrdy = c->shade.r0;
1622 ci.ydgdy = c->shade.g0;
1623 ci.ydbdy = c->shade.b0;
1624 ci.ydady = c->shade.a0;
1635 gen.argb[GGLFormat::ALPHA].dx = c->shade.dadx;
1637 gen.argb[GGLFormat::RED ].dx = c->shade.drdx;
1639 gen.argb[GGLFormat::GREEN].dx = c->shade.dgdx;
1641 gen.argb[GGLFormat::BLUE ].dx = c->shade.dbdx;
1642 gen.dzdx = c->shade.dzdx;
1644 gen.dfdx = c->shade.dfdx;
1658 ti.ydsdy = t.shade.is0;
1659 ti.ydtdy = t.shade.it0;
1663 ti.sscale = t.shade.sscale + adjustSWrap;
1664 ti.tscale = t.shade.tscale + adjustTWrap;
1669 t.shade.is0, t.shade.idsdx, t.shade.idsdy);
1672 ti.dsdx = t.shade.idsdx << sscale;
1673 ti.dsdy = t.shade.idsdy << sscale;
1676 ti.dsdx = t.shade.idsdx >> -sscale;
1677 ti.dsdy = t.shade.idsdy >> -sscale;
1682 t.shade.it0, t.shade.idtdx, t.shade.idtdy);
1685 ti.dtdx = t.shade.idtdx << tscale;
1686 ti.dtdy = t.shade.idtdy << tscale;
1689 ti.dtdx = t.shade.idtdx >> -tscale;
1690 ti.dtdy = t.shade.idtdy >> -tscale;
1736 c->shade.r0, c->shade.g0, c->shade.b0, c->shade.a0);
1738 c->shade.r0, c->shade.g0, c->shade.b0, c->shade.a0);
1781 ci.ydrdy += c->shade.drdy;
1782 ci.ydgdy += c->shade.dgdy;
1783 ci.ydbdy += c->shade.dbdy;
1784 ci.ydady += c->shade.dady;
1792 ci.ydzdy += c->shade.dzdy;
1793 ci.ydwdy += c->shade.dwdy;
1794 ci.ydfdy += c->shade.dfdy;
1811 c->iterators.ydzdy += c->shade.dzdy;
1818 ci.ydrdy += c->shade.drdy;
1819 ci.ydgdy += c->shade.dgdy;
1820 ci.ydbdy += c->shade.dbdy;
1821 ci.ydady += c->shade.dady;
1822 ci.ydzdy += c->shade.dzdy;
1829 ci.ydzdy += c->shade.dzdy;
1830 ci.ydwdy += c->shade.dwdy;
1837 ci.ydzdy += c->shade.dzdy;
1879 int32_t w0 = (xs * c->shade.dwdx) + ci.ydwdy;
1883 const int32_t dwdx = c->shade.dwdx << SPAN_BITS;
1892 int32_t s = tmu.shade.is0 +
1893 (tmu.shade.idsdy * ys) + (tmu.shade.idsdx * xs) +
1894 ((tmu.shade.idsdx + tmu.shade.idsdy)>>1);
1895 int32_t t = tmu.shade.it0 +
1896 (tmu.shade.idtdy * ys) + (tmu.shade.idtdx * xs) +
1897 ((tmu.shade.idtdx + tmu.shade.idtdy)>>1);
1913 w1 = (c->shade.dwdx * span) + w0;
1926 if (span) v += (tmu.shade.st[j].dx)*span;
1927 else v += (tmu.shade.st[j].dx)<<SPAN_BITS;
1968 int32_t w = (xs * c->shade.dwdx) + ci.ydwdy;
1978 int32_t s = tmu.shade.is0 +
1979 (tmu.shade.idsdy * ys) + (tmu.shade.idsdx * xs) +
1980 ((tmu.shade.idsdx + tmu.shade.idsdy)>>1);
1981 int32_t t = tmu.shade.it0 +
1982 (tmu.shade.idtdy * ys) + (tmu.shade.idtdx * xs) +
1983 ((tmu.shade.idtdx + tmu.shade.idtdy)>>1);
1991 if (c->shade.dwdx == 0) {
1999 w += c->shade.dwdx * premainder;
2002 s += tmu.shade.idsdx * premainder;
2003 t += tmu.shade.idtdx * premainder;
2014 w += c->shade.dwdx << SPAN_BITS;
2015 s += tmu.shade.idsdx << SPAN_BITS;
2016 t += tmu.shade.idtdx << SPAN_BITS;
2101 const int32_t u = (c->state.texture[0].shade.is0>>16) + x;
2102 const int32_t v = (c->state.texture[0].shade.it0>>16) + y;
2147 const int32_t u = (c->state.texture[0].shade.is0>>16) + x;
2148 const int32_t v = (c->state.texture[0].shade.it0>>16) + y;
2211 const int32_t u = (c->state.texture[0].shade.is0>>16) + x;
2212 const int32_t v = (c->state.texture[0].shade.it0>>16) + y;
2302 const int32_t u = (c->state.texture[0].shade.is0>>16) + x;
2303 const int32_t v = (c->state.texture[0].shade.it0>>16) + y;