diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2025-08-23 13:35:05 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2025-08-23 13:50:22 -0500 |
| commit | 14459bcc1b8d58bedfd68b6f15ab160a284c821e (patch) | |
| tree | d2c12a7cac6eef4f2f727683cf3e85797e4841c6 /Source/Core/VideoCommon/PixelShaderGen.cpp | |
| parent | ab8a02566daaea1046fa272e2b7038790f3ba122 (diff) | |
VideoBackends / VideoCommon: rename member variables in RenderState to be consistent
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderGen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index 5420d8b512..f7b554a3fc 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -174,7 +174,7 @@ PixelShaderUid GetPixelShaderUid() PixelShaderUid out; pixel_shader_uid_data* const uid_data = out.GetUidData(); - uid_data->useDstAlpha = bpmem.dstalpha.enable && bpmem.blendmode.alphaupdate && + uid_data->useDstAlpha = bpmem.dstalpha.enable && bpmem.blendmode.alpha_update && bpmem.zcontrol.pixel_format == PixelFormat::RGBA6_Z24; uid_data->genMode_numindstages = bpmem.genMode.numindstages; @@ -203,8 +203,8 @@ PixelShaderUid GetPixelShaderUid() const bool forced_early_z = uid_data->ztest == EmulatedZ::ForcedEarly; const bool per_pixel_depth = (bpmem.ztex2.op != ZTexOp::Disabled && uid_data->ztest == EmulatedZ::Late) || - (!g_ActiveConfig.bFastDepthCalc && bpmem.zmode.testenable && !forced_early_z) || - (bpmem.zmode.testenable && bpmem.genMode.zfreeze); + (!g_ActiveConfig.bFastDepthCalc && bpmem.zmode.test_enable && !forced_early_z) || + (bpmem.zmode.test_enable && bpmem.genMode.zfreeze); uid_data->per_pixel_depth = per_pixel_depth; |
