ConstantManager: Add logic ops to PixelShaderConstants

This commit is contained in:
OatmealDome 2021-08-02 23:39:34 -04:00
parent 8e72136eeb
commit 04ec02c06b
3 changed files with 16 additions and 0 deletions

View file

@ -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;
}