Skip to content

1.0 - #782

Closed
pug205gti6 wants to merge 0 commit into
fxceless:mainfrom
pug205gti6:main
Closed

1.0#782
pug205gti6 wants to merge 0 commit into
fxceless:mainfrom
pug205gti6:main

Conversation

@pug205gti6

Copy link
Copy Markdown

No description provided.

@marquezinii

Copy link
Copy Markdown
Contributor

I looked through this and I think it needs splitting before it can be reviewed properly.

Most of the diff is formatting. I ran cargo fmt --all on this PR's base (8dd30ab), and 51 of the 59 changed files came out byte-identical to the PR. The real changes are in 8 files of victory-gpu. The reformat of the rest touches code nearly every other open PR edits, and the branch already conflicts with main (a26859f) in 4 files.

What I found in those 8 files:

  • #[allow(...)] on placed_filler_twins, depth_written and the sort_by in draw.rs. These are the three clippy errors that keep main's CI red, so fixing them would help every PR. Removing the dead code, or using sort_unstable_by_key, would fix them rather than hide them.
  • texture.rs: has_detiled/detiled_levels, so that an on-demand texture's level mask is not used before its first detile, plus a test. This looks right to me. Levels on demand are still off by default.
  • inplace.rs / watch.rs: views of a page are opened again when the page's view count crosses MANY_VIEWS, and views_gone now returns what to re-guard.
  • descriptor/host.rs: tracking of slots backed by tiled textures (tiled_shown, first_shown), with two tests.
  • host.rs / watch.rs: a diagnostics line for the time the remap lock is held. Textures no longer wait for remappings of other title memory #95 adds a similar counter.

The PR has no description, its title is "1.0", and CI hasn't run. My suggestion: drop the formatting, rebase on main, and open the pieces above as separate PRs, each saying what it fixes and how it was checked (the lint fixes alone would be quick to merge).

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.

2 participants