Searched refs:blendState (Results 1 – 1 of 1) sorted by relevance
2899 const auto& blendState = blend.colorAttachments[i]; in UpdateBlendState() local2901 if (blendState.colorWriteMask != cBlendState.colorWriteMask) { in UpdateBlendState()2902 cBlendState.colorWriteMask = blendState.colorWriteMask; in UpdateBlendState()2913 if (blendState.enableBlend) { in UpdateBlendState()2914 factorsChanged = !CompareBlendFactors(cBlendState, blendState); in UpdateBlendState()2915 opsChanged = !CompareBlendOps(cBlendState, blendState); in UpdateBlendState()2918 if (blendState.enableBlend != cBlendState.enableBlend || factorsChanged || opsChanged) { in UpdateBlendState()2919 cBlendState.enableBlend = blendState.enableBlend; in UpdateBlendState()2920 if (blendState.enableBlend) { in UpdateBlendState()2923 SetBlendFactors(cBlendState, blendState); in UpdateBlendState()[all …]