Lines Matching refs:blendState
74 SWR_RENDER_TARGET_BLEND_STATE &blendState = in swr_create_blend_state() local
75 state->blendState.renderTarget[target]; in swr_create_blend_state()
108 blendState.writeDisableRed = in swr_create_blend_state()
110 blendState.writeDisableGreen = in swr_create_blend_state()
112 blendState.writeDisableBlue = in swr_create_blend_state()
114 blendState.writeDisableAlpha = in swr_create_blend_state()
1639 SWR_BLEND_STATE blendState; in swr_update_derived() local
1640 memcpy(&blendState, &ctx->blend->blendState, sizeof(blendState)); in swr_update_derived()
1641 blendState.constantColor[0] = ctx->blend_color.color[0]; in swr_update_derived()
1642 blendState.constantColor[1] = ctx->blend_color.color[1]; in swr_update_derived()
1643 blendState.constantColor[2] = ctx->blend_color.color[2]; in swr_update_derived()
1644 blendState.constantColor[3] = ctx->blend_color.color[3]; in swr_update_derived()
1645 blendState.alphaTestReference = in swr_update_derived()
1648 blendState.sampleMask = ctx->sample_mask; in swr_update_derived()
1649 blendState.sampleCount = GetSampleCount(fb->samples); in swr_update_derived()
1654 blendState.renderTarget[0].writeDisableRed = 1; in swr_update_derived()
1655 blendState.renderTarget[0].writeDisableGreen = 1; in swr_update_derived()
1656 blendState.renderTarget[0].writeDisableBlue = 1; in swr_update_derived()
1657 blendState.renderTarget[0].writeDisableAlpha = 1; in swr_update_derived()
1674 memcpy(&compileState.blendState, in swr_update_derived()
1676 sizeof(compileState.blendState)); in swr_update_derived()
1679 if (compileState.blendState.logicOpEnable && in swr_update_derived()
1681 compileState.blendState.logicOpEnable = false; in swr_update_derived()
1685 compileState.blendState.blendEnable = false; in swr_update_derived()
1687 if (compileState.blendState.blendEnable == false && in swr_update_derived()
1688 compileState.blendState.logicOpEnable == false && in swr_update_derived()
1697 (compileState.blendState.sourceBlendFactor != in swr_update_derived()
1698 compileState.blendState.sourceAlphaBlendFactor) || in swr_update_derived()
1699 (compileState.blendState.destBlendFactor != in swr_update_derived()
1700 compileState.blendState.destAlphaBlendFactor) || in swr_update_derived()
1701 (compileState.blendState.colorBlendFunc != in swr_update_derived()
1702 compileState.blendState.alphaBlendFunc); in swr_update_derived()
1705 compileState.desc.sampleMaskEnable = (blendState.sampleMask != 0); in swr_update_derived()
1729 ctx->api.pfnSwrSetBlendState(ctx->swrContext, &blendState); in swr_update_derived()