Lines Matching refs:blendFactor
862 …void PixelRoutine::blendFactor(Vector4s &blendFactor, const Vector4s ¤t, const Vector4s &pix… in blendFactor() function in sw::PixelRoutine
873 blendFactor.x = current.x; in blendFactor()
874 blendFactor.y = current.y; in blendFactor()
875 blendFactor.z = current.z; in blendFactor()
878 blendFactor.x = Short4(0xFFFFu) - current.x; in blendFactor()
879 blendFactor.y = Short4(0xFFFFu) - current.y; in blendFactor()
880 blendFactor.z = Short4(0xFFFFu) - current.z; in blendFactor()
883 blendFactor.x = pixel.x; in blendFactor()
884 blendFactor.y = pixel.y; in blendFactor()
885 blendFactor.z = pixel.z; in blendFactor()
888 blendFactor.x = Short4(0xFFFFu) - pixel.x; in blendFactor()
889 blendFactor.y = Short4(0xFFFFu) - pixel.y; in blendFactor()
890 blendFactor.z = Short4(0xFFFFu) - pixel.z; in blendFactor()
893 blendFactor.x = current.w; in blendFactor()
894 blendFactor.y = current.w; in blendFactor()
895 blendFactor.z = current.w; in blendFactor()
898 blendFactor.x = Short4(0xFFFFu) - current.w; in blendFactor()
899 blendFactor.y = Short4(0xFFFFu) - current.w; in blendFactor()
900 blendFactor.z = Short4(0xFFFFu) - current.w; in blendFactor()
903 blendFactor.x = pixel.w; in blendFactor()
904 blendFactor.y = pixel.w; in blendFactor()
905 blendFactor.z = pixel.w; in blendFactor()
908 blendFactor.x = Short4(0xFFFFu) - pixel.w; in blendFactor()
909 blendFactor.y = Short4(0xFFFFu) - pixel.w; in blendFactor()
910 blendFactor.z = Short4(0xFFFFu) - pixel.w; in blendFactor()
913 blendFactor.x = Short4(0xFFFFu) - pixel.w; in blendFactor()
914 blendFactor.x = Min(As<UShort4>(blendFactor.x), As<UShort4>(current.w)); in blendFactor()
915 blendFactor.y = blendFactor.x; in blendFactor()
916 blendFactor.z = blendFactor.x; in blendFactor()
919 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[0])); in blendFactor()
920 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[1])); in blendFactor()
921 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[2])); in blendFactor()
924 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[0])); in blendFactor()
925 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[1])); in blendFactor()
926 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[2])); in blendFactor()
929 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3])); in blendFactor()
930 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3])); in blendFactor()
931 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3])); in blendFactor()
934 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3])); in blendFactor()
935 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3])); in blendFactor()
936 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3])); in blendFactor()
943 …void PixelRoutine::blendFactorAlpha(Vector4s &blendFactor, const Vector4s ¤t, const Vector4s… in blendFactorAlpha() argument
954 blendFactor.w = current.w; in blendFactorAlpha()
957 blendFactor.w = Short4(0xFFFFu) - current.w; in blendFactorAlpha()
960 blendFactor.w = pixel.w; in blendFactorAlpha()
963 blendFactor.w = Short4(0xFFFFu) - pixel.w; in blendFactorAlpha()
966 blendFactor.w = current.w; in blendFactorAlpha()
969 blendFactor.w = Short4(0xFFFFu) - current.w; in blendFactorAlpha()
972 blendFactor.w = pixel.w; in blendFactorAlpha()
975 blendFactor.w = Short4(0xFFFFu) - pixel.w; in blendFactorAlpha()
978 blendFactor.w = Short4(0xFFFFu); in blendFactorAlpha()
982 blendFactor.w = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3])); in blendFactorAlpha()
986 blendFactor.w = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3])); in blendFactorAlpha()
1185 blendFactor(sourceFactor, current, pixel, state.sourceBlendFactor); in alphaBlend()
1186 blendFactor(destFactor, current, pixel, state.destBlendFactor); in alphaBlend()
1918 …void PixelRoutine::blendFactor(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, B… in blendFactor() function in sw::PixelRoutine
1929 blendFactor.x = oC.x; in blendFactor()
1930 blendFactor.y = oC.y; in blendFactor()
1931 blendFactor.z = oC.z; in blendFactor()
1934 blendFactor.x = Float4(1.0f) - oC.x; in blendFactor()
1935 blendFactor.y = Float4(1.0f) - oC.y; in blendFactor()
1936 blendFactor.z = Float4(1.0f) - oC.z; in blendFactor()
1939 blendFactor.x = pixel.x; in blendFactor()
1940 blendFactor.y = pixel.y; in blendFactor()
1941 blendFactor.z = pixel.z; in blendFactor()
1944 blendFactor.x = Float4(1.0f) - pixel.x; in blendFactor()
1945 blendFactor.y = Float4(1.0f) - pixel.y; in blendFactor()
1946 blendFactor.z = Float4(1.0f) - pixel.z; in blendFactor()
1949 blendFactor.x = oC.w; in blendFactor()
1950 blendFactor.y = oC.w; in blendFactor()
1951 blendFactor.z = oC.w; in blendFactor()
1954 blendFactor.x = Float4(1.0f) - oC.w; in blendFactor()
1955 blendFactor.y = Float4(1.0f) - oC.w; in blendFactor()
1956 blendFactor.z = Float4(1.0f) - oC.w; in blendFactor()
1959 blendFactor.x = pixel.w; in blendFactor()
1960 blendFactor.y = pixel.w; in blendFactor()
1961 blendFactor.z = pixel.w; in blendFactor()
1964 blendFactor.x = Float4(1.0f) - pixel.w; in blendFactor()
1965 blendFactor.y = Float4(1.0f) - pixel.w; in blendFactor()
1966 blendFactor.z = Float4(1.0f) - pixel.w; in blendFactor()
1969 blendFactor.x = Float4(1.0f) - pixel.w; in blendFactor()
1970 blendFactor.x = Min(blendFactor.x, oC.w); in blendFactor()
1971 blendFactor.y = blendFactor.x; in blendFactor()
1972 blendFactor.z = blendFactor.x; in blendFactor()
1975 blendFactor.x = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[0])); in blendFactor()
1976 blendFactor.y = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[1])); in blendFactor()
1977 blendFactor.z = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[2])); in blendFactor()
1980 blendFactor.x = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[0])); in blendFactor()
1981 blendFactor.y = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[1])); in blendFactor()
1982 blendFactor.z = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[2])); in blendFactor()
1989 …void PixelRoutine::blendFactorAlpha(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pix… in blendFactorAlpha() argument
2000 blendFactor.w = oC.w; in blendFactorAlpha()
2003 blendFactor.w = Float4(1.0f) - oC.w; in blendFactorAlpha()
2006 blendFactor.w = pixel.w; in blendFactorAlpha()
2009 blendFactor.w = Float4(1.0f) - pixel.w; in blendFactorAlpha()
2012 blendFactor.w = oC.w; in blendFactorAlpha()
2015 blendFactor.w = Float4(1.0f) - oC.w; in blendFactorAlpha()
2018 blendFactor.w = pixel.w; in blendFactorAlpha()
2021 blendFactor.w = Float4(1.0f) - pixel.w; in blendFactorAlpha()
2024 blendFactor.w = Float4(1.0f); in blendFactorAlpha()
2027 blendFactor.w = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[3])); in blendFactorAlpha()
2030 blendFactor.w = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[3])); in blendFactorAlpha()
2122 blendFactor(sourceFactor, oC, pixel, state.sourceBlendFactor); in alphaBlend()
2123 blendFactor(destFactor, oC, pixel, state.destBlendFactor); in alphaBlend()