Lines Matching refs:hw_blend_state
663 struct pipe_blend_state hw_blend_state; member
3776 if (sub_ctx->hw_blend_state.independent_blend_enable && in vrend_clear()
3860 if (sub_ctx->hw_blend_state.independent_blend_enable && in vrend_clear()
3864 struct pipe_blend_state *blend = &sub_ctx->hw_blend_state; in vrend_clear()
3871 glColorMask(sub_ctx->hw_blend_state.rt[0].colormask & PIPE_MASK_R ? GL_TRUE : GL_FALSE, in vrend_clear()
3872 sub_ctx->hw_blend_state.rt[0].colormask & PIPE_MASK_G ? GL_TRUE : GL_FALSE, in vrend_clear()
3873 sub_ctx->hw_blend_state.rt[0].colormask & PIPE_MASK_B ? GL_TRUE : GL_FALSE, in vrend_clear()
3874 sub_ctx->hw_blend_state.rt[0].colormask & PIPE_MASK_A ? GL_TRUE : GL_FALSE); in vrend_clear()
5053 if (state->logicop_enable != sub_ctx->hw_blend_state.logicop_enable) { in vrend_hw_emit_blend()
5054 sub_ctx->hw_blend_state.logicop_enable = state->logicop_enable; in vrend_hw_emit_blend()
5093 if (state->rt[i].colormask != sub_ctx->hw_blend_state.rt[i].colormask) { in vrend_hw_emit_blend()
5094 sub_ctx->hw_blend_state.rt[i].colormask = state->rt[i].colormask; in vrend_hw_emit_blend()
5118 if (state->rt[0].colormask != sub_ctx->hw_blend_state.rt[0].colormask || in vrend_hw_emit_blend()
5119 (sub_ctx->hw_blend_state.independent_blend_enable && in vrend_hw_emit_blend()
5123 sub_ctx->hw_blend_state.rt[i].colormask = state->rt[i].colormask; in vrend_hw_emit_blend()
5130 sub_ctx->hw_blend_state.independent_blend_enable = state->independent_blend_enable; in vrend_hw_emit_blend()