translate: identify unsupported ACCC/FSPX shader containers #1649
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1650"
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 JamesHoi on 2026-11-24T20:27:45Z.
victory translategroups containers without a DXIL part under “SM5 or older”. Driver compute containers with an ACCC part whose payload starts with FSPX also enter this branch. That makes the report point to the wrong shader format when investigating a missing compute pipeline.This change gives ACCC/FSPX its own diagnostic, identifies legacy SHDR and SHEX parts, and reports container parse errors separately. It only changes the translation report.
Verified through the command-line entry point using synthetic containers and 29 locally available ACCC/FSPX containers. All 29 received the new classification. The tests and patch contain no game data.
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T21:41:53Z.
Review: COMMENTED
Static review only: apps/victory is Windows-only — nothing compiles on macOS; source review of the diff.
translate now classifies unsupported containers: ACCC part with FSPX payload → 'unsupported ACCC/FSPX shader (no DXIL part)', SHDR/SHEX parts → 'no DXIL part (SM5 or older)', else 'no DXIL part'. The unit test builds a minimal DXBC container by hand and checks the classification. Reason strings will show up in translate reports — good diagnostics improvement.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:23:08Z.
Automated triage for the maintainers. Closing because this change is already in
main, ormainhas since replaced the code it patches.Draft that labels ACCC/FSPX containers as unsupported in translate's report; main now translates them (translate.rs:492 falls back to the ACCC part, native.rs reads FSPX), so the label would be wrong.
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.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:33:19Z.
Automated triage for the maintainers.
Needs rebase. This pull request conflicts with
main(conflicting:apps/victory/src/translate.rs). It will be reviewed once it is rebased onto the currentmain.Generated by Claude Code
Pull request closed