Searched refs:kBlendCoeffShift (Results 1 – 2 of 2) sorted by relevance
106 static const uint32_t kBlendCoeffShift = 5; in getBlendInfoKey() local107 GR_STATIC_ASSERT(kLast_GrBlendCoeff < (1 << kBlendCoeffShift)); in getBlendInfoKey()112 key |= (blendInfo.fDstBlend << (kBlendWriteShift + kBlendCoeffShift)); in getBlendInfoKey()113 key |= (blendInfo.fEquation << (kBlendWriteShift + 2 * kBlendCoeffShift)); in getBlendInfoKey()
155 static const uint32_t kBlendCoeffShift = 5; in get_blend_info_key() local156 static_assert(kLast_GrBlendCoeff < (1 << kBlendCoeffShift)); in get_blend_info_key()161 key |= (blendInfo.fDstBlend << (kBlendWriteShift + kBlendCoeffShift)); in get_blend_info_key()162 key |= (blendInfo.fEquation << (kBlendWriteShift + 2 * kBlendCoeffShift)); in get_blend_info_key()