Searched refs:lis6 (Results 1 – 2 of 2) sorted by relevance
103 i915_remap_lis6_blend_dst_alpha(uint32_t lis6, uint32_t normal, uint32_t inv) in i915_remap_lis6_blend_dst_alpha() argument105 uint32_t src = (lis6 >> S6_CBUF_SRC_BLEND_FACT_SHIFT) & BLENDFACT_MASK; in i915_remap_lis6_blend_dst_alpha()106 lis6 &= ~SRC_BLND_FACT(BLENDFACT_MASK); in i915_remap_lis6_blend_dst_alpha()111 lis6 |= SRC_BLND_FACT(src); in i915_remap_lis6_blend_dst_alpha()113 uint32_t dst = (lis6 >> S6_CBUF_DST_BLEND_FACT_SHIFT) & BLENDFACT_MASK; in i915_remap_lis6_blend_dst_alpha()114 lis6 &= ~DST_BLND_FACT(BLENDFACT_MASK); in i915_remap_lis6_blend_dst_alpha()119 lis6 |= DST_BLND_FACT(dst); in i915_remap_lis6_blend_dst_alpha()121 return lis6; in i915_remap_lis6_blend_dst_alpha()
294 GLuint lis6 = (i915->state.Ctx[I915_CTXREG_LIS6] & in i915UpdateBlendState() local313 lis6 |= SRC_BLND_FACT(intel_translate_blend_factor(srcRGB)); in i915UpdateBlendState()314 lis6 |= DST_BLND_FACT(intel_translate_blend_factor(dstRGB)); in i915UpdateBlendState()315 lis6 |= translate_blend_equation(eqRGB) << S6_CBUF_BLEND_FUNC_SHIFT; in i915UpdateBlendState()328 if (lis6 != i915->state.Ctx[I915_CTXREG_LIS6]) { in i915UpdateBlendState()329 i915->state.Ctx[I915_CTXREG_LIS6] = lis6; in i915UpdateBlendState()