Home | History | Annotate | Download | only in Shader

Lines Matching refs:blendFactor

862 	void PixelRoutine::blendFactor(Vector4s &blendFactor, const Vector4s &current, const Vector4s &pixel, BlendFactor blendFactorActive)
873 blendFactor.x = current.x;
874 blendFactor.y = current.y;
875 blendFactor.z = current.z;
878 blendFactor.x = Short4(0xFFFFu) - current.x;
879 blendFactor.y = Short4(0xFFFFu) - current.y;
880 blendFactor.z = Short4(0xFFFFu) - current.z;
883 blendFactor.x = pixel.x;
884 blendFactor.y = pixel.y;
885 blendFactor.z = pixel.z;
888 blendFactor.x = Short4(0xFFFFu) - pixel.x;
889 blendFactor.y = Short4(0xFFFFu) - pixel.y;
890 blendFactor.z = Short4(0xFFFFu) - pixel.z;
893 blendFactor.x = current.w;
894 blendFactor.y = current.w;
895 blendFactor.z = current.w;
898 blendFactor.x = Short4(0xFFFFu) - current.w;
899 blendFactor.y = Short4(0xFFFFu) - current.w;
900 blendFactor.z = Short4(0xFFFFu) - current.w;
903 blendFactor.x = pixel.w;
904 blendFactor.y = pixel.w;
905 blendFactor.z = pixel.w;
908 blendFactor.x = Short4(0xFFFFu) - pixel.w;
909 blendFactor.y = Short4(0xFFFFu) - pixel.w;
910 blendFactor.z = Short4(0xFFFFu) - pixel.w;
913 blendFactor.x = Short4(0xFFFFu) - pixel.w;
914 blendFactor.x = Min(As<UShort4>(blendFactor.x), As<UShort4>(current.w));
915 blendFactor.y = blendFactor.x;
916 blendFactor.z = blendFactor.x;
919 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[0]));
920 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[1]));
921 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[2]));
924 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[0]));
925 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[1]));
926 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[2]));
929 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3]));
930 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3]));
931 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3]));
934 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3]));
935 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3]));
936 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3]));
943 void PixelRoutine::blendFactorAlpha(Vector4s &blendFactor, const Vector4s &current, const Vector4s &pixel, BlendFactor blendFactorAlphaActive)
954 blendFactor.w = current.w;
957 blendFactor.w = Short4(0xFFFFu) - current.w;
960 blendFactor.w = pixel.w;
963 blendFactor.w = Short4(0xFFFFu) - pixel.w;
966 blendFactor.w = current.w;
969 blendFactor.w = Short4(0xFFFFu) - current.w;
972 blendFactor.w = pixel.w;
975 blendFactor.w = Short4(0xFFFFu) - pixel.w;
978 blendFactor.w = Short4(0xFFFFu);
982 blendFactor.w = *Pointer<Short4>(data + OFFSET(DrawData,factor.blendConstant4W[3]));
986 blendFactor.w = *Pointer<Short4>(data + OFFSET(DrawData,factor.invBlendConstant4W[3]));
1185 blendFactor(sourceFactor, current, pixel, state.sourceBlendFactor);
1186 blendFactor(destFactor, current, pixel, state.destBlendFactor);
1911 void PixelRoutine::blendFactor(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, BlendFactor blendFactorActive)
1922 blendFactor.x = oC.x;
1923 blendFactor.y = oC.y;
1924 blendFactor.z = oC.z;
1927 blendFactor.x = Float4(1.0f) - oC.x;
1928 blendFactor.y = Float4(1.0f) - oC.y;
1929 blendFactor.z = Float4(1.0f) - oC.z;
1932 blendFactor.x = pixel.x;
1933 blendFactor.y = pixel.y;
1934 blendFactor.z = pixel.z;
1937 blendFactor.x = Float4(1.0f) - pixel.x;
1938 blendFactor.y = Float4(1.0f) - pixel.y;
1939 blendFactor.z = Float4(1.0f) - pixel.z;
1942 blendFactor.x = oC.w;
1943 blendFactor.y = oC.w;
1944 blendFactor.z = oC.w;
1947 blendFactor.x = Float4(1.0f) - oC.w;
1948 blendFactor.y = Float4(1.0f) - oC.w;
1949 blendFactor.z = Float4(1.0f) - oC.w;
1952 blendFactor.x = pixel.w;
1953 blendFactor.y = pixel.w;
1954 blendFactor.z = pixel.w;
1957 blendFactor.x = Float4(1.0f) - pixel.w;
1958 blendFactor.y = Float4(1.0f) - pixel.w;
1959 blendFactor.z = Float4(1.0f) - pixel.w;
1962 blendFactor.x = Float4(1.0f) - pixel.w;
1963 blendFactor.x = Min(blendFactor.x, oC.w);
1964 blendFactor.y = blendFactor.x;
1965 blendFactor.z = blendFactor.x;
1968 blendFactor.x = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[0]));
1969 blendFactor.y = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[1]));
1970 blendFactor.z = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[2]));
1973 blendFactor.x = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[0]));
1974 blendFactor.y = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[1]));
1975 blendFactor.z = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[2]));
1982 void PixelRoutine::blendFactorAlpha(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, BlendFactor blendFactorAlphaActive)
1993 blendFactor.w = oC.w;
1996 blendFactor.w = Float4(1.0f) - oC.w;
1999 blendFactor.w = pixel.w;
2002 blendFactor.w = Float4(1.0f) - pixel.w;
2005 blendFactor.w = oC.w;
2008 blendFactor.w = Float4(1.0f) - oC.w;
2011 blendFactor.w = pixel.w;
2014 blendFactor.w = Float4(1.0f) - pixel.w;
2017 blendFactor.w = Float4(1.0f);
2020 blendFactor.w = *Pointer<Float4>(data + OFFSET(DrawData,factor.blendConstant4F[3]));
2023 blendFactor.w = *Pointer<Float4>(data + OFFSET(DrawData,factor.invBlendConstant4F[3]));
2115 blendFactor(sourceFactor, oC, pixel, state.sourceBlendFactor);
2116 blendFactor(destFactor, oC, pixel, state.destBlendFactor);