Lines Matching full:shade
656 r = (xs * c->shade.drdx) + ci.ydrdy;
657 g = (xs * c->shade.dgdx) + ci.ydgdy;
658 b = (xs * c->shade.dbdx) + ci.ydbdy;
659 a = (xs * c->shade.dadx) + ci.ydady;
660 r = ADJUST_COLOR_ITERATOR(r, c->shade.drdx, xc);
661 g = ADJUST_COLOR_ITERATOR(g, c->shade.dgdx, xc);
662 b = ADJUST_COLOR_ITERATOR(b, c->shade.dbdx, xc);
663 a = ADJUST_COLOR_ITERATOR(a, c->shade.dadx, xc);
672 GGLfixed z = (xs * c->shade.dzdx) + ci.ydzdy;
673 GGLfixed f = (xs * c->shade.dfdx) + ci.ydfdy;
727 u = (((tx.shade.is0>>16) + x)<<16) + FIXED_HALF;
736 v = (((tx.shade.it0>>16) + y)<<16) + FIXED_HALF;
932 r += c->shade.drdx;
933 g += c->shade.dgdx;
934 b += c->shade.dbdx;
935 a += c->shade.dadx;
937 z += c->shade.dzdx;
938 f += c->shade.dfdx;
965 const int32_t u = (tx.shade.is0>>16) + x;
966 const int32_t v = (tx.shade.it0>>16) + y;
982 const int32_t u = (tx.shade.is0>>16) + x;
983 const int32_t v = (tx.shade.it0>>16) + y;
1646 ci.ydzdy = interpolate(ys, c->shade.z0, c->shade.dzdx, c->shade.dzdy);
1647 ci.ydwdy = interpolate(ys, c->shade.w0, c->shade.dwdx, c->shade.dwdy);
1648 ci.ydfdy = interpolate(ys, c->shade.f0, c->shade.dfdx, c->shade.dfdy);
1652 ci.ydrdy = interpolate(ys, c->shade.r0, c->shade.drdx, c->shade.drdy);
1653 ci.ydgdy = interpolate(ys, c->shade.g0, c->shade.dgdx, c->shade.dgdy);
1654 ci.ydbdy = interpolate(ys, c->shade.b0, c->shade.dbdx, c->shade.dbdy);
1655 ci.ydady = interpolate(ys, c->shade.a0, c->shade.dadx, c->shade.dady);
1658 ci.ydrdy = c->shade.r0;
1659 ci.ydgdy = c->shade.g0;
1660 ci.ydbdy = c->shade.b0;
1661 ci.ydady = c->shade.a0;
1672 gen.argb[GGLFormat::ALPHA].dx = c->shade.dadx;
1674 gen.argb[GGLFormat::RED ].dx = c->shade.drdx;
1676 gen.argb[GGLFormat::GREEN].dx = c->shade.dgdx;
1678 gen.argb[GGLFormat::BLUE ].dx = c->shade.dbdx;
1679 gen.dzdx = c->shade.dzdx;
1681 gen.dfdx = c->shade.dfdx;
1695 ti.ydsdy = t.shade.is0;
1696 ti.ydtdy = t.shade.it0;
1700 ti.sscale = t.shade.sscale + adjustSWrap;
1701 ti.tscale = t.shade.tscale + adjustTWrap;
1706 t.shade.is0, t.shade.idsdx, t.shade.idsdy);
1709 ti.dsdx = t.shade.idsdx << sscale;
1710 ti.dsdy = t.shade.idsdy << sscale;
1713 ti.dsdx = t.shade.idsdx >> -sscale;
1714 ti.dsdy = t.shade.idsdy >> -sscale;
1719 t.shade.it0, t.shade.idtdx, t.shade.idtdy);
1722 ti.dtdx = t.shade.idtdx << tscale;
1723 ti.dtdy = t.shade.idtdy << tscale;
1726 ti.dtdx = t.shade.idtdx >> -tscale;
1727 ti.dtdy = t.shade.idtdy >> -tscale;
1773 c->shade.r0, c->shade.g0, c->shade.b0, c->shade.a0);
1775 c->shade.r0, c->shade.g0, c->shade.b0, c->shade.a0);
1818 ci.ydrdy += c->shade.drdy;
1819 ci.ydgdy += c->shade.dgdy;
1820 ci.ydbdy += c->shade.dbdy;
1821 ci.ydady += c->shade.dady;
1829 ci.ydzdy += c->shade.dzdy;
1830 ci.ydwdy += c->shade.dwdy;
1831 ci.ydfdy += c->shade.dfdy;
1848 c->iterators.ydzdy += c->shade.dzdy;
1855 ci.ydrdy += c->shade.drdy;
1856 ci.ydgdy += c->shade.dgdy;
1857 ci.ydbdy += c->shade.dbdy;
1858 ci.ydady += c->shade.dady;
1859 ci.ydzdy += c->shade.dzdy;
1866 ci.ydzdy += c->shade.dzdy;
1867 ci.ydwdy += c->shade.dwdy;
1874 ci.ydzdy += c->shade.dzdy;
1916 int32_t w0 = (xs * c->shade.dwdx) + ci.ydwdy;
1920 const int32_t dwdx = c->shade.dwdx << SPAN_BITS;
1929 int32_t s = tmu.shade.is0 +
1930 (tmu.shade.idsdy * ys) + (tmu.shade.idsdx * xs) +
1931 ((tmu.shade.idsdx + tmu.shade.idsdy)>>1);
1932 int32_t t = tmu.shade.it0 +
1933 (tmu.shade.idtdy * ys) + (tmu.shade.idtdx * xs) +
1934 ((tmu.shade.idtdx + tmu.shade.idtdy)>>1);
1950 w1 = (c->shade.dwdx * span) + w0;
1963 if (span) v += (tmu.shade.st[j].dx)*span;
1964 else v += (tmu.shade.st[j].dx)<<SPAN_BITS;
2005 int32_t w = (xs * c->shade.dwdx) + ci.ydwdy;
2015 int32_t s = tmu.shade.is0 +
2016 (tmu.shade.idsdy * ys) + (tmu.shade.idsdx * xs) +
2017 ((tmu.shade.idsdx + tmu.shade.idsdy)>>1);
2018 int32_t t = tmu.shade.it0 +
2019 (tmu.shade.idtdy * ys) + (tmu.shade.idtdx * xs) +
2020 ((tmu.shade.idtdx + tmu.shade.idtdy)>>1);
2028 if (c->shade.dwdx == 0) {
2036 w += c->shade.dwdx * premainder;
2039 s += tmu.shade.idsdx * premainder;
2040 t += tmu.shade.idtdx * premainder;
2051 w += c->shade.dwdx << SPAN_BITS;
2052 s += tmu.shade.idsdx << SPAN_BITS;
2053 t += tmu.shade.idtdx << SPAN_BITS;
2140 const int32_t u = (c->state.texture[0].shade.is0>>16) + x;
2141 const int32_t v = (c->state.texture[0].shade.it0>>16) + y;
2186 const int32_t u = (c->state.texture[0].shade.is0>>16) + x;
2187 const int32_t v = (c->state.texture[0].shade.it0>>16) + y;
2256 const int32_t u = (c->state.texture[0].shade.is0>>16) + x;
2257 const int32_t v = (c->state.texture[0].shade.it0>>16) + y;
2347 const int32_t u = (c->state.texture[0].shade.is0>>16) + x;
2348 const int32_t v = (c->state.texture[0].shade.it0>>16) + y;