mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-27 21:40:28 +00:00
docs: decouple dxbc-accc README from PR state (#498 review)
Address review comments on #499:
- Drop the PR number, branch name and ADR-status sentence from the
trace-summary bullet. It now points at #496 and says only what is
true on main, so it cannot go stale in either merge order.
- Reword the intro: these are pieces around this crate, not pieces
the crate depends on.
- Reword the closing line so it means this change rather than a
claim about #445.
- Add #445 to the CHANGELOG citation to match the README.
Re-verified against main b8724bf: BxShaderGate::admit in proxy.cpp
covers VS/PS/DS/HS/GS and CS; build-shims.sh copies dxbc_accc.dll
to bx_shader_bridge.dll; the verifier checks the export directory
name against the .def.
Documentation only.
Signed-off-by: Eterna <295740124+EternaPeptix@users.noreply.github.com>
This commit is contained in:
1 parent
c8e38e4641
commit
653e751d01
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -97,7 +97,7 @@ remains unsupported.
|
||||
- Removed the "PR template" check (`.github/workflows/pr-template.yml`, `scripts/pr_template_check.py` and its tests) and its CI test step. Also removed `.github/PULL_REQUEST_TEMPLATE.md`. Pull request descriptions are no longer validated or pre-filled; CONTRIBUTING.md still asks for the same information and the claim-first rule still applies.
|
||||
|
||||
### Changed
|
||||
- Corrected `shader-transpiler/crates/dxbc-accc/README.md` (#498): its "Not done here" section listed the `bx_shader_bridge.def` export list, `scripts/build-shims.sh` staging, and the `d3d12_xs` PSO hook with JSONL telemetry as outstanding, but all three shipped (#484, #466). The section now records what each one does and which issue delivered it, and notes that the `bx-cli trace` summary of the gate records (#496, PR #497) is still open. Documentation only; no code, ABI, test, or behavior change.
|
||||
- Corrected `shader-transpiler/crates/dxbc-accc/README.md` (#498): its "Not done here" section listed the `bx_shader_bridge.def` export list, the `scripts/build-shims.sh` staging, and the `d3d12_xs` PSO hook with JSONL telemetry as outstanding, but those shipped (#445, #484, #466). The section now says what each one does and which issue delivered it, and points at #496 for the `bx-cli trace` summary of the records. Documentation only; no code, ABI, test, or behavior change.
|
||||
- Documented independent Direct3D acceptance results on CrossOver 26.3 and CrossOver Preview 27, including D3D12 swapchain retention and Wine presentation stalls (#450).
|
||||
- Replaced the native-first development plan with a CrossOver-based hybrid roadmap (`docs/roadmap.md`: five provisional phases, only Phase 1 active; the earlier H0 to H7 breakdown is archived) and an accepted-direction ADR 0005. No hybrid component exists yet and no Xbox title is shown to run; this is planning and research scheduling only, and no phase is verified complete.
|
||||
- Rewrote the engineering rules in `AGENTS.md` (`CLAUDE.md` is a symlink to it) to permit CrossOver, Wine-based infrastructure, Rosetta 2 and D3DMetal subject to licensing, while keeping the honesty, independent-verification, provenance and clean-room rules and adding dependency and reuse rules. Resolves #345.
|
||||
|
||||
@@ -54,11 +54,11 @@ Each of these faults compiled into the DLL fails the check: `dxil_chunk_size` cl
|
||||
|
||||
### Related work, owned elsewhere
|
||||
|
||||
These pieces this crate depends on were recorded here as outstanding when this section was written. All but the last have since landed:
|
||||
Three of these pieces around this crate were recorded here as outstanding when this section was written and have since landed. The fourth is the trace summary of the records the shim emits.
|
||||
|
||||
- **`abi/defs/bx_shader_bridge.def` (`[ABI]`, #445, #484):** present and in use. Its `LIBRARY` directive is `bx_shader_bridge.dll`, and `scripts/build-shims.sh` passes it to `cargo rustc` as `-C link-arg=…/abi/defs/bx_shader_bridge.def`, so the built DLL's export directory holds exactly the three header entry points and its internal name is `bx_shader_bridge.dll`, not `dxbc_accc.dll`. Cargo still names the built file `dxbc_accc.dll`; the script copies it to `build-shims/bin/bx_shader_bridge.dll`, and the verifier requires the export-directory name to match the `.def`.
|
||||
- **Staging in `scripts/build-shims.sh` (Track A, #484):** done. The script builds this crate for `x86_64-pc-windows-gnu`, copies the result to `build-shims/bin/bx_shader_bridge.dll`, and verifies its export directory with the same exact-export, ordinal, forwarder and MinGW-import rules as the other shims. CI's hybrid job installs that target with its pinned toolchain, so `rustup target add x86_64-pc-windows-gnu` is only a one-off step for a local build, and the script stops with that hint when the target's `std` is missing.
|
||||
- **Calling it from `d3d12_xs` at PSO creation, and JSONL telemetry (Track C, #466):** done. `CreateGraphicsPipelineState` and `CreateComputePipelineState` in `shims/d3d12_xs/proxy.cpp` run every stage through `BxShaderGate::admit` (`shims/d3d12_xs/shader_gate.cpp`), which calls `bx_shader_inspect` and `bx_shader_prepare_for_d3dmetal` and emits `shader_gate`, `shader_d3dmetal_gap` and `shader_bridge_missing` records through `bx_log_emit`. The bridge itself still writes its ACCC-only inspection line to the guest's stderr (`bx-shader event=prepare status=unsupported …`), because this crate does not link `bx_log_emit`; the JSONL records come from the shim.
|
||||
- **Trace summary of those records (`bx-cli trace`, Track A, #496):** not merged yet. On `main`, `bx-telemetry` does not parse `shader_gate`, `shader_d3dmetal_gap` or `shader_bridge_missing`, so `bx-cli trace` does not summarize them; ADR 0008 still lists that telemetry summary as not covered by the gate. PR #497 (branch `track-a/496-shader-gate-trace-summary`) adds the summary and is open.
|
||||
- **Trace summary of those records (`bx-cli trace`, Track A, #496):** tracked in #496, which adds parsing of `shader_gate`, `shader_d3dmetal_gap` and `shader_bridge_missing` to `bx-telemetry` and renders them in `bx-cli trace`. Until that lands, `bx-cli trace` does not summarize these records.
|
||||
|
||||
Nothing in this crate changed for any of these; the tests above still describe this crate's own behavior.
|
||||
This change does not touch the crate's code or tests; the tests above still describe its own behavior.
|
||||
Reference in new issue
Block a user