Home | History | Annotate | Download | only in Shader

Lines Matching refs:BlendFactor

870 	void PixelRoutine::blendFactor(Vector4s &blendFactor, const Vector4s &current, const Vector4s &pixel, BlendFactor blendFactorActive)
881 blendFactor.x = current.x;
882 blendFactor.y = current.y;
883 blendFactor.z = current.z;
886 blendFactor.x = Short4(0xFFFFu) - current.x;
887 blendFactor.y = Short4(0xFFFFu) - current.y;
888 blendFactor.z = Short4(0xFFFFu) - current.z;
891 blendFactor.x = pixel.x;
892 blendFactor.y = pixel.y;
893 blendFactor.z = pixel.z;
896 blendFactor.x = Short4(0xFFFFu) - pixel.x;
897 blendFactor.y = Short4(0xFFFFu) - pixel.y;
898 blendFactor.z = Short4(0xFFFFu) - pixel.z;
901 blendFactor.x = current.w;
902 blendFactor.y = current.w;
903 blendFactor.z = current.w;
906 blendFactor.x = Short4(0xFFFFu) - current.w;
907 blendFactor.y = Short4(0xFFFFu) - current.w;
908 blendFactor.z = Short4(0xFFFFu) - current.w;
911 blendFactor.x = pixel.w;
912 blendFactor.y = pixel.w;
913 blendFactor.z = pixel.w;
916 blendFactor.x = Short4(0xFFFFu) - pixel.w;
917 blendFactor.y = Short4(0xFFFFu) - pixel.w;
918 blendFactor.z = Short4(0xFFFFu) - pixel.w;
921 blendFactor.x = Short4(0xFFFFu) - pixel.w;
922 blendFactor.x = Min(As<UShort4>(blendFactor.x), As<UShort4>(current.w));
923 blendFactor.y = blendFactor.x;
924 blendFactor.z = blendFactor.x;
927 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[0]));
928 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[1]));
929 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[2]));
932 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[0]));
933 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[1]));
934 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[2]));
937 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3]));
938 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3]));
939 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3]));
942 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3]));
943 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3]));
944 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3]));
951 void PixelRoutine::blendFactorAlpha(Vector4s &blendFactor, const Vector4s &current, const Vector4s &pixel, BlendFactor blendFactorAlphaActive)
962 blendFactor.w = current.w;
965 blendFactor.w = Short4(0xFFFFu) - current.w;
968 blendFactor.w = pixel.w;
971 blendFactor.w = Short4(0xFFFFu) - pixel.w;
974 blendFactor.w = current.w;
977 blendFactor.w = Short4(0xFFFFu) - current.w;
980 blendFactor.w = pixel.w;
983 blendFactor.w = Short4(0xFFFFu) - pixel.w;
986 blendFactor.w = Short4(0xFFFFu);
990 blendFactor.w = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3]));
994 blendFactor.w = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3]));
1173 blendFactor(sourceFactor, current, pixel, state.sourceBlendFactor);
1174 blendFactor(destFactor, current, pixel, state.destBlendFactor);
1901 void PixelRoutine::blendFactor(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, BlendFactor blendFactorActive)
1912 blendFactor.x = oC.x;
1913 blendFactor.y = oC.y;
1914 blendFactor.z = oC.z;
1917 blendFactor.x = Float4(1.0f) - oC.x;
1918 blendFactor.y = Float4(1.0f) - oC.y;
1919 blendFactor.z = Float4(1.0f) - oC.z;
1922 blendFactor.x = pixel.x;
1923 blendFactor.y = pixel.y;
1924 blendFactor.z = pixel.z;
1927 blendFactor.x = Float4(1.0f) - pixel.x;
1928 blendFactor.y = Float4(1.0f) - pixel.y;
1929 blendFactor.z = Float4(1.0f) - pixel.z;
1932 blendFactor.x = oC.w;
1933 blendFactor.y = oC.w;
1934 blendFactor.z = oC.w;
1937 blendFactor.x = Float4(1.0f) - oC.w;
1938 blendFactor.y = Float4(1.0f) - oC.w;
1939 blendFactor.z = Float4(1.0f) - oC.w;
1942 blendFactor.x = pixel.w;
1943 blendFactor.y = pixel.w;
1944 blendFactor.z = pixel.w;
1947 blendFactor.x = Float4(1.0f) - pixel.w;
1948 blendFactor.y = Float4(1.0f) - pixel.w;
1949 blendFactor.z = Float4(1.0f) - pixel.w;
1952 blendFactor.x = Float4(1.0f) - pixel.w;
1953 blendFactor.x = Min(blendFactor.x, oC.w);
1954 blendFactor.y = blendFactor.x;
1955 blendFactor.z = blendFactor.x;
1958 blendFactor.x = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[0]));
1959 blendFactor.y = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[1]));
1960 blendFactor.z = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[2]));
1963 blendFactor.x = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[0]));
1964 blendFactor.y = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[1]));
1965 blendFactor.z = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[2]));
1972 void PixelRoutine::blendFactorAlpha(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, BlendFactor blendFactorAlphaActive)
1983 blendFactor.w = oC.w;
1986 blendFactor.w = Float4(1.0f) - oC.w;
1989 blendFactor.w = pixel.w;
1992 blendFactor.w = Float4(1.0f) - pixel.w;
1995 blendFactor.w = oC.w;
1998 blendFactor.w = Float4(1.0f) - oC.w;
2001 blendFactor.w = pixel.w;
2004 blendFactor.w = Float4(1.0f) - pixel.w;
2007 blendFactor.w = Float4(1.0f);
2010 blendFactor.w = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[3]));
2013 blendFactor.w = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[3]));
2103 blendFactor(sourceFactor, oC, pixel, state.sourceBlendFactor);
2104 blendFactor(destFactor, oC, pixel, state.destBlendFactor);