Repository navigation
Conversation
…the asset policy's 512 KiB limit The check job fails on main: crates/victory-gpu/src/host.rs (528,954 bytes) and crates/victory-shader/src/emit/lower.rs (535,588 bytes) are over the asset policy's 512 KiB limit (fxceless#1342). Only #[cfg(test)] modules move, verbatim apart from losing one level of indentation; module names and paths are unchanged, no non-test code changes. - host.rs: its eight test modules (tests, relay_tests, grouped_tests, late_tests, trail, spare, batch, queue2_tests) move to host/<name>.rs, the layout profile.rs and profile/tests.rs already use. 492,495 bytes. - lower.rs: mod tests moves to emit/lower_tests.rs, declared with #[path = "lower_tests.rs"] as in fxceless#1322. 512,559 bytes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015kFDn6faAxnJwPKPwiCnj1
AI-assisted independent adaptation of fork PR #30; no UMA dependencies.
…(test module extraction)
|
I adapted this to the AMD branch in #32, keeping its held upload buffer, raw twin, and card-steps slot association. Two Windows MSVC tests passed under Wine 11.22. The bounds test exercised descriptor creation on the RX 7900 XT with RADV 26.3.1 and the device stayed alive after the oversized and invalid cases. The staging-size fixture ran separately. |
spk-c
marked this pull request as ready for review
November 26, 2026 23:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AI-assisted, independent adaptation of spk-c#30 onto 4c60466 (no UMA dependency).
The host already caps a conventional CBV descriptor at 64 KiB, but the table fallback can still reserve and fill the entire title-declared size. Bound the scratch payload to the host-visible limit, initialize alignment padding, use a typed null CBV for invalid ranges or failed scratch allocation, and reject persistent descriptors whose rounded range exceeds the retained host buffer.
Adds a CPU range regression covering unaligned, oversized, null and overflowing inputs. The original fork patch passed explicit RTX 4090 bounds/replay tests; those results are not validation of this adapted upstream commit. git diff --check passed; compile, CI and hardware retest are pending. Draft until the upstream-based checks pass.
CI baseline repair
The upstream 512 KiB asset-policy failure on main (#1342) is addressed in this branch by including the existing maintainer patch #1357 (original commit
450ed9bd, attribution preserved). No policy limit or security check was changed. The identical combined commit7c63f2d5passed the full Windows CI in our fork, including Clippy in both configurations, workspace/asset-policy tests and serial GPU tests: https://github.com/spk-c/victory-fork/actions/runs/45912157568. The direct upstream check is being rerun on this head. The #1357 changes are a shared dependency, not part of this feature; they will disappear from the diff when that commit is merged upstream normally. Hardware/gameplay retesting is not implied by this CI result.