mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-14 08:05:52 +00:00
CTevCombiners: Add KColorSel and KAlphaSel configuration to CTevPass::Execute
This commit is contained in:
parent
cb2440d79c
commit
791b1fa598
@ -5,6 +5,8 @@ u32 CTevPass::sNextUniquePass = 0;
|
|||||||
|
|
||||||
void CTevPass::Execute(ERglTevStage stage) const {
|
void CTevPass::Execute(ERglTevStage stage) const {
|
||||||
aurora::gfx::update_tev_stage(stage, x4_colorPass, x14_alphaPass, x24_colorOp, x38_alphaOp);
|
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;
|
constexpr u32 maxTevPasses = 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user