Skip to content
Permalink
Browse files
Merge pull request #10441 from OatmealDome/improved-logic-op-workaround
BlendingState: Set source and destination alpha factors in logic op workaround
  • Loading branch information
JMC47 committed Feb 28, 2022
2 parents 20e4e34 + bdc55f9 commit f65dc6d
Showing 1 changed file with 2 additions and 0 deletions.
@@ -196,7 +196,9 @@ void BlendingState::ApproximateLogicOpWithBlending()
blendenable = true;
subtract = approximations[u32(logicmode.Value())].subtract;
srcfactor = approximations[u32(logicmode.Value())].srcfactor;
srcfactoralpha = approximations[u32(logicmode.Value())].srcfactor;
dstfactor = approximations[u32(logicmode.Value())].dstfactor;
dstfactoralpha = approximations[u32(logicmode.Value())].dstfactor;
}

void SamplerState::Generate(const BPMemory& bp, u32 index)

0 comments on commit f65dc6d

Please sign in to comment.