Lines Matching refs:MASK
73 const u32 MASK = 0xff; in MultAddU32Color() local
76 … u32 r = (((((lhs << 1) & MASKx2) + 1) * (((rhs << 1) & MASKx2) + 1)) >> 10) + (add & MASK); in MultAddU32Color()
77 …32 g = (((((lhs >> 7) & MASKx2) + 1) * (((rhs >> 7) & MASKx2) + 1)) >> 10) + ((add >> 8) & MASK); in MultAddU32Color()
78 …2 b = (((((lhs >> 15) & MASKx2) + 1) * (((rhs >> 15) & MASKx2) + 1)) >> 10) + ((add >> 16) & MASK); in MultAddU32Color()
199 const u32 MASK = 0xff; in ActivateFragmentLight() local
200 u8 r = (specular1U32 & MASK); in ActivateFragmentLight()
201 u8 g = ((specular1U32 >> 8) & MASK); in ActivateFragmentLight()
202 u8 b = ((specular1U32 >> 16) & MASK); in ActivateFragmentLight()
245 const u32 MASK = 0xff; in ActivateFragmentAmbientLight() local
246 u8 r = (emissionU32 & MASK); in ActivateFragmentAmbientLight()
247 u8 g = ((emissionU32 >> 8) & MASK); in ActivateFragmentAmbientLight()
248 u8 b = ((emissionU32 >> 16) & MASK); in ActivateFragmentAmbientLight()