OGL: Drop BlendingState.dither

How GL_DITHER works is implementation-defined, and we handle the
non-blended case in the pixel shader.
This commit is contained in:
Stenzek
2017-04-18 21:45:03 +10:00
parent ddc5275071
commit fd896bd9e0
3 changed files with 5 additions and 12 deletions

View File

@ -61,7 +61,6 @@ void BlendingState::Generate(const BPMemory& bp)
bool target_has_alpha = bp.zcontrol.pixel_format == PEControl::RGBA6_Z24;
bool alpha_test_may_success = bp.alpha_test.TestResult() != AlphaTest::FAIL;
dither = bp.blendmode.dither;
colorupdate = bp.blendmode.colorupdate && alpha_test_may_success;
alphaupdate = bp.blendmode.alphaupdate && target_has_alpha && alpha_test_may_success;
dstalpha = bp.dstalpha.enable && alphaupdate;