CTevCombiners: Add KColorSel and KAlphaSel configuration to CTevPass::Execute

This commit is contained in:
Phillip Stephens 2022-03-07 22:13:25 -08:00
parent cb2440d79c
commit 791b1fa598
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ u32 CTevPass::sNextUniquePass = 0;
void CTevPass::Execute(ERglTevStage stage) const {
aurora::gfx::update_tev_stage(stage, x4_colorPass, x14_alphaPass, x24_colorOp, x38_alphaOp);
aurora::gfx::set_tev_k_color_sel(static_cast<GX::TevStageID>(stage), GX::TevKColorSel::TEV_KCSEL_8_8);
aurora::gfx::set_tev_k_alpha_sel(static_cast<GX::TevStageID>(stage), GX::TevKAlphaSel::TEV_KASEL_8_8);
}
constexpr u32 maxTevPasses = 2;