mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02: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