diff options
| author | JMC47 <JMC4789@gmail.com> | 2022-07-17 00:43:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-17 00:43:16 -0400 |
| commit | 70b0b03c3cd65d90a74f16a5ddd38801da4dce9f (patch) | |
| tree | 67b24413e6c29e8c530184f34fe3085c42820949 /Source/Core/VideoBackends/Software/Rasterizer.cpp | |
| parent | f1d23ff9a48ce866f9cd391d32eacb4bfb1c244e (diff) | |
| parent | fb5648541ce93cf4938dd58e635f7c2d1a3a1569 (diff) | |
Merge pull request #10747 from tellowkrinkle/LateUIDFixup
Add a post-cache shader UID fixup pass
Diffstat (limited to 'Source/Core/VideoBackends/Software/Rasterizer.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/Rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Software/Rasterizer.cpp b/Source/Core/VideoBackends/Software/Rasterizer.cpp index 4b3f02758d..b7170527d5 100644 --- a/Source/Core/VideoBackends/Software/Rasterizer.cpp +++ b/Source/Core/VideoBackends/Software/Rasterizer.cpp @@ -153,7 +153,7 @@ static void Draw(s32 x, s32 y, s32 xi, s32 yi) s32 z = (s32)std::clamp<float>(ZSlope.GetValue(x, y), 0.0f, 16777215.0f); - if (bpmem.UseEarlyDepthTest()) + if (bpmem.GetEmulatedZ() == EmulatedZ::Early) { // TODO: Test if perf regs are incremented even if test is disabled EfbInterface::IncPerfCounterQuadCount(PQ_ZCOMP_INPUT_ZCOMPLOC); |
