summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/UberShaderPixel.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2025-08-23 20:56:47 +0100
committerGitHub <noreply@github.com>2025-08-23 20:56:47 +0100
commit7782e32d9e78f08496496e95ab431b25a1b47551 (patch)
treed2c12a7cac6eef4f2f727683cf3e85797e4841c6 /Source/Core/VideoCommon/UberShaderPixel.cpp
parentab8a02566daaea1046fa272e2b7038790f3ba122 (diff)
parent14459bcc1b8d58bedfd68b6f15ab160a284c821e (diff)
Merge pull request #13901 from iwubcode/render_state_rename
VideoBackends / VideoCommon: rename member variables in RenderState
Diffstat (limited to 'Source/Core/VideoCommon/UberShaderPixel.cpp')
-rw-r--r--Source/Core/VideoCommon/UberShaderPixel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/UberShaderPixel.cpp b/Source/Core/VideoCommon/UberShaderPixel.cpp
index 94ce2e2dbb..4eb41fa94e 100644
--- a/Source/Core/VideoCommon/UberShaderPixel.cpp
+++ b/Source/Core/VideoCommon/UberShaderPixel.cpp
@@ -26,11 +26,11 @@ PixelShaderUid GetPixelShaderUid()
uid_data->early_depth = bpmem.GetEmulatedZ() == EmulatedZ::Early &&
(g_ActiveConfig.bFastDepthCalc ||
bpmem.alpha_test.TestResult() == AlphaTestResult::Undetermined) &&
- !(bpmem.zmode.testenable && bpmem.genMode.zfreeze);
+ !(bpmem.zmode.test_enable && bpmem.genMode.zfreeze);
uid_data->per_pixel_depth =
(bpmem.ztex2.op != ZTexOp::Disabled && bpmem.GetEmulatedZ() == EmulatedZ::Late) ||
- (!g_ActiveConfig.bFastDepthCalc && bpmem.zmode.testenable && !uid_data->early_depth) ||
- (bpmem.zmode.testenable && bpmem.genMode.zfreeze);
+ (!g_ActiveConfig.bFastDepthCalc && bpmem.zmode.test_enable && !uid_data->early_depth) ||
+ (bpmem.zmode.test_enable && bpmem.genMode.zfreeze);
uid_data->uint_output = bpmem.blendmode.UseLogicOp();
return out;