Lines Matching refs:blendFactor
789 …void PixelRoutine::blendFactor(Vector4s &blendFactor, const Vector4s ¤t, const Vector4s &pix… in blendFactor() function in sw::PixelRoutine
800 blendFactor.x = current.x; in blendFactor()
801 blendFactor.y = current.y; in blendFactor()
802 blendFactor.z = current.z; in blendFactor()
805 blendFactor.x = Short4(0xFFFFu) - current.x; in blendFactor()
806 blendFactor.y = Short4(0xFFFFu) - current.y; in blendFactor()
807 blendFactor.z = Short4(0xFFFFu) - current.z; in blendFactor()
810 blendFactor.x = pixel.x; in blendFactor()
811 blendFactor.y = pixel.y; in blendFactor()
812 blendFactor.z = pixel.z; in blendFactor()
815 blendFactor.x = Short4(0xFFFFu) - pixel.x; in blendFactor()
816 blendFactor.y = Short4(0xFFFFu) - pixel.y; in blendFactor()
817 blendFactor.z = Short4(0xFFFFu) - pixel.z; in blendFactor()
820 blendFactor.x = current.w; in blendFactor()
821 blendFactor.y = current.w; in blendFactor()
822 blendFactor.z = current.w; in blendFactor()
825 blendFactor.x = Short4(0xFFFFu) - current.w; in blendFactor()
826 blendFactor.y = Short4(0xFFFFu) - current.w; in blendFactor()
827 blendFactor.z = Short4(0xFFFFu) - current.w; in blendFactor()
830 blendFactor.x = pixel.w; in blendFactor()
831 blendFactor.y = pixel.w; in blendFactor()
832 blendFactor.z = pixel.w; in blendFactor()
835 blendFactor.x = Short4(0xFFFFu) - pixel.w; in blendFactor()
836 blendFactor.y = Short4(0xFFFFu) - pixel.w; in blendFactor()
837 blendFactor.z = Short4(0xFFFFu) - pixel.w; in blendFactor()
840 blendFactor.x = Short4(0xFFFFu) - pixel.w; in blendFactor()
841 blendFactor.x = Min(As<UShort4>(blendFactor.x), As<UShort4>(current.w)); in blendFactor()
842 blendFactor.y = blendFactor.x; in blendFactor()
843 blendFactor.z = blendFactor.x; in blendFactor()
846 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[0])); in blendFactor()
847 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[1])); in blendFactor()
848 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[2])); in blendFactor()
851 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[0])); in blendFactor()
852 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[1])); in blendFactor()
853 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[2])); in blendFactor()
856 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3])); in blendFactor()
857 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3])); in blendFactor()
858 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3])); in blendFactor()
861 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3])); in blendFactor()
862 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3])); in blendFactor()
863 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3])); in blendFactor()
870 …void PixelRoutine::blendFactorAlpha(Vector4s &blendFactor, const Vector4s ¤t, const Vector4s… in blendFactorAlpha() argument
881 blendFactor.w = current.w; in blendFactorAlpha()
884 blendFactor.w = Short4(0xFFFFu) - current.w; in blendFactorAlpha()
887 blendFactor.w = pixel.w; in blendFactorAlpha()
890 blendFactor.w = Short4(0xFFFFu) - pixel.w; in blendFactorAlpha()
893 blendFactor.w = current.w; in blendFactorAlpha()
896 blendFactor.w = Short4(0xFFFFu) - current.w; in blendFactorAlpha()
899 blendFactor.w = pixel.w; in blendFactorAlpha()
902 blendFactor.w = Short4(0xFFFFu) - pixel.w; in blendFactorAlpha()
905 blendFactor.w = Short4(0xFFFFu); in blendFactorAlpha()
909 blendFactor.w = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3])); in blendFactorAlpha()
913 blendFactor.w = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3])); in blendFactorAlpha()
1050 blendFactor(sourceFactor, current, pixel, state.sourceBlendFactor); in alphaBlend()
1051 blendFactor(destFactor, current, pixel, state.destBlendFactor); in alphaBlend()
1682 …void PixelRoutine::blendFactor(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, V… in blendFactor() argument
1693 blendFactor.x = oC.x; in blendFactor()
1694 blendFactor.y = oC.y; in blendFactor()
1695 blendFactor.z = oC.z; in blendFactor()
1698 blendFactor.x = Float4(1.0f) - oC.x; in blendFactor()
1699 blendFactor.y = Float4(1.0f) - oC.y; in blendFactor()
1700 blendFactor.z = Float4(1.0f) - oC.z; in blendFactor()
1703 blendFactor.x = pixel.x; in blendFactor()
1704 blendFactor.y = pixel.y; in blendFactor()
1705 blendFactor.z = pixel.z; in blendFactor()
1708 blendFactor.x = Float4(1.0f) - pixel.x; in blendFactor()
1709 blendFactor.y = Float4(1.0f) - pixel.y; in blendFactor()
1710 blendFactor.z = Float4(1.0f) - pixel.z; in blendFactor()
1713 blendFactor.x = oC.w; in blendFactor()
1714 blendFactor.y = oC.w; in blendFactor()
1715 blendFactor.z = oC.w; in blendFactor()
1718 blendFactor.x = Float4(1.0f) - oC.w; in blendFactor()
1719 blendFactor.y = Float4(1.0f) - oC.w; in blendFactor()
1720 blendFactor.z = Float4(1.0f) - oC.w; in blendFactor()
1723 blendFactor.x = pixel.w; in blendFactor()
1724 blendFactor.y = pixel.w; in blendFactor()
1725 blendFactor.z = pixel.w; in blendFactor()
1728 blendFactor.x = Float4(1.0f) - pixel.w; in blendFactor()
1729 blendFactor.y = Float4(1.0f) - pixel.w; in blendFactor()
1730 blendFactor.z = Float4(1.0f) - pixel.w; in blendFactor()
1733 blendFactor.x = Float4(1.0f) - pixel.w; in blendFactor()
1734 blendFactor.x = Min(blendFactor.x, oC.w); in blendFactor()
1735 blendFactor.y = blendFactor.x; in blendFactor()
1736 blendFactor.z = blendFactor.x; in blendFactor()
1739 blendFactor.x = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[0])); in blendFactor()
1740 blendFactor.y = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[1])); in blendFactor()
1741 blendFactor.z = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[2])); in blendFactor()
1744 blendFactor.x = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[0])); in blendFactor()
1745 blendFactor.y = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[1])); in blendFactor()
1746 blendFactor.z = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[2])); in blendFactor()
1753 …void PixelRoutine::blendFactorAlpha(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pix… in blendFactorAlpha() argument
1764 blendFactor.w = oC.w; in blendFactorAlpha()
1767 blendFactor.w = Float4(1.0f) - oC.w; in blendFactorAlpha()
1770 blendFactor.w = pixel.w; in blendFactorAlpha()
1773 blendFactor.w = Float4(1.0f) - pixel.w; in blendFactorAlpha()
1776 blendFactor.w = oC.w; in blendFactorAlpha()
1779 blendFactor.w = Float4(1.0f) - oC.w; in blendFactorAlpha()
1782 blendFactor.w = pixel.w; in blendFactorAlpha()
1785 blendFactor.w = Float4(1.0f) - pixel.w; in blendFactorAlpha()
1788 blendFactor.w = Float4(1.0f); in blendFactorAlpha()
1791 blendFactor.w = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[3])); in blendFactorAlpha()
1794 blendFactor.w = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[3])); in blendFactorAlpha()
1879 blendFactor(sourceFactor, oC, pixel, state.sourceBlendFactor); in alphaBlend()
1880 blendFactor(destFactor, oC, pixel, state.destBlendFactor); in alphaBlend()