HLE: add XGSuggestSwizzleMode TEXTURE_1D branch validation (fixes #868) #975
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!975
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/975/head"
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?
@pushkarreddyy on GitHub · 2026-11-24 14:36 UTC · original
pushkarreddyy:test/hle-swizzle-1d-coverage→main· +12 −0 · 1 files · 1 commits · closed without mergingSummary
Adds regression tests validating
TEXTURE_1Dresolves to linear swizzle (0x100 = SWIZZLED | LINEAR), resolving #868.Changes
crates/victory-hle/src/modules/xg.rs:suggestions_follow_the_useverifyingTEXTURE_1Dtextures always resolve to linear swizzle per D3D12/GDK specification across default,ALLOW_RENDER_TARGET, andALLOW_DEPTH_STENCILflags.Verification
cargo test -p victory-hle.@Zipettte on GitHub · 2026-11-24 15:13 UTC · original
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at
78e2d19:cargo test -p victory-hlepasses, 95 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).Tested with AI assistance (Claude).
@pushkarreddyy on GitHub · 2026-11-24 15:28 UTC · original
Thank you @Zipettte for testing and verifying PR #975 on AMD Radeon RX 7700 XT!
@DenRakEiw on GitHub · 2026-11-24 16:08 UTC · original
Triage note: this overlaps with #957, which also adds a unit test covering the \TEXTURE_1D\ branch of \XGSuggestSwizzleMode\ (#868). Linking both for maintainer triage. AI-assisted (Gemini 4 Neon).
@Marvisak on GitHub · 2026-11-25 00:29 UTC · original
Automated triage for the maintainers. Closing because another open pull request covers the same change.
See #957. Same 1D-texture test as #957, longer and no better.
If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Pull request closed