Home | History | Annotate | Download | only in Shader

Lines Matching refs:oC

1847 	void PixelRoutine::blendFactor(const Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, BlendFactor blendFactorActive)
1858 blendFactor.x = oC.x;
1859 blendFactor.y = oC.y;
1860 blendFactor.z = oC.z;
1863 blendFactor.x = Float4(1.0f) - oC.x;
1864 blendFactor.y = Float4(1.0f) - oC.y;
1865 blendFactor.z = Float4(1.0f) - oC.z;
1878 blendFactor.x = oC.w;
1879 blendFactor.y = oC.w;
1880 blendFactor.z = oC.w;
1883 blendFactor.x = Float4(1.0f) - oC.w;
1884 blendFactor.y = Float4(1.0f) - oC.w;
1885 blendFactor.z = Float4(1.0f) - oC.w;
1899 blendFactor.x = Min(blendFactor.x, oC.w);
1918 void PixelRoutine::blendFactorAlpha(const Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, BlendFactor blendFactorAlphaActive)
1929 blendFactor.w = oC.w;
1932 blendFactor.w = Float4(1.0f) - oC.w;
1941 blendFactor.w = oC.w;
1944 blendFactor.w = Float4(1.0f) - oC.w;
1966 void PixelRoutine::alphaBlend(int index, Pointer<Byte> &cBuffer, Vector4f &oC, Int &x)
2056 blendFactor(sourceFactor, oC, pixel, state.sourceBlendFactor);
2057 blendFactor(destFactor, oC, pixel, state.destBlendFactor);
2061 oC.x *= sourceFactor.x;
2062 oC.y *= sourceFactor.y;
2063 oC.z *= sourceFactor.z;
2076 oC.x += pixel.x;
2077 oC.y += pixel.y;
2078 oC.z += pixel.z;
2081 oC.x -= pixel.x;
2082 oC.y -= pixel.y;
2083 oC.z -= pixel.z;
2086 oC.x = pixel.x - oC.x;
2087 oC.y = pixel.y - oC.y;
2088 oC.z = pixel.z - oC.z;
2091 oC.x = Min(oC.x, pixel.x);
2092 oC.y = Min(oC.y, pixel.y);
2093 oC.z = Min(oC.z, pixel.z);
2096 oC.x = Max(oC.x, pixel.x);
2097 oC.y = Max(oC.y, pixel.y);
2098 oC.z = Max(oC.z, pixel.z);
2104 oC.x = pixel.x;
2105 oC.y = pixel.y;
2106 oC.z = pixel.z;
2109 oC.x = Float4(0.0f);
2110 oC.y = Float4(0.0f);
2111 oC.z = Float4(0.0f);
2117 blendFactorAlpha(sourceFactor, oC, pixel, state.sourceBlendFactorAlpha);
2118 blendFactorAlpha(destFactor, oC, pixel, state.destBlendFactorAlpha);
2122 oC.w *= sourceFactor.w;
2133 oC.w += pixel.w;
2136 oC.w -= pixel.w;
2139 pixel.w -= oC.w;
2140 oC.w = pixel.w;
2143 oC.w = Min(oC.w, pixel.w);
2146 oC.w = Max(oC.w, pixel.w);
2152 oC.w = pixel.w;
2155 oC.w = Float4(0.0f);
2162 void PixelRoutine::writeColor(int index, Pointer<Byte> &cBuffer, Int &x, Vector4f &oC, Int &sMask, Int &zMask, Int &cMask)
2173 oC.z = oC.x;
2174 oC.x = UnpackLow(oC.x, oC.y);
2175 oC.z = UnpackHigh(oC.z, oC.y);
2176 oC.y = oC.z;
2182 transpose4x4(oC.x, oC.y, oC.z, oC.w);
2228 oC.x = As<Float4>(As<Int4>(oC.x) & *Pointer<Int4>(constants + OFFSET(Constants,maskD4X) + xMask * 16, 16));
2230 oC.x = As<Float4>(As<Int4>(oC.x) | As<Int4>(value));
2233 *Pointer<Float>(buffer + 0) = oC.x.z;
2234 *Pointer<Float>(buffer + 4) = oC.x.w;
2239 *Pointer<Float>(buffer + 0) = oC.x.x;
2240 *Pointer<Float>(buffer + 4) = oC.x.y;
2253 oC.x = As<Float4>(As<Int4>(oC.x) & *Pointer<Int4>(constants + OFFSET(Constants,maskD01X[rgbaWriteMask & 0x3][0])));
2255 oC.x = As<Float4>(As<Int4>(oC.x) | As<Int4>(masked));
2258 oC.x = As<Float4>(As<Int4>(oC.x) & *Pointer<Int4>(constants + OFFSET(Constants,maskQ01X) + xMask * 16, 16));
2260 oC.x = As<Float4>(As<Int4>(oC.x) | As<Int4>(value));
2261 *Pointer<Float4>(buffer) = oC.x;
2272 oC.y = As<Float4>(As<Int4>(oC.y) & *Pointer<Int4>(constants + OFFSET(Constants,maskD01X[rgbaWriteMask & 0x3][0])));
2274 oC.y = As<Float4>(As<Int4>(oC.y) | As<Int4>(masked));
2277 oC.y = As<Float4>(As<Int4>(oC.y) & *Pointer<Int4>(constants + OFFSET(Constants,maskQ23X) + xMask * 16, 16));
2279 oC.y = As<Float4>(As<Int4>(oC.y) | As<Int4>(value));
2280 *Pointer<Float4>(buffer) = oC.y;
2294 oC.x = As<Float4>(As<Int4>(oC.x) & *Pointer<Int4>(constants + OFFSET(Constants,maskD4X[rgbaWriteMask][0])));
2296 oC.x = As<Float4>(As<Int4>(oC.x) | As<Int4>(masked));
2299 oC.x = As<Float4>(As<Int4>(oC.x) & *Pointer<Int4>(constants + OFFSET(Constants,maskX0X) + xMask * 16, 16));
2301 oC.x = As<Float4>(As<Int4>(oC.x) | As<Int4>(value));
2302 *Pointer<Float4>(buffer, 16) = oC.x;
2311 oC.y = As<Float4>(As<Int4>(oC.y) & *Pointer<Int4>(constants + OFFSET(Constants,maskD4X[rgbaWriteMask][0])));
2313 oC.y = As<Float4>(As<Int4>(oC.y) | As<Int4>(masked));
2316 oC.y = As<Float4>(As<Int4>(oC.y) & *Pointer<Int4>(constants + OFFSET(Constants,maskX1X) + xMask * 16, 16));
2318 oC.y = As<Float4>(As<Int4>(oC.y) | As<Int4>(value));
2319 *Pointer<Float4>(buffer + 16, 16) = oC.y;
2330 oC.z = As<Float4>(As<Int4>(oC.z) & *Pointer<Int4>(constants + OFFSET(Constants,maskD4X[rgbaWriteMask][0])));
2332 oC.z = As<Float4>(As<Int4>(oC.z) | As<Int4>(masked));
2335 oC.z = As<Float4>(As<Int4>(oC.z) & *Pointer<Int4>(constants + OFFSET(Constants,maskX2X) + xMask * 16, 16));
2337 oC.z = As<Float4>(As<Int4>(oC.z) | As<Int4>(value));
2338 *Pointer<Float4>(buffer, 16) = oC.z;
2347 oC.w = As<Float4>(As<Int4>(oC.w) & *Pointer<Int4>(constants + OFFSET(Constants,maskD4X[rgbaWriteMask][0])));
2349 oC.w = As<Float4>(As<Int4>(oC.w) | As<Int4>(masked));
2352 oC.w = As<Float4>(As<Int4>(oC.w) & *Pointer<Int4>(constants + OFFSET(Constants,maskX3X) + xMask * 16, 16));
2354 oC.w = As<Float4>(As<Int4>(oC.w) | As<Int4>(value));
2355 *Pointer<Float4>(buffer + 16, 16) = oC.w;