Skip to content

Test SDWA word selection alongside the VOP3 16-bit compare fix - #5

Merged
BastienRodz merged 1 commit into
BastienRodz:shader/cmp16-ignores-op-selfrom
MichaelSmithAI:test/926-sdwa-half-select
Nov 24, 2026
Merged

BastienRodz merged 1 commit into
BastienRodz:shader/cmp16-ignores-op-selfrom
MichaelSmithAI:test/926-sdwa-half-select

Conversation

@MichaelSmithAI

Copy link
Copy Markdown

This adds a regression for a neighboring instruction encoding touched by the same 16-bit source helper. A VOP3 compare on this branch ignores op_sel. An SDWA compare still needs to honor its explicit source word selectors.

The test uses gfx1030 assembler-verified SDWA instructions for f16, i16 and u16. For each type the chosen values compare true with both low words and false when either source selects its high word. Each of the nine cases stores the live comparison result.

The fixture passed on both ffe310e and a8aa1d1 under Wine/vkd3d-proton 3.2 on RTX 4090. It checks preserved SDWA behavior. The parent PR’s VOP3 tests cover the changed behavior. No translator code changes. Upstream PR

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.

2 participants