Skip to content

Silence leaf shadow count assert spam#1986

Merged
Rainyan merged 2 commits into
NeotokyoRebuild:masterfrom
Rainyan:silence-shadowleaf-spam
Jun 11, 2026
Merged

Silence leaf shadow count assert spam#1986
Rainyan merged 2 commits into
NeotokyoRebuild:masterfrom
Rainyan:silence-shadowleaf-spam

Conversation

@Rainyan

@Rainyan Rainyan commented Jun 11, 2026

Copy link
Copy Markdown
Member

Description

Silence the assertion spam that would trigger for every frame on debug builds when m_ShadowsInLeaf > 2000, tanking dev build performance.

We previously had a clunky per-map check in place to try and silence the warning, but the map list wasn't comprehensive, and also completely hiding the issue wasn't too great either. So instead just assert once, until we can either fix the shadow counts or decide to bump the shadow count upper bound for the assertion.

Toolchain

  • Windows MSVC VS2022

Linked Issues

@Rainyan Rainyan requested a review from a team June 11, 2026 14:07
@AdamTadeusz AdamTadeusz requested a review from a team June 11, 2026 14:15
Rainyan added 2 commits June 11, 2026 21:23
This reverts commit 84a63ed (Add dev excludes on shadowleaf limits)
@Rainyan Rainyan force-pushed the silence-shadowleaf-spam branch from b686d77 to 9ebe423 Compare June 11, 2026 18:23
@Rainyan Rainyan merged commit 95432de into NeotokyoRebuild:master Jun 11, 2026
7 checks passed
@Rainyan Rainyan deleted the silence-shadowleaf-spam branch June 11, 2026 18:57
@Rainyan

Rainyan commented Jun 11, 2026

Copy link
Copy Markdown
Member Author

GitHub, push to master, make no mistakes.

@AdamTadeusz

Copy link
Copy Markdown
Contributor

please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants