mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[d3d11] Set up extra state for the HUD renderer
This commit is contained in:
parent
9fc09c843d
commit
93bd923c17
@ -279,6 +279,7 @@ namespace dxvk {
|
||||
m_context->setMultisampleState(m_msState);
|
||||
m_context->setDepthStencilState(m_dsState);
|
||||
m_context->setLogicOpState(m_loState);
|
||||
m_context->setExtraState(m_xsState);
|
||||
m_context->setBlendMode(0, m_blendMode);
|
||||
|
||||
m_context->setInputAssemblyState(m_iaState);
|
||||
@ -614,6 +615,8 @@ namespace dxvk {
|
||||
m_loState.enableLogicOp = VK_FALSE;
|
||||
m_loState.logicOp = VK_LOGIC_OP_NO_OP;
|
||||
|
||||
m_xsState.alphaCompareOp = VK_COMPARE_OP_ALWAYS;
|
||||
|
||||
m_blendMode.enableBlending = VK_FALSE;
|
||||
m_blendMode.colorSrcFactor = VK_BLEND_FACTOR_ONE;
|
||||
m_blendMode.colorDstFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA;
|
||||
|
@ -109,6 +109,7 @@ namespace dxvk {
|
||||
DxvkMultisampleState m_msState;
|
||||
DxvkDepthStencilState m_dsState;
|
||||
DxvkLogicOpState m_loState;
|
||||
DxvkExtraState m_xsState;
|
||||
DxvkBlendMode m_blendMode;
|
||||
|
||||
D3D11Texture2D* m_backBuffer = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user