Lines Matching full:as
10 // distributed under the License is distributed on an "AS IS" BASIS,
419 …value = CmpGT(As<SByte8>(value), *Pointer<SByte8>(data + OFFSET(DrawData, stencil[isBack].referenc… in stencilTest()
432 …value = CmpGT(As<SByte8>(value), *Pointer<SByte8>(data + OFFSET(DrawData, stencil[isBack].referenc… in stencilTest()
438 equal = CmpGT(As<SByte8>(equal), As<SByte8>(value)); in stencilTest()
443 …value = CmpGT(As<SByte8>(value), *Pointer<SByte8>(data + OFFSET(DrawData, stencil[isBack].referenc… in stencilTest()
478 zValue16 = As<UShort4>(Insert(As<Int2>(zValue16), *Pointer<Int>(buffer), 0)); in readDepth16()
479 zValue16 = As<UShort4>(Insert(As<Int2>(zValue16), *Pointer<Int>(buffer + pitch), 1)); in readDepth16()
593 Float4 zValue = Float4(As<UShort4>(z)) * (1.0f / 0xFFFF); in depthBoundsTest16()
679 …Z = As<Float4>(As<Int4>(Z) & *Pointer<Int4>(constants + OFFSET(Constants, maskD4X) + zMask * 16, 1… in writeDepth32F()
680 …zValue = As<Float4>(As<Int4>(zValue) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskD4X) + … in writeDepth32F()
681 Z = As<Float4>(As<Int4>(Z) | As<Int4>(zValue)); in writeDepth32F()
703 zValue = As<Short4>(Insert(As<Int2>(zValue), *Pointer<Int>(buffer), 0)); in writeDepth16()
704 zValue = As<Short4>(Insert(As<Int2>(zValue), *Pointer<Int>(buffer + pitch), 1)); in writeDepth16()
711 *Pointer<Int>(buffer) = Extract(As<Int2>(Z), 0); in writeDepth16()
712 *Pointer<Int>(buffer + pitch) = Extract(As<Int2>(Z), 1); in writeDepth16()
814 *Pointer<Short>(buffer) = Extract(As<Short4>(newValue), 0); in writeStencil()
815 *Pointer<Short>(buffer + pitch) = Extract(As<Short4>(newValue), 1); in writeStencil()
858 …UInt4 sRef = As<UInt4>(routine.getVariable(it->second.Id)[it->second.FirstComponent]) & UInt4(0xff… in stencilReplaceRef()
867 return As<Byte8>(sRefDuplicated); in stencilReplaceRef()
924 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
932 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 4); in readPixel()
933 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 8); in readPixel()
934 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 4); in readPixel()
935 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 8); in readPixel()
936 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 4); in readPixel()
937 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 8); in readPixel()
938 pixel.w |= As<Short4>(As<UShort4>(pixel.w) >> 4); in readPixel()
939 pixel.w |= As<Short4>(As<UShort4>(pixel.w) >> 8); in readPixel()
944 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
952 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 4); in readPixel()
953 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 8); in readPixel()
954 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 4); in readPixel()
955 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 8); in readPixel()
956 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 4); in readPixel()
957 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 8); in readPixel()
958 pixel.w |= As<Short4>(As<UShort4>(pixel.w) >> 4); in readPixel()
959 pixel.w |= As<Short4>(As<UShort4>(pixel.w) >> 8); in readPixel()
964 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
972 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 4); in readPixel()
973 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 8); in readPixel()
974 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 4); in readPixel()
975 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 8); in readPixel()
976 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 4); in readPixel()
977 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 8); in readPixel()
978 pixel.w |= As<Short4>(As<UShort4>(pixel.w) >> 4); in readPixel()
979 pixel.w |= As<Short4>(As<UShort4>(pixel.w) >> 8); in readPixel()
984 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
992 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 4); in readPixel()
993 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 8); in readPixel()
994 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 4); in readPixel()
995 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 8); in readPixel()
996 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 4); in readPixel()
997 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 8); in readPixel()
998 pixel.w |= As<Short4>(As<UShort4>(pixel.w) >> 4); in readPixel()
999 pixel.w |= As<Short4>(As<UShort4>(pixel.w) >> 8); in readPixel()
1004 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
1012 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 5); in readPixel()
1013 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 10); in readPixel()
1014 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 5); in readPixel()
1015 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 10); in readPixel()
1016 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 5); in readPixel()
1017 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 10); in readPixel()
1022 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
1030 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 5); in readPixel()
1031 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 10); in readPixel()
1032 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 5); in readPixel()
1033 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 10); in readPixel()
1034 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 5); in readPixel()
1035 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 10); in readPixel()
1040 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
1048 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 5); in readPixel()
1049 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 10); in readPixel()
1050 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 5); in readPixel()
1051 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 10); in readPixel()
1052 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 5); in readPixel()
1053 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 10); in readPixel()
1058 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
1066 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 5); in readPixel()
1067 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 10); in readPixel()
1068 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 6); in readPixel()
1069 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 12); in readPixel()
1070 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 5); in readPixel()
1071 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 10); in readPixel()
1076 c01 = As<Short4>(Int2(*Pointer<Int>(buffer), *Pointer<Int>(buffer2))); in readPixel()
1084 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 5); in readPixel()
1085 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 10); in readPixel()
1086 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 6); in readPixel()
1087 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 12); in readPixel()
1088 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 5); in readPixel()
1089 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 10); in readPixel()
1099 pixel.z = UnpackLow(As<Byte8>(pixel.z), As<Byte8>(c23)); in readPixel()
1100 pixel.y = UnpackHigh(As<Byte8>(pixel.y), As<Byte8>(c23)); in readPixel()
1102 pixel.z = UnpackLow(As<Byte8>(pixel.z), As<Byte8>(pixel.y)); in readPixel()
1103 pixel.x = UnpackHigh(As<Byte8>(pixel.x), As<Byte8>(pixel.y)); in readPixel()
1106 pixel.x = UnpackLow(As<Byte8>(pixel.x), As<Byte8>(pixel.x)); in readPixel()
1107 pixel.y = UnpackHigh(As<Byte8>(pixel.y), As<Byte8>(pixel.y)); in readPixel()
1108 pixel.z = UnpackLow(As<Byte8>(pixel.z), As<Byte8>(pixel.z)); in readPixel()
1109 pixel.w = UnpackHigh(As<Byte8>(pixel.w), As<Byte8>(pixel.w)); in readPixel()
1119 pixel.z = UnpackLow(As<Byte8>(pixel.z), As<Byte8>(c23)); in readPixel()
1120 pixel.y = UnpackHigh(As<Byte8>(pixel.y), As<Byte8>(c23)); in readPixel()
1122 pixel.z = UnpackLow(As<Byte8>(pixel.z), As<Byte8>(pixel.y)); in readPixel()
1123 pixel.x = UnpackHigh(As<Byte8>(pixel.x), As<Byte8>(pixel.y)); in readPixel()
1126 pixel.x = UnpackLow(As<Byte8>(pixel.z), As<Byte8>(pixel.z)); in readPixel()
1127 pixel.y = UnpackHigh(As<Byte8>(pixel.y), As<Byte8>(pixel.y)); in readPixel()
1128 pixel.z = UnpackLow(As<Byte8>(pixel.w), As<Byte8>(pixel.w)); in readPixel()
1129 pixel.w = UnpackHigh(As<Byte8>(pixel.w), As<Byte8>(pixel.w)); in readPixel()
1136 pixel.x = UnpackLow(As<Byte8>(pixel.x), As<Byte8>(pixel.x)); in readPixel()
1143 c01 = As<Short4>(Insert(As<Int2>(c01), *Pointer<Int>(buffer), 0)); in readPixel()
1145 c01 = As<Short4>(Insert(As<Int2>(c01), *Pointer<Int>(buffer), 1)); in readPixel()
1147 pixel.y = (c01 & Short4(0xFF00u)) | As<Short4>(As<UShort4>(c01) >> 8); in readPixel()
1167 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 10); in readPixel()
1168 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 10); in readPixel()
1169 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 10); in readPixel()
1170 pixel.w |= As<Short4>(As<UShort4>(pixel.w) >> 2); in readPixel()
1171 pixel.w |= As<Short4>(As<UShort4>(pixel.w) >> 4); in readPixel()
1172 pixel.w |= As<Short4>(As<UShort4>(pixel.w) >> 8); in readPixel()
1190 pixel.x |= As<Short4>(As<UShort4>(pixel.x) >> 10); in readPixel()
1191 pixel.y |= As<Short4>(As<UShort4>(pixel.y) >> 10); in readPixel()
1192 pixel.z |= As<Short4>(As<UShort4>(pixel.z) >> 10); in readPixel()
1193 pixel.w |= As<Short4>(As<UShort4>(pixel.w) >> 2); in readPixel()
1194 pixel.w |= As<Short4>(As<UShort4>(pixel.w) >> 4); in readPixel()
1195 pixel.w |= As<Short4>(As<UShort4>(pixel.w) >> 8); in readPixel()
1398 return As<SIMD::Float>( in blendOpOverlay()
1399 (~largeDst & As<SIMD::Int>(2.0f * src * dst)) | in blendOpOverlay()
1400 (largeDst & As<SIMD::Int>(1.0f - (2.0f * (1.0f - src) * (1.0f - dst))))); in blendOpOverlay()
1407 return As<SIMD::Float>(positiveDst & ((~srcBelowOne & As<SIMD::Int>(SIMD::Float(1.0f))) | in blendOpColorDodge()
1408 … (srcBelowOne & As<SIMD::Int>(Min(1.0f, (dst / (1.0f - src))))))); in blendOpColorDodge()
1415 return As<SIMD::Float>( in blendOpColorBurn()
1416 (~dstBelowOne & As<SIMD::Int>(SIMD::Float(1.0f))) | in blendOpColorBurn()
1417 (dstBelowOne & positiveSrc & As<SIMD::Int>(1.0f - Min(1.0f, (1.0f - dst) / src)))); in blendOpColorBurn()
1423 return As<SIMD::Float>( in blendOpHardlight()
1424 (~largeSrc & As<SIMD::Int>(2.0f * src * dst)) | in blendOpHardlight()
1425 (largeSrc & As<SIMD::Int>(1.0f - (2.0f * (1.0f - src) * (1.0f - dst))))); in blendOpHardlight()
1433 return As<SIMD::Float>( in blendOpSoftlight()
1434 (~largeSrc & As<SIMD::Int>(dst - ((1.0f - (2.0f * src)) * dst * (1.0f - dst)))) | in blendOpSoftlight()
1435 …(largeSrc & ((~largeDst & As<SIMD::Int>(dst + (((2.0f * src) - 1.0f) * dst * ((((16.0f * dst) - 12… in blendOpSoftlight()
1436 … (largeDst & As<SIMD::Int>(dst + (((2.0f * src) - 1.0f) * (Sqrt<Mediump>(dst) - dst))))))); in blendOpSoftlight()
1456 color.x = As<SIMD::Float>(isNonZero & As<SIMD::Int>((cbase.x - minbase) * ssat / sbase)); in setLumSat()
1457 color.y = As<SIMD::Float>(isNonZero & As<SIMD::Int>((cbase.y - minbase) * ssat / sbase)); in setLumSat()
1458 color.z = As<SIMD::Float>(isNonZero & As<SIMD::Int>((cbase.z - minbase) * ssat / sbase)); in setLumSat()
1469 return As<SIMD::Float>( in computeLum()
1470 (negative & As<SIMD::Int>(lum + ((color - lum) * lum) / (lum - mincol))) | in computeLum()
1471 … (~negative & ((aboveOne & As<SIMD::Int>(lum + ((color - lum) * (1.0f - lum)) / (maxcol - lum))) | in computeLum()
1472 (~aboveOne & As<SIMD::Int>(color))))); in computeLum()
1501 c.x = As<SIMD::Float>(nonZeroAlpha & As<SIMD::Int>(c.x / c.w)); in premultiply()
1502 c.y = As<SIMD::Float>(nonZeroAlpha & As<SIMD::Int>(c.y / c.w)); in premultiply()
1503 c.z = As<SIMD::Float>(nonZeroAlpha & As<SIMD::Int>(c.z / c.w)); in premultiply()
1639 // min(As, 1 - Ad) in blendFactorCanExceedFormatRange()
1667 // Note: Despite the type being Vector4f, the colors may be stored as in alphaBlend()
1668 // integers. Half-floats are stored as full 32-bit floats. in alphaBlend()
1817 texelColor.x = Float4(As<UShort4>(color.x)) * (1.0f / 0xFFFF); in alphaBlend()
1818 texelColor.y = Float4(As<UShort4>(color.y)) * (1.0f / 0xFFFF); in alphaBlend()
1819 texelColor.z = Float4(As<UShort4>(color.z)) * (1.0f / 0xFFFF); in alphaBlend()
1820 texelColor.w = Float4(As<UShort4>(color.w)) * (1.0f / 0xFFFF); in alphaBlend()
1982 color.w = As<Float4>(RoundInt(color.w * 0xFF)); in writeColor()
1984 color.z = As<Float4>(RoundInt(color.z * 0xFF)); in writeColor()
1988 color.y = As<Float4>(RoundInt(color.y * 0xFF)); in writeColor()
1992 color.x = As<Float4>(RoundInt(color.x * 0xFF)); in writeColor()
1999 color.w = As<Float4>(RoundInt(color.w * 0xF)); in writeColor()
2001 color.z = As<Float4>(RoundInt(color.z * 0xF)); in writeColor()
2003 color.y = As<Float4>(RoundInt(color.y * 0xF)); in writeColor()
2005 color.x = As<Float4>(RoundInt(color.x * 0xF)); in writeColor()
2010 color.z = As<Float4>(RoundInt(color.z * 0x1F)); in writeColor()
2012 color.y = As<Float4>(RoundInt(color.y * 0x3F)); in writeColor()
2014 color.x = As<Float4>(RoundInt(color.x * 0x1F)); in writeColor()
2020 color.w = As<Float4>(RoundInt(color.w)); in writeColor()
2022 color.z = As<Float4>(RoundInt(color.z * 0x1F)); in writeColor()
2024 color.y = As<Float4>(RoundInt(color.y * 0x1F)); in writeColor()
2026 color.x = As<Float4>(RoundInt(color.x * 0x1F)); in writeColor()
2031 color.w = As<Float4>(RoundInt(color.w * 0x3)); in writeColor()
2033 color.z = As<Float4>(RoundInt(color.z * 0x3FF)); in writeColor()
2035 color.y = As<Float4>(RoundInt(color.y * 0x3FF)); in writeColor()
2037 color.x = As<Float4>(RoundInt(color.x * 0x3FF)); in writeColor()
2041 color.w = As<Float4>(RoundInt(color.w * 0xFFFF)); in writeColor()
2043 color.z = As<Float4>(RoundInt(color.z * 0xFFFF)); in writeColor()
2047 color.y = As<Float4>(RoundInt(color.y * 0xFFFF)); in writeColor()
2051 color.x = As<Float4>(RoundInt(color.x * 0xFFFF)); in writeColor()
2184 …color.x = As<Float4>(As<Int4>(color.x) & *Pointer<Int4>(constants + OFFSET(Constants, maskD4X) + x… in writeColor()
2185 …value = As<Float4>(As<Int4>(value) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskD4X) + xM… in writeColor()
2186 color.x = As<Float4>(As<Int4>(color.x) | As<Int4>(value)); in writeColor()
2212 …color.x = As<Float4>(As<Int4>(color.x) & *Pointer<Int4>(constants + OFFSET(Constants, maskD4X) + x… in writeColor()
2213 …value = As<Float4>(As<Int4>(value) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskD4X) + xM… in writeColor()
2214 color.x = As<Float4>(As<Int4>(color.x) | As<Int4>(value)); in writeColor()
2233 xyzw = As<UShort4>(Insert(As<Int2>(xyzw), *Pointer<Int>(buffer), 0)); in writeColor()
2237 xyzw = As<UShort4>(Insert(As<Int2>(xyzw), *Pointer<Int>(buffer), 1)); in writeColor()
2238 value = As<Float4>(Int4(xyzw)); in writeColor()
2240 …color.x = As<Float4>(As<Int4>(color.x) & *Pointer<Int4>(constants + OFFSET(Constants, maskD4X) + x… in writeColor()
2241 …value = As<Float4>(As<Int4>(value) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskD4X) + xM… in writeColor()
2242 color.x = As<Float4>(As<Int4>(color.x) | As<Int4>(value)); in writeColor()
2245 *Pointer<UShort>(buffer + 0) = UShort(As<Int>(component)); in writeColor()
2247 *Pointer<UShort>(buffer + 2) = UShort(As<Int>(component)); in writeColor()
2252 *Pointer<UShort>(buffer + 0) = UShort(As<Int>(component)); in writeColor()
2254 *Pointer<UShort>(buffer + 2) = UShort(As<Int>(component)); in writeColor()
2270 Short4 tmpCol = Short4(As<Int4>(color.x)); in writeColor()
2273 tmpCol = As<Short4>(PackSigned(tmpCol, tmpCol)); in writeColor()
2277 tmpCol = As<Short4>(PackUnsigned(tmpCol, tmpCol)); in writeColor()
2279 packedCol = Extract(As<Int2>(tmpCol), 0); in writeColor()
2299 …color.x = As<Float4>(As<Int4>(color.x) & *Pointer<Int4>(constants + OFFSET(Constants, maskD01X[wri… in writeColor()
2300 …masked = As<Float4>(As<Int4>(masked) & *Pointer<Int4>(constants + OFFSET(Constants, maskD01X[~writ… in writeColor()
2301 color.x = As<Float4>(As<Int4>(color.x) | As<Int4>(masked)); in writeColor()
2304 …color.x = As<Float4>(As<Int4>(color.x) & *Pointer<Int4>(constants + OFFSET(Constants, maskQ01X) + … in writeColor()
2305 …value = As<Float4>(As<Int4>(value) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskQ01X) + x… in writeColor()
2306 color.x = As<Float4>(As<Int4>(color.x) | As<Int4>(value)); in writeColor()
2318 …color.y = As<Float4>(As<Int4>(color.y) & *Pointer<Int4>(constants + OFFSET(Constants, maskD01X[wri… in writeColor()
2319 …masked = As<Float4>(As<Int4>(masked) & *Pointer<Int4>(constants + OFFSET(Constants, maskD01X[~writ… in writeColor()
2320 color.y = As<Float4>(As<Int4>(color.y) | As<Int4>(masked)); in writeColor()
2323 …color.y = As<Float4>(As<Int4>(color.y) & *Pointer<Int4>(constants + OFFSET(Constants, maskQ23X) + … in writeColor()
2324 …value = As<Float4>(As<Int4>(value) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskQ23X) + x… in writeColor()
2325 color.y = As<Float4>(As<Int4>(color.y) | As<Int4>(value)); in writeColor()
2335 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(color.x.y))) << 16) | UInt(As<UShort>(Half(col… in writeColor()
2336 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(color.x.w))) << 16) | UInt(As<UShort>(Half(col… in writeColor()
2343 rgbaMask = As<UInt2>(Int2(tmpMask, tmpMask)); in writeColor()
2346 *Pointer<UInt2>(buffer) = (packedCol & mergedMask) | (As<UInt2>(value) & ~mergedMask); in writeColor()
2350 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(color.y.y))) << 16) | UInt(As<UShort>(Half(col… in writeColor()
2351 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(color.y.w))) << 16) | UInt(As<UShort>(Half(col… in writeColor()
2358 *Pointer<UInt2>(buffer) = (packedCol & mergedMask) | (As<UInt2>(value) & ~mergedMask); in writeColor()
2369 UShort4 packedCol = UShort4(As<Int4>(color.x)); in writeColor()
2375 rgbaMask = As<UInt2>(Int2(tmpMask, tmpMask)); in writeColor()
2378 *Pointer<UInt2>(buffer) = (As<UInt2>(packedCol) & mergedMask) | (As<UInt2>(value) & ~mergedMask); in writeColor()
2382 packedCol = UShort4(As<Int4>(color.y)); in writeColor()
2389 *Pointer<UInt2>(buffer) = (As<UInt2>(packedCol) & mergedMask) | (As<UInt2>(value) & ~mergedMask); in writeColor()
2407 packedCol = As<Int2>(PackSigned(Short4(As<Int4>(color.x)), Short4(As<Int4>(color.y)))); in writeColor()
2411 packedCol = As<Int2>(PackUnsigned(Short4(As<Int4>(color.x)), Short4(As<Int4>(color.y)))); in writeColor()
2418 UInt2 rgbaMask = As<UInt2>(Int2(tmpMask, tmpMask)); in writeColor()
2422 packedCol = As<Int2>((As<UInt2>(packedCol) & mergedMask) | (As<UInt2>(xyzw) & ~mergedMask)); in writeColor()
2424 *Pointer<UInt>(buffer) = As<UInt>(Extract(packedCol, 1)); in writeColor()
2426 *Pointer<UInt>(buffer) = As<UInt>(Extract(packedCol, 0)); in writeColor()
2440 …color.x = As<Float4>(As<Int4>(color.x) & *Pointer<Int4>(constants + OFFSET(Constants, maskD4X[writ… in writeColor()
2441 …masked = As<Float4>(As<Int4>(masked) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskD4X[wri… in writeColor()
2442 color.x = As<Float4>(As<Int4>(color.x) | As<Int4>(masked)); in writeColor()
2445 …color.x = As<Float4>(As<Int4>(color.x) & *Pointer<Int4>(constants + OFFSET(Constants, maskX0X) + x… in writeColor()
2446 …value = As<Float4>(As<Int4>(value) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskX0X) + xM… in writeColor()
2447 color.x = As<Float4>(As<Int4>(color.x) | As<Int4>(value)); in writeColor()
2457 …color.y = As<Float4>(As<Int4>(color.y) & *Pointer<Int4>(constants + OFFSET(Constants, maskD4X[writ… in writeColor()
2458 …masked = As<Float4>(As<Int4>(masked) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskD4X[wri… in writeColor()
2459 color.y = As<Float4>(As<Int4>(color.y) | As<Int4>(masked)); in writeColor()
2462 …color.y = As<Float4>(As<Int4>(color.y) & *Pointer<Int4>(constants + OFFSET(Constants, maskX1X) + x… in writeColor()
2463 …value = As<Float4>(As<Int4>(value) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskX1X) + xM… in writeColor()
2464 color.y = As<Float4>(As<Int4>(color.y) | As<Int4>(value)); in writeColor()
2476 …color.z = As<Float4>(As<Int4>(color.z) & *Pointer<Int4>(constants + OFFSET(Constants, maskD4X[writ… in writeColor()
2477 …masked = As<Float4>(As<Int4>(masked) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskD4X[wri… in writeColor()
2478 color.z = As<Float4>(As<Int4>(color.z) | As<Int4>(masked)); in writeColor()
2481 …color.z = As<Float4>(As<Int4>(color.z) & *Pointer<Int4>(constants + OFFSET(Constants, maskX2X) + x… in writeColor()
2482 …value = As<Float4>(As<Int4>(value) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskX2X) + xM… in writeColor()
2483 color.z = As<Float4>(As<Int4>(color.z) | As<Int4>(value)); in writeColor()
2493 …color.w = As<Float4>(As<Int4>(color.w) & *Pointer<Int4>(constants + OFFSET(Constants, maskD4X[writ… in writeColor()
2494 …masked = As<Float4>(As<Int4>(masked) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskD4X[wri… in writeColor()
2495 color.w = As<Float4>(As<Int4>(color.w) | As<Int4>(masked)); in writeColor()
2498 …color.w = As<Float4>(As<Int4>(color.w) & *Pointer<Int4>(constants + OFFSET(Constants, maskX3X) + x… in writeColor()
2499 …value = As<Float4>(As<Int4>(value) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskX3X) + xM… in writeColor()
2500 color.w = As<Float4>(As<Int4>(color.w) | As<Int4>(value)); in writeColor()
2512 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(color.x.y))) << 16) | UInt(As<UShort>(Half(col… in writeColor()
2513 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(color.x.w))) << 16) | UInt(As<UShort>(Half(col… in writeColor()
2514 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(color.y.y))) << 16) | UInt(As<UShort>(Half(col… in writeColor()
2515 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(color.y.w))) << 16) | UInt(As<UShort>(Half(col… in writeColor()
2523 *Pointer<UInt4>(buffer) = (packedCol & mergedMask) | (As<UInt4>(value) & ~mergedMask); in writeColor()
2528 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(color.z.y))) << 16) | UInt(As<UShort>(Half(col… in writeColor()
2529 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(color.z.w))) << 16) | UInt(As<UShort>(Half(col… in writeColor()
2530 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(color.w.y))) << 16) | UInt(As<UShort>(Half(col… in writeColor()
2531 …packedCol = Insert(packedCol, (UInt(As<UShort>(Half(color.w.w))) << 16) | UInt(As<UShort>(Half(col… in writeColor()
2537 *Pointer<UInt4>(buffer) = (packedCol & mergedMask) | (As<UInt4>(value) & ~mergedMask); in writeColor()
2581 UShort8 packedCol = UShort8(UShort4(As<Int4>(color.x)), UShort4(As<Int4>(color.y))); in writeColor()
2589 *Pointer<UInt4>(buffer) = (As<UInt4>(packedCol) & mergedMask) | (As<UInt4>(value) & ~mergedMask); in writeColor()
2594 packedCol = UShort8(UShort4(As<Int4>(color.z)), UShort4(As<Int4>(color.w))); in writeColor()
2600 *Pointer<UInt4>(buffer) = (As<UInt4>(packedCol) & mergedMask) | (As<UInt4>(value) & ~mergedMask); in writeColor()
2623 packedCol = As<UInt2>(PackSigned(Short4(As<Int4>(color.x)), Short4(As<Int4>(color.y)))); in writeColor()
2627 packedCol = As<UInt2>(PackUnsigned(Short4(As<Int4>(color.x)), Short4(As<Int4>(color.y)))); in writeColor()
2641 packedCol = As<UInt2>(PackSigned(Short4(As<Int4>(color.z)), Short4(As<Int4>(color.w)))); in writeColor()
2645 packedCol = As<UInt2>(PackUnsigned(Short4(As<Int4>(color.z)), Short4(As<Int4>(color.w)))); in writeColor()
2661 Int4 packed = ((As<Int4>(color.w) & Int4(0x3)) << 30) | in writeColor()
2662 ((As<Int4>(color.z) & Int4(0x3ff)) << 20) | in writeColor()
2663 ((As<Int4>(color.y) & Int4(0x3ff)) << 10) | in writeColor()
2664 ((As<Int4>(color.x) & Int4(0x3ff))); in writeColor()
2673 *Pointer<Int2>(buffer) = (As<Int2>(packed) & mergedMask) | (value & ~mergedMask); in writeColor()
2683 *Pointer<Int2>(buffer) = (As<Int2>(Int4(packed.zwww)) & mergedMask) | (value & ~mergedMask); in writeColor()
2691 Int4 packed = ((As<Int4>(color.w) & Int4(0x3)) << 30) | in writeColor()
2692 ((As<Int4>(color.x) & Int4(0x3ff)) << 20) | in writeColor()
2693 ((As<Int4>(color.y) & Int4(0x3ff)) << 10) | in writeColor()
2694 ((As<Int4>(color.z) & Int4(0x3ff))); in writeColor()
2703 *Pointer<Int2>(buffer) = (As<Int2>(packed) & mergedMask) | (value & ~mergedMask); in writeColor()
2713 *Pointer<Int2>(buffer) = (As<Int2>(Int4(packed.zwww)) & mergedMask) | (value & ~mergedMask); in writeColor()
2730 current = (UShort4(As<Int4>(color.x)) & UShort4(0xF)) << 12 | in writeColor()
2731 (UShort4(As<Int4>(color.y)) & UShort4(0xF)) << 8 | in writeColor()
2732 (UShort4(As<Int4>(color.z)) & UShort4(0xF)) << 4 | in writeColor()
2733 (UShort4(As<Int4>(color.w)) & UShort4(0xF)); in writeColor()
2737 current = (UShort4(As<Int4>(color.z)) & UShort4(0xF)) << 12 | in writeColor()
2738 (UShort4(As<Int4>(color.y)) & UShort4(0xF)) << 8 | in writeColor()
2739 (UShort4(As<Int4>(color.x)) & UShort4(0xF)) << 4 | in writeColor()
2740 (UShort4(As<Int4>(color.w)) & UShort4(0xF)); in writeColor()
2744 current = (UShort4(As<Int4>(color.w)) & UShort4(0xF)) << 12 | in writeColor()
2745 (UShort4(As<Int4>(color.x)) & UShort4(0xF)) << 8 | in writeColor()
2746 (UShort4(As<Int4>(color.y)) & UShort4(0xF)) << 4 | in writeColor()
2747 (UShort4(As<Int4>(color.z)) & UShort4(0xF)); in writeColor()
2751 current = (UShort4(As<Int4>(color.w)) & UShort4(0xF)) << 12 | in writeColor()
2752 (UShort4(As<Int4>(color.z)) & UShort4(0xF)) << 8 | in writeColor()
2753 (UShort4(As<Int4>(color.y)) & UShort4(0xF)) << 4 | in writeColor()
2754 (UShort4(As<Int4>(color.x)) & UShort4(0xF)); in writeColor()
2760 Int c01 = Extract(As<Int2>(current), 0); in writeColor()
2771 Int c23 = Extract(As<Int2>(current), 1); in writeColor()
2786 Short4 current = (UShort4(As<Int4>(color.x)) & UShort4(0x1F)) << 11 | in writeColor()
2787 (UShort4(As<Int4>(color.y)) & UShort4(0x1F)) << 6 | in writeColor()
2788 (UShort4(As<Int4>(color.z)) & UShort4(0x1F)) << 1 | in writeColor()
2789 (UShort4(As<Int4>(color.w)) & UShort4(0x1)); in writeColor()
2791 Int c01 = Extract(As<Int2>(current), 0); in writeColor()
2802 Int c23 = Extract(As<Int2>(current), 1); in writeColor()
2817 Short4 current = (UShort4(As<Int4>(color.z)) & UShort4(0x1F)) << 11 | in writeColor()
2818 (UShort4(As<Int4>(color.y)) & UShort4(0x1F)) << 6 | in writeColor()
2819 (UShort4(As<Int4>(color.x)) & UShort4(0x1F)) << 1 | in writeColor()
2820 (UShort4(As<Int4>(color.w)) & UShort4(0x1)); in writeColor()
2822 Int c01 = Extract(As<Int2>(current), 0); in writeColor()
2833 Int c23 = Extract(As<Int2>(current), 1); in writeColor()
2848 Short4 current = (UShort4(As<Int4>(color.w)) & UShort4(0x1)) << 15 | in writeColor()
2849 (UShort4(As<Int4>(color.x)) & UShort4(0x1F)) << 10 | in writeColor()
2850 (UShort4(As<Int4>(color.y)) & UShort4(0x1F)) << 5 | in writeColor()
2851 (UShort4(As<Int4>(color.z)) & UShort4(0x1F)); in writeColor()
2853 Int c01 = Extract(As<Int2>(current), 0); in writeColor()
2864 Int c23 = Extract(As<Int2>(current), 1); in writeColor()
2879 Short4 current = (UShort4(As<Int4>(color.z)) & UShort4(0x1F)) | in writeColor()
2880 (UShort4(As<Int4>(color.y)) & UShort4(0x3F)) << 5 | in writeColor()
2881 (UShort4(As<Int4>(color.x)) & UShort4(0x1F)) << 11; in writeColor()
2883 Int c01 = Extract(As<Int2>(current), 0); in writeColor()
2894 Int c23 = Extract(As<Int2>(current), 1); in writeColor()
2909 Short4 current = (UShort4(As<Int4>(color.x)) & UShort4(0x1F)) | in writeColor()
2910 (UShort4(As<Int4>(color.y)) & UShort4(0x3F)) << 5 | in writeColor()
2911 (UShort4(As<Int4>(color.z)) & UShort4(0x1F)) << 11; in writeColor()
2913 Int c01 = Extract(As<Int2>(current), 0); in writeColor()
2924 Int c23 = Extract(As<Int2>(current), 1); in writeColor()