1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 14:52:11 +01:00

[dxvk] Remove unused alphaToOne state

Nothing supports this anyway, so no reason to carry it around.
This commit is contained in:
Philip Rebohle 2019-03-31 22:00:56 +02:00
parent 1c434d86cb
commit 18d2905bf7
4 changed files with 0 additions and 4 deletions

View File

@ -20,7 +20,6 @@ namespace dxvk {
// Multisample state is part of the blend state in D3D11
m_msState.sampleMask = 0; // Set during bind
m_msState.enableAlphaToCoverage = desc.AlphaToCoverageEnable;
m_msState.enableAlphaToOne = VK_FALSE;
// Vulkan only supports a global logic op for the blend
// state, which might be problematic in some cases.

View File

@ -596,7 +596,6 @@ namespace dxvk {
m_msState.sampleMask = 0xffffffff;
m_msState.enableAlphaToCoverage = VK_FALSE;
m_msState.enableAlphaToOne = VK_FALSE;
VkStencilOpState stencilOp;
stencilOp.failOp = VK_STENCIL_OP_KEEP;

View File

@ -92,7 +92,6 @@ namespace dxvk {
struct DxvkMultisampleState {
uint32_t sampleMask;
VkBool32 enableAlphaToCoverage;
VkBool32 enableAlphaToOne;
};

View File

@ -1990,7 +1990,6 @@ namespace dxvk {
void DxvkContext::setMultisampleState(const DxvkMultisampleState& ms) {
m_state.gp.state.msSampleMask = ms.sampleMask;
m_state.gp.state.msEnableAlphaToCoverage = ms.enableAlphaToCoverage;
m_state.gp.state.msEnableAlphaToOne = ms.enableAlphaToOne;
m_flags.set(DxvkContextFlag::GpDirtyPipelineState);
}