VideoCommon: Add usedualsrc field to BlendingState

This is because we re-use BlendingState for our internal drawing (e.g.
RasterFont) and for these shaders, we can't assume the presence of a
second color output.
This commit is contained in:
Stenzek
2017-04-17 23:11:58 +10:00
parent 936910163a
commit 34ad5b457d
3 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,7 @@ union BlendingState
BitField<14, 3, BlendMode::BlendFactor> dstfactoralpha;
BitField<17, 3, BlendMode::BlendFactor> srcfactoralpha;
BitField<20, 4, BlendMode::LogicOp> logicmode;
BitField<24, 1, u32> usedualsrc;
u32 hex;
};