mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 14:28:34 +00:00
ConstantManager: Add logic ops to PixelShaderConstants
This commit is contained in:
parent
8e72136eeb
commit
04ec02c06b
3 changed files with 16 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue