From bd5254f8d3c1754cea09d7ba6c0911b11684b78d Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sun, 8 Apr 2018 22:25:59 +0200 Subject: [PATCH] [d3d11] Fixed compiler errors Why the hell did my GCC not complain about this earlier? --- src/d3d11/d3d11_blend.cpp | 2 -- src/dxgi/dxgi_presenter.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/d3d11/d3d11_blend.cpp b/src/d3d11/d3d11_blend.cpp index 4801e696..cfab5b8c 100644 --- a/src/d3d11/d3d11_blend.cpp +++ b/src/d3d11/d3d11_blend.cpp @@ -21,8 +21,6 @@ namespace dxvk { m_msState.sampleMask = 0; // Set during bind m_msState.enableAlphaToCoverage = desc.AlphaToCoverageEnable; m_msState.enableAlphaToOne = VK_FALSE; - m_msState.enableSampleShading = VK_FALSE; - m_msState.minSampleShading = 0.0f; // Vulkan only supports a global logic op for the blend // state, which might be problematic in some cases. diff --git a/src/dxgi/dxgi_presenter.cpp b/src/dxgi/dxgi_presenter.cpp index 9b20dc85..f9a8ccc7 100644 --- a/src/dxgi/dxgi_presenter.cpp +++ b/src/dxgi/dxgi_presenter.cpp @@ -72,8 +72,6 @@ namespace dxvk { msState.sampleMask = 0xffffffff; msState.enableAlphaToCoverage = VK_FALSE; msState.enableAlphaToOne = VK_FALSE; - msState.enableSampleShading = VK_FALSE; - msState.minSampleShading = 0.0f; m_context->setMultisampleState(msState); VkStencilOpState stencilOp;