docs: VICTORY_DXIL can point at the GDK-X package's dxil.dll #605

Open
github-bot wants to merge 4 commits from github-bot/gh-601 into main AGit
Owner

@⁠AnastasisKon on GitHub · 2026-11-28 11:40 UTC · original
AnastasisKon:vibe/dxil-gdkx-docs-1705ac → main · +607 −45 · 6 files · 4 commits · open

What this changes

Documents that the Windows shader tests' DXIL validation (emit/validator.rs, Validator::load) finds dxil.dll at VICTORY_DXIL, and that the Microsoft GDK-X package (2026.10-GDKX-10.0.26100.9661, Microsoft GDK/bin/dxil.dll in the ExtractedforBuildSystems ZIP) is a source for it — used locally only, never committed (cargo xtask policy). No code change. Refs #303

How it was tested

  • cargo xtask policy — 404 files ok (docs only)
  • dxil.dll/dxcompiler.dll extracted from the GDK-X ZIP to ~/GDK-X-2026.10/bin/ (outside the repo) and verified as x64 PE images
  • Not needed (docs only; no test run)

Checklist

  • No game files, game code, disassembly listings or SDK files are included — the GDK DLLs stay outside the repo; only their path is documented
  • Guesses about undocumented console behaviour are marked — n/a
  • New diagnostics are behind a VICTORY_* variable and documented — VICTORY_DXIL already existed in code; now documented
**@⁠AnastasisKon** on GitHub · 2026-11-28 11:40 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/601) `AnastasisKon:vibe/dxil-gdkx-docs-1705ac` → `main` · +607 −45 · 6 files · 4 commits · open ## What this changes Documents that the Windows shader tests' DXIL validation (`emit/validator.rs`, `Validator::load`) finds `dxil.dll` at `VICTORY_DXIL`, and that the Microsoft GDK-X package (`2026.10-GDKX-10.0.26100.9661`, `Microsoft GDK/bin/dxil.dll` in the `ExtractedforBuildSystems` ZIP) is a source for it — used locally only, never committed (`cargo xtask policy`). No code change. Refs #303 ## How it was tested - [x] `cargo xtask policy` — 404 files ok (docs only) - [x] `dxil.dll`/`dxcompiler.dll` extracted from the GDK-X ZIP to `~/GDK-X-2026.10/bin/` (outside the repo) and verified as x64 PE images - [x] Not needed (docs only; no test run) ## Checklist - [x] No game files, game code, disassembly listings or SDK files are included — the GDK DLLs stay outside the repo; only their path is documented - [x] Guesses about undocumented console behaviour are marked — n/a - [x] New diagnostics are behind a `VICTORY_*` variable and documented — `VICTORY_DXIL` already existed in code; now documented
The texture scanner already read a changed texture whole on its own
thread; the submission then read the same memory again to detile it.
The scanner now keeps those bytes (up to 64 MiB per texture, 512 MiB
in all, evicted oldest-first) and the submission's Job detiles them
directly, halving the reads of scanner-found changes. Torn stashes
self-heal: the next round's hash differs and the texture is read whole.

The sync read threads were a fixed 6; they now use all the host's
cores but two (sync_threads), so an 8-core M1 uses 6 and a 12-core
M1 Pro 10.

Refs #179
At low frame rates the title polls the pad once a frame, so a press and
release between two readings is never seen. With VICTORY_INPUT_LATCH=1 a
button change the title has not read yet waits for its next reading (up
last time and pressed since shows down; down last time and released
since shows up; pressed again shows down again); triggers show their
peak since the last reading, sticks their latest value. Readings within
15 ms agree; with no reading for 2 s the latch lets go. Off by default.

VICTORY_STICK_DEADZONE=<share> applies a round dead zone per stick at
each poll, the rest of the travel spread over 0..1. Off by default.

Ported from halfwave50's VIctory-macOS-halfwave50 (52e0325, GPL-3.0,
credited there). Both switches are per-hub settings read once at start;
tests drive them on a fake hub through GetCurrentReading.

Refs #429
The page table is bound for every stage (Binding::memory, memory_args
in native/host.rs), guessed and described alike, so the gate in
shaders::unsupported refusing a graphics pipeline whose shader reads
title memory through it had no technical reason. Remove it and the
memory parameter that carried it; the dfafaf38/06295fb1 pair (the
first draw of each frame) now gets a host pipeline.

Refs #303
The Windows shader tests validate emitted DXIL with dxil.dll found at
VICTORY_DXIL, else the newest Windows SDK. Note the GDK-X package as a
source (used locally only; never committed, per the asset policy).

Refs #303
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 11:45:57 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/605/head:github-bot/gh-601'
git switch 'github-bot/gh-601'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-601'
git switch 'github-bot/gh-601'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-601'
git switch 'github-bot/gh-601'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-601'
git switch 'main'
git merge --squash 'github-bot/gh-601'
git switch 'main'
git merge --ff-only 'github-bot/gh-601'
git switch 'main'
git merge 'github-bot/gh-601'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.