tests: exercise dword-aligned views and explicit texture wakeups #191

Manually merged
github merged 1 commit from github-bot/gh-191 into gh-pr/191/base 2026-12-02 22:55:11 +00:00 AGit
Owner

@⁠DecayingEagle on GitHub · 2026-12-02 14:01 UTC · original
DecayingEagle:codex/descriptor-test-expectations → main · +66 −18 · 1 files · 1 commits · merged 2026-12-02 22:53 UTC

Five descriptor tests fail on d044248 under this fork's Linux stack. This test-only patch addresses the three causes without changing production code.

  • The fork uses four-byte raw alignment. Test valid dword offsets alongside invalid offsets and a halfword view that still requires a shifted twin.
  • Held slots stay held until a wake, room or a rewrite. Exercise both wake limits, same-frame suppression, stale and current material requests, and eventual draining.
  • A non-shader-visible staging handle can carry metadata bits under vkd3d-proton. Compare the staged copy to an identical SRV created directly at the same shader-visible destination. Keep the checks for separate staging slots, per-thread allocation and a distinct null view. The destination still needs to be readable, as in the original test.

On an RX 7900 XT, Wine 11.22 and the fork's vkd3d-proton, the descriptor::host::tests subset went from 26 passing and 5 failing on the base to 32 passing and 0 failing. This branch is independent of #188. Windows and other drivers were not exercised.

Developed and tested with OpenAI Codex.

**@⁠DecayingEagle** on GitHub · 2026-12-02 14:01 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/191) `DecayingEagle:codex/descriptor-test-expectations` → `main` · +66 −18 · 1 files · 1 commits · merged 2026-12-02 22:53 UTC Five descriptor tests fail on `d044248` under this fork's Linux stack. This test-only patch addresses the three causes without changing production code. - The fork uses four-byte raw alignment. Test valid dword offsets alongside invalid offsets and a halfword view that still requires a shifted twin. - Held slots stay held until a wake, room or a rewrite. Exercise both wake limits, same-frame suppression, stale and current material requests, and eventual draining. - A non-shader-visible staging handle can carry metadata bits under vkd3d-proton. Compare the staged copy to an identical SRV created directly at the same shader-visible destination. Keep the checks for separate staging slots, per-thread allocation and a distinct null view. The destination still needs to be readable, as in the original test. On an RX 7900 XT, Wine 11.22 and the fork's vkd3d-proton, the `descriptor::host::tests` subset went from 26 passing and 5 failing on the base to 32 passing and 0 failing. This branch is independent of #188. Windows and other drivers were not exercised. Developed and tested with OpenAI Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 14:04:59 +00:00
github-bot changed target branch from main to gh-pr/191/base 2026-12-02 22:55:10 +00:00
github manually merged commit 06589c54e3 into gh-pr/191/base 2026-12-02 22:55:11 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.