fix(gpu): add CBV guards and typed buffer view validation #3339
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!3339
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3339"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@legayclightning22 on GitHub · 2026-11-26 19:03 UTC · original
legayclightning22:fix/cbv-and-typed-buffer-view-guards→main· +216 −45 · 2 files · 1 commits · openSummary
Adds CBV guards and typed buffer view validation in
victory-gpu(414d469), along with unit tests covering buffer view validation.Changes
Verification
cargo test -p victory-gpu --lib descriptorcargo clippy --locked -p victory-gpu --all-targets -- -D warningscargo xtask policy@Dukestar69 on GitHub · 2026-11-26 19:08 UTC · original · approved these changes
LGTM — verified on RTX 5090 (Windows / D3D12) against
origin/main(63bcca4).cargo test -p victory-gpu --lib descriptor:: -- --skip dynamic_slots_are_held_until_released --test-threads=1: 24 passed, 0 failed (includingcbv_sizes_are_capped_and_zero_sizes_use_the_zero_view,null_cbv_clears_a_stale_view,buffer_view_ranges_are_validated_before_creation, andtyped_buffer_views_use_bit_exact_host_formats).cargo clippy -p victory-gpu --all-targets -- -D warnings: clean.cargo xtask policy: 191 files ok.Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.