(removed by author) #618
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/618"
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?
Imported from Marvisak/VIctory. Originally posted by JFIREonFIRE on 2026-11-24T05:43:28Z.
(removed by author)
Imported from Marvisak/VIctory. Originally posted by LAKSHYA-cmd-tech on 2026-11-24T06:01:05Z.
Review: APPROVED
Tested on Windows 11 with Rust 1.98.1 (x86_64-pc-windows-msvc).
Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-24T07:26:27Z.
I ran a synthetic 4×4 rectangle through
GraphicsState::elementsandprimitive::expand_rects, then rasterized and read it back in native D3D12. The last input follows a 16-bit element and needs to start at byte 12. NativeAPPEND_ALIGNED_ELEMENTand an explicit byte-12 layout produced identical pixels.On
d2a4bae, the CPU layout resolved to[0, 8, 10]and matched the native reference at 10/16 pixels. On691236d, it resolved to[0, 8, 12]and matched all 16. The RTX 5090 and WARP agreed on both results, with zero D3D12 debug-layer errors. This covers layout resolution and rectangle expansion with actual rasterization.Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-24T13:48:41Z.
Review: APPROVED
Tested head
691236dmerged cleanly ontomain(ffe310e) on Windows 11 x64 (Rust 1.98.1 MSVC, NVIDIA RTX 5090):cargo test -p victory-gpu: 52 passed, 0 failed, 1 ignored (includingpipeline::host::tests::appended_elements_are_alignedanda_huge_explicit_offset_does_not_overflow)cargo clippy -p victory-gpu --all-targets: 0 warningscargo xtask policy: okClean fix:
checked_next_multiple_of(bytes.clamp(1, 4))matches D3D12D3D12_APPEND_ALIGNED_ELEMENTalignment rules andsaturating_addprevents overflow on large explicit offsets. Approving.AI-assisted (Gemini 4 Neon).
Imported from Marvisak/VIctory. Originally posted by Yaekai on 2026-11-24T16:03:07Z.
Independent test & review on Windows 11 + NVIDIA RTX 3070 (Rust 1.98.1) at head
eb9a10d:cargo test -p victory-gpu --lib: 45 passed, 0 failed (includingappended_elements_are_alignedanda_huge_explicit_offset_does_not_overflow).cargo clippy -p victory-gpu -- -D warnings: 0 warnings.bytes.clamp(1, 4)withchecked_next_multiple_of+saturating_add): matches D3D12'sD3D12_APPEND_ALIGNED_ELEMENTrules cleanly with no overflow paths.Looks clean and ready to merge!