diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2021-11-30 17:51:43 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2022-04-08 20:05:32 -0700 |
| commit | 3a742e99bbf223bd268024a32ad6d1a5362be47f (patch) | |
| tree | 93d9d675ac5a8e3a7666497761318ff4ab1c30e7 /Source/Core/VideoBackends/Software/Rasterizer.cpp | |
| parent | d7709d4122469b4b5c009c6caf3e38e42a74719b (diff) | |
Software: Remove config to disable ZComploc and ZFreeze
These aren't particularly useful, and make the code a bit more confusing. If for some reason someone wants to test what happens when these functions are disabled, it's easier to just edit the code that implements them. They aren't exposed in the UI, so one would need to restart Dolphin to do it anyways.
Diffstat (limited to 'Source/Core/VideoBackends/Software/Rasterizer.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/Rasterizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Software/Rasterizer.cpp b/Source/Core/VideoBackends/Software/Rasterizer.cpp index f886858124..d29e4954f2 100644 --- a/Source/Core/VideoBackends/Software/Rasterizer.cpp +++ b/Source/Core/VideoBackends/Software/Rasterizer.cpp @@ -80,7 +80,7 @@ static void Draw(s32 x, s32 y, s32 xi, s32 yi) s32 z = (s32)std::clamp<float>(ZSlope.GetValue(dx, dy), 0.0f, 16777215.0f); - if (bpmem.UseEarlyDepthTest() && g_ActiveConfig.bZComploc) + if (bpmem.UseEarlyDepthTest()) { // TODO: Test if perf regs are incremented even if test is disabled EfbInterface::IncPerfCounterQuadCount(PQ_ZCOMP_INPUT_ZCOMPLOC); @@ -354,7 +354,7 @@ void DrawTriangleFrontFace(const OutputVertexData* v0, const OutputVertexData* v // rejected during clipping! // We're currently sloppy at this since we abort early if any of the culling/clipping/scissoring // tests fail. - if (!bpmem.genMode.zfreeze || !g_ActiveConfig.bZFreeze) + if (!bpmem.genMode.zfreeze) InitSlope(&ZSlope, v0->screenPosition[2], v1->screenPosition[2], v2->screenPosition[2], fltdx31, fltdx12, fltdy12, fltdy31); |
