mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-22 05:01:06 -05:00
ConstantManager: Add logic ops to PixelShaderConstants
This commit is contained in:
@@ -510,6 +510,16 @@ void PixelShaderManager::SetBlendModeChanged()
|
||||
constants.blend_subtract_alpha = state.subtractAlpha;
|
||||
dirty = true;
|
||||
}
|
||||
if (constants.logic_op_enable != state.logicopenable)
|
||||
{
|
||||
constants.logic_op_enable = state.logicopenable;
|
||||
dirty = true;
|
||||
}
|
||||
if (constants.logic_op_mode != state.logicmode)
|
||||
{
|
||||
constants.logic_op_mode = state.logicmode;
|
||||
dirty = true;
|
||||
}
|
||||
s_bDestAlphaDirty = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user