GPU: a method that is not implemented logs its four argument registers (port of Marvisak#1839) #677
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!677
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-677"
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?
@kibagami-nc on GitHub · 2026-11-28 03:24 UTC · original
kibagami-nc:fix/unimplemented-methods-log-arguments→main· +31 −3 · 1 files · 1 commits · merged 2026-11-29 08:16 UTCWhat
The stub behind every slot a method table does not fill (
crates/victory-gpu/src/object.rs) logged the object kind, the slot and the caller's offset. It could not say what the call carried. To tell which console method a slot is, reporters had to patch it locally to logrcx/rdx/r8/r9: an interface GUID or a module address reads differently from flags, a count or an out pointer. That matters for slots such as the device methods0x218and0x1c8reported in #587.The stub now takes the receiver and the next three argument registers, and logs them as
args=in the same line, still once per slot:The values above only show the line's shape.
E_NOTIMPLreturn are as before.This is a port of pablogonz12's change (Marvisak/VIctory#1839, refs Marvisak/VIctory#829). It applied cleanly.
Tests
object::tests::unimplemented_calls_report_their_argument_registers(the text). Theobjecttests: 5 passed, 1 ignored (a benchmark).cargo clippy -p victory-gpu --all-targets -- -D warnings: nothing inobject.rs.main's own findings are fixed by #665.No game files, dumps or extracted data are included.
@Dukestar69 on GitHub · 2026-11-28 05:19 UTC · original · approved these changes
LGTM — verified on Windows:
cargo test -p victory-gpu --lib object::passed (5/5, includingunimplemented_calls_report_their_argument_registers)cargo xtask policypassed (294 files ok)Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).