Lines Matching refs:blendFactor
863 void PixelRoutine::blendFactor(Vector4s &blendFactor, const Vector4s ¤t, const Vector4s &pixe… in blendFactor() argument
874 blendFactor.x = current.x; in blendFactor()
875 blendFactor.y = current.y; in blendFactor()
876 blendFactor.z = current.z; in blendFactor()
879 blendFactor.x = Short4(0xFFFFu) - current.x; in blendFactor()
880 blendFactor.y = Short4(0xFFFFu) - current.y; in blendFactor()
881 blendFactor.z = Short4(0xFFFFu) - current.z; in blendFactor()
884 blendFactor.x = pixel.x; in blendFactor()
885 blendFactor.y = pixel.y; in blendFactor()
886 blendFactor.z = pixel.z; in blendFactor()
889 blendFactor.x = Short4(0xFFFFu) - pixel.x; in blendFactor()
890 blendFactor.y = Short4(0xFFFFu) - pixel.y; in blendFactor()
891 blendFactor.z = Short4(0xFFFFu) - pixel.z; in blendFactor()
894 blendFactor.x = current.w; in blendFactor()
895 blendFactor.y = current.w; in blendFactor()
896 blendFactor.z = current.w; in blendFactor()
899 blendFactor.x = Short4(0xFFFFu) - current.w; in blendFactor()
900 blendFactor.y = Short4(0xFFFFu) - current.w; in blendFactor()
901 blendFactor.z = Short4(0xFFFFu) - current.w; in blendFactor()
904 blendFactor.x = pixel.w; in blendFactor()
905 blendFactor.y = pixel.w; in blendFactor()
906 blendFactor.z = pixel.w; in blendFactor()
909 blendFactor.x = Short4(0xFFFFu) - pixel.w; in blendFactor()
910 blendFactor.y = Short4(0xFFFFu) - pixel.w; in blendFactor()
911 blendFactor.z = Short4(0xFFFFu) - pixel.w; in blendFactor()
914 blendFactor.x = Short4(0xFFFFu) - pixel.w; in blendFactor()
915 blendFactor.x = Min(As<UShort4>(blendFactor.x), As<UShort4>(current.w)); in blendFactor()
916 blendFactor.y = blendFactor.x; in blendFactor()
917 blendFactor.z = blendFactor.x; in blendFactor()
920 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData, factor.blendConstant4W[0])); in blendFactor()
921 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData, factor.blendConstant4W[1])); in blendFactor()
922 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData, factor.blendConstant4W[2])); in blendFactor()
925 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData, factor.invBlendConstant4W[0])); in blendFactor()
926 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData, factor.invBlendConstant4W[1])); in blendFactor()
927 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData, factor.invBlendConstant4W[2])); in blendFactor()
930 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData, factor.blendConstant4W[3])); in blendFactor()
931 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData, factor.blendConstant4W[3])); in blendFactor()
932 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData, factor.blendConstant4W[3])); in blendFactor()
935 blendFactor.x = *Pointer<Short4>(data + OFFSET(DrawData, factor.invBlendConstant4W[3])); in blendFactor()
936 blendFactor.y = *Pointer<Short4>(data + OFFSET(DrawData, factor.invBlendConstant4W[3])); in blendFactor()
937 blendFactor.z = *Pointer<Short4>(data + OFFSET(DrawData, factor.invBlendConstant4W[3])); in blendFactor()
944 void PixelRoutine::blendFactorAlpha(Vector4s &blendFactor, const Vector4s ¤t, const Vector4s … in blendFactorAlpha() argument
955 blendFactor.w = current.w; in blendFactorAlpha()
958 blendFactor.w = Short4(0xFFFFu) - current.w; in blendFactorAlpha()
961 blendFactor.w = pixel.w; in blendFactorAlpha()
964 blendFactor.w = Short4(0xFFFFu) - pixel.w; in blendFactorAlpha()
967 blendFactor.w = current.w; in blendFactorAlpha()
970 blendFactor.w = Short4(0xFFFFu) - current.w; in blendFactorAlpha()
973 blendFactor.w = pixel.w; in blendFactorAlpha()
976 blendFactor.w = Short4(0xFFFFu) - pixel.w; in blendFactorAlpha()
979 blendFactor.w = Short4(0xFFFFu); in blendFactorAlpha()
983 blendFactor.w = *Pointer<Short4>(data + OFFSET(DrawData, factor.blendConstant4W[3])); in blendFactorAlpha()
987 blendFactor.w = *Pointer<Short4>(data + OFFSET(DrawData, factor.invBlendConstant4W[3])); in blendFactorAlpha()
1180 blendFactor(sourceFactor, current, pixel, state.blendState[index].sourceBlendFactor); in alphaBlend()
1181 blendFactor(destFactor, current, pixel, state.blendState[index].destBlendFactor); in alphaBlend()
1790 void PixelRoutine::blendFactor(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, Vk… in blendFactor() argument
1795 blendFactor.x = Float4(0); in blendFactor()
1796 blendFactor.y = Float4(0); in blendFactor()
1797 blendFactor.z = Float4(0); in blendFactor()
1800 blendFactor.x = Float4(1); in blendFactor()
1801 blendFactor.y = Float4(1); in blendFactor()
1802 blendFactor.z = Float4(1); in blendFactor()
1805 blendFactor.x = oC.x; in blendFactor()
1806 blendFactor.y = oC.y; in blendFactor()
1807 blendFactor.z = oC.z; in blendFactor()
1810 blendFactor.x = Float4(1.0f) - oC.x; in blendFactor()
1811 blendFactor.y = Float4(1.0f) - oC.y; in blendFactor()
1812 blendFactor.z = Float4(1.0f) - oC.z; in blendFactor()
1815 blendFactor.x = pixel.x; in blendFactor()
1816 blendFactor.y = pixel.y; in blendFactor()
1817 blendFactor.z = pixel.z; in blendFactor()
1820 blendFactor.x = Float4(1.0f) - pixel.x; in blendFactor()
1821 blendFactor.y = Float4(1.0f) - pixel.y; in blendFactor()
1822 blendFactor.z = Float4(1.0f) - pixel.z; in blendFactor()
1825 blendFactor.x = oC.w; in blendFactor()
1826 blendFactor.y = oC.w; in blendFactor()
1827 blendFactor.z = oC.w; in blendFactor()
1830 blendFactor.x = Float4(1.0f) - oC.w; in blendFactor()
1831 blendFactor.y = Float4(1.0f) - oC.w; in blendFactor()
1832 blendFactor.z = Float4(1.0f) - oC.w; in blendFactor()
1835 blendFactor.x = pixel.w; in blendFactor()
1836 blendFactor.y = pixel.w; in blendFactor()
1837 blendFactor.z = pixel.w; in blendFactor()
1840 blendFactor.x = Float4(1.0f) - pixel.w; in blendFactor()
1841 blendFactor.y = Float4(1.0f) - pixel.w; in blendFactor()
1842 blendFactor.z = Float4(1.0f) - pixel.w; in blendFactor()
1845 blendFactor.x = Float4(1.0f) - pixel.w; in blendFactor()
1846 blendFactor.x = Min(blendFactor.x, oC.w); in blendFactor()
1847 blendFactor.y = blendFactor.x; in blendFactor()
1848 blendFactor.z = blendFactor.x; in blendFactor()
1851 blendFactor.x = *Pointer<Float4>(data + OFFSET(DrawData, factor.blendConstant4F[0])); in blendFactor()
1852 blendFactor.y = *Pointer<Float4>(data + OFFSET(DrawData, factor.blendConstant4F[1])); in blendFactor()
1853 blendFactor.z = *Pointer<Float4>(data + OFFSET(DrawData, factor.blendConstant4F[2])); in blendFactor()
1856 blendFactor.x = *Pointer<Float4>(data + OFFSET(DrawData, factor.blendConstant4F[3])); in blendFactor()
1857 blendFactor.y = *Pointer<Float4>(data + OFFSET(DrawData, factor.blendConstant4F[3])); in blendFactor()
1858 blendFactor.z = *Pointer<Float4>(data + OFFSET(DrawData, factor.blendConstant4F[3])); in blendFactor()
1861 blendFactor.x = *Pointer<Float4>(data + OFFSET(DrawData, factor.invBlendConstant4F[0])); in blendFactor()
1862 blendFactor.y = *Pointer<Float4>(data + OFFSET(DrawData, factor.invBlendConstant4F[1])); in blendFactor()
1863 blendFactor.z = *Pointer<Float4>(data + OFFSET(DrawData, factor.invBlendConstant4F[2])); in blendFactor()
1866 blendFactor.x = *Pointer<Float4>(data + OFFSET(DrawData, factor.invBlendConstant4F[3])); in blendFactor()
1867 blendFactor.y = *Pointer<Float4>(data + OFFSET(DrawData, factor.invBlendConstant4F[3])); in blendFactor()
1868 blendFactor.z = *Pointer<Float4>(data + OFFSET(DrawData, factor.invBlendConstant4F[3])); in blendFactor()
1876 void PixelRoutine::blendFactorAlpha(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixe… in blendFactorAlpha() argument
1881 blendFactor.w = Float4(0); in blendFactorAlpha()
1884 blendFactor.w = Float4(1); in blendFactorAlpha()
1887 blendFactor.w = oC.w; in blendFactorAlpha()
1890 blendFactor.w = Float4(1.0f) - oC.w; in blendFactorAlpha()
1893 blendFactor.w = pixel.w; in blendFactorAlpha()
1896 blendFactor.w = Float4(1.0f) - pixel.w; in blendFactorAlpha()
1899 blendFactor.w = oC.w; in blendFactorAlpha()
1902 blendFactor.w = Float4(1.0f) - oC.w; in blendFactorAlpha()
1905 blendFactor.w = pixel.w; in blendFactorAlpha()
1908 blendFactor.w = Float4(1.0f) - pixel.w; in blendFactorAlpha()
1911 blendFactor.w = Float4(1.0f); in blendFactorAlpha()
1915 blendFactor.w = *Pointer<Float4>(data + OFFSET(DrawData, factor.blendConstant4F[3])); in blendFactorAlpha()
1919 blendFactor.w = *Pointer<Float4>(data + OFFSET(DrawData, factor.invBlendConstant4F[3])); in blendFactorAlpha()
2058 blendFactor(sourceFactor, oC, pixel, state.blendState[index].sourceBlendFactor); in alphaBlend()
2059 blendFactor(destFactor, oC, pixel, state.blendState[index].destBlendFactor); in alphaBlend()