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:
parent
1c434d86cb
commit
18d2905bf7
@ -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.
|
||||
|
@ -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;
|
||||
|
@ -92,7 +92,6 @@ namespace dxvk {
|
||||
struct DxvkMultisampleState {
|
||||
uint32_t sampleMask;
|
||||
VkBool32 enableAlphaToCoverage;
|
||||
VkBool32 enableAlphaToOne;
|
||||
};
|
||||
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user