cpp-migration: support .rtv variant requests in compile_dxil --watch and --refusals #3001

Closed
opened 2026-11-27 04:02:11 +00:00 by github-bot · 1 comment
Owner

@⁠stan495 on GitHub · 2026-11-27 03:59 UTC · original

Target branch cpp-migration. Refs #2935 (Tooling: --watch and --refusals support for req_<key>.rtv variants added in #2989).

Scope

  1. compile_dxil --refusals:
    • Scan req_<key>.rtv alongside req_<key>.a (deduplicating same-key .a+.rtv in favor of .rtv).
    • Run read-only prepare_direct_graphics(..., /*write_cache=*/false, input.rtv_formats) and validate format_graphics_runtime_manifest(pair, input.rtv_request) for RTV variants without invoking DXC or writing files.
  2. compile_dxil --watch:
    • Scan req_<key>.rtv alongside .a/.c67 (with same-key .rtv precedence).
    • Resolve the base request's .psin path for .rtv variants (matching gfx2hlsl.py::request_source) so base .psin updates/removals trigger rechecks and .psdep / rtv1 manifest lines publish consistently.
  3. Tests & docs:
    • Extend tests/native_compile_dxil_refusals_check.py and tests/native_compile_dxil_watch_check.py with .rtv positive and negative controls, and update docs/experiments/native-compile-dxil-{refusals,watch}.md.

I am taking this slice.

**@⁠stan495** on GitHub · 2026-11-27 03:59 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3001) Target branch `cpp-migration`. Refs #2935 (Tooling: `--watch` and `--refusals` support for `req_<key>.rtv` variants added in #2989). ### Scope 1. **`compile_dxil --refusals`**: - Scan `req_<key>.rtv` alongside `req_<key>.a` (deduplicating same-key `.a`+`.rtv` in favor of `.rtv`). - Run read-only `prepare_direct_graphics(..., /*write_cache=*/false, input.rtv_formats)` and validate `format_graphics_runtime_manifest(pair, input.rtv_request)` for RTV variants without invoking DXC or writing files. 2. **`compile_dxil --watch`**: - Scan `req_<key>.rtv` alongside `.a`/`.c67` (with same-key `.rtv` precedence). - Resolve the base request's `.psin` path for `.rtv` variants (matching `gfx2hlsl.py::request_source`) so base `.psin` updates/removals trigger rechecks and `.psdep` / `rtv1` manifest lines publish consistently. 3. **Tests & docs**: - Extend `tests/native_compile_dxil_refusals_check.py` and `tests/native_compile_dxil_watch_check.py` with `.rtv` positive and negative controls, and update `docs/experiments/native-compile-dxil-{refusals,watch}.md`. I am taking this slice.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 04:02:11 +00:00
Author
Owner

@⁠MasterDomino on GitHub · 2026-11-27 04:36 UTC · original

Completed by #3003, merged into cpp-migration as 999e17cd. Merges into a non-default branch do not close issues automatically.

**@⁠MasterDomino** on GitHub · 2026-11-27 04:36 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3001#issuecomment-7209936359) Completed by #3003, merged into `cpp-migration` as 999e17cd. Merges into a non-default branch do not close issues automatically.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/R0Y00--Xbox2Windows#3001
No description provided.