Skip to content

Port XEMSS parser, shader and offline translation improvements - #361

Open
tecnofifamobile-ai wants to merge 4 commits into
fxceless:mainfrom
tecnofifamobile-ai:contribute/xemss-shader-and-pe
Open

tecnofifamobile-ai wants to merge 4 commits into
fxceless:mainfrom
tecnofifamobile-ai:contribute/xemss-shader-and-pe

Conversation

@tecnofifamobile-ai

@tecnofifamobile-ai tecnofifamobile-ai commented Nov 24, 2026 •

Copy link
Copy Markdown

Summary

This consolidates the reusable changes from XEMSS into VIctory fork's existing PE parser, shader compiler and victory translate workflow.

  • Validate DXBC part offsets against the end of the header and offset table.
  • Validate AMD64 PE TLS directory size, callback addresses and null termination. Preserve a terminator in a section's zero-filled mapped tail.
  • Build shader blocks in decoded address order and reject late far jumps with no decoded target. Keep the fork's lane-spill handling.
  • Lower all 15 nonzero float image_store masks, including sparse masks and packed f16 operands. Add RGBA32F GPU readback coverage.
  • Add opt-in --output and --timings to victory translate. Export mode preserves distinct containers and existing output files, reports partial failures, and enforces the repository's output policy. The existing validation and pipeline checks remain in the workflow.

Ports XEMSS #5 and #6, plus the initial XEMSS DXBC boundary fix. f16 signed-zero coverage is already tracked in #278.

Verification

  • Windows x64 with the Windows SDK DXIL validator.
  • Full local Windows suite: 503 reported passed, 0 failed, 7 ignored, including the repository asset-policy test. The optional console-compiler comparisons were skipped.
  • PE and shader crate suites passed locally. The masked store regression passed on both hardware and WARP for f32 and packed f16.
  • CLI integration passed with a broken input, an unsupported stage, and two distinct containers sharing a DXIL part. Both good outputs were written and preserved on rerun.
  • Workspace Clippy passed with default and all features using -D warnings. git diff --check passed.

All new fixtures are generated by the tests. No game inputs are included in this change.

AI-assisted with Codex.

Port the validated parser changes from XEMSS 32ee768 and tecnofifamobile-ai/XEMSS#6.
Adapt tecnofifamobile-ai/XEMSS#6 while keeping VIctory fork lane-spill handling.
Port tecnofifamobile-ai/XEMSS#5, including all 15 masks on hardware and WARP with f32 and packed f16 inputs.
Integrate the batch capabilities from tecnofifamobile-ai/XEMSS#6 into the existing VIctory fork command.
RecompLive pushed a commit to RecompLive/victory-fork that referenced this pull request Nov 25, 2026
Input: with no device, previous and next readings walk every device in time order
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant