[d3d11] Set up extra state for the HUD renderer

This commit is contained in:
Philip Rebohle 2019-05-01 01:00:11 +02:00
parent 9fc09c843d
commit 93bd923c17
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 4 additions and 0 deletions

View File

@ -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);
@ -613,6 +614,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;

View File

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