Lines Matching refs:MASK
75 const u32 MASK = 0xff; in MultAddU32Color() local
78 … u32 r = (((((lhs << 1) & MASKx2) + 1) * (((rhs << 1) & MASKx2) + 1)) >> 10) + (add & MASK); in MultAddU32Color()
79 …32 g = (((((lhs >> 7) & MASKx2) + 1) * (((rhs >> 7) & MASKx2) + 1)) >> 10) + ((add >> 8) & MASK); in MultAddU32Color()
80 …2 b = (((((lhs >> 15) & MASKx2) + 1) * (((rhs >> 15) & MASKx2) + 1)) >> 10) + ((add >> 16) & MASK); in MultAddU32Color()
201 const u32 MASK = 0xff; in ActivateFragmentLight() local
202 u8 r = (specular1U32 & MASK); in ActivateFragmentLight()
203 u8 g = ((specular1U32 >> 8) & MASK); in ActivateFragmentLight()
204 u8 b = ((specular1U32 >> 16) & MASK); in ActivateFragmentLight()
247 const u32 MASK = 0xff; in ActivateFragmentAmbientLight() local
248 u8 r = (emissionU32 & MASK); in ActivateFragmentAmbientLight()
249 u8 g = ((emissionU32 >> 8) & MASK); in ActivateFragmentAmbientLight()
250 u8 b = ((emissionU32 >> 16) & MASK); in ActivateFragmentAmbientLight()