Skip to content

Expand VIF UNPACK V2 and V3 lanes - #237

Open
GTTeancum wants to merge 2 commits into
ran-j:mainfrom
GTTeancum:codex/vif-v2-v3-lanes
Open

Expand VIF UNPACK V2 and V3 lanes#237
GTTeancum wants to merge 2 commits into
ran-j:mainfrom
GTTeancum:codex/vif-v2-v3-lanes

Conversation

@GTTeancum

Copy link
Copy Markdown

Summary

  • expand V2 UNPACK inputs as XYXY instead of leaving Z/W stale
  • preserve V3's hardware W-lane overlap with the next packed source component
  • add focused V2-8 and V3-16 regression coverage

PCSX2 documents both behaviors in its VIF unpack interpreter. The V2 duplicate pair is officially indeterminate on hardware but games depend on it; V3 similarly sources W from the adjacent packed component when those bytes are present.

This is stacked on #232 because both patches touch the same UNPACK decoder. Once #232 lands, this PR should reduce to commit 34036ac.

Verification

  • MINITEST_FILTER="VIF UNPACK V2 duplicates": 1 passed, 0 failed
  • MINITEST_FILTER="VIF UNPACK V3 sources": 1 passed, 0 failed
  • Release build with MSBuild, one worker

The unfiltered suite still encounters pre-existing failures outside PS2Memory and terminates before this suite; the focused regression cases pass cleanly.

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