Skip to content

formats: share immutable texture swizzle tables (re-port #13 perf part) - #42

Merged
devin-ai-integration[bot] merged 1 commit into
mainfrom
devin/batch-small-ports
Nov 25, 2026
Merged

devin-ai-integration[bot] merged 1 commit into
mainfrom
devin/batch-small-ports

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Re-port of the victory-formats part of the old performance wave (#13) onto the fxceless base.

The swizzle/de-swizzle lookup tables for tiled texture layouts are pure functions of the tile geometry; they are now built once per shape in a shared cache instead of per texture. Includes the texture_layout_bench example from the original branch.

Not ported from #13 (documented deferrals, conflict with the fxceless architecture): scratch-chunk reuse in gpu host.rs (fxceless's relay/inplace copy machinery owns that area), pipeline-library sharding (fxceless reworked the library around a different save/load structure), unaligned-SRV aligned copies in draw.rs (insertion point restructured by the texture mirror/tabled logic).

Validation: cargo test -p victory-formats 25/25, clippy -D warnings clean.

Written by Devin

Open in Devin Desktop: https://app.devin.ai/desktop/session/39a24dfe2c184165b42b2108a96286b6?variant=devin
Requested by: @Personed


🟢 Devin Review found nothing to fix · View findings · Follow Devin's work

Devin Review

The swizzle/de-swizzle lookup tables for tiled texture layouts are pure
functions of the tile geometry: build them once per shape in a shared
cache instead of per texture. Re-ported onto the fxceless base; the GPU-
side parts of the old performance wave (scratch chunks, pipeline library
sharding, unaligned SRV copies) conflict with the fxceless host/pipeline
architecture and stay out.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@devin-ai-integration
devin-ai-integration Bot merged commit c8a8692 into main Nov 25, 2026
5 checks passed
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.

1 participant