compile_dxil: add --rekey mode matching shader_cache_rekey.py #3014

Merged
stan495 merged 2 commits from upstream-pr/3014 into main 2026-11-28 07:02:04 +00:00
stan495 commented 2026-11-27 05:11:56 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by stan495 on 2026-11-27T05:11:56Z.


Adds --rekey to compile_dxil as the native C++ equivalent of tools/startup/shader_cache_rekey.py.

Changes

  • src/shader_compute_request.{h,cpp}: Expose shared fnv1a_64, graphics_request_key, compute_request_key, mesh57_request_key, .psin parser/formatter, and .rtv parser/formatter helpers reused by read_graphics_request, read_compute_request, and compile_dxil --rekey.
  • tools/startup/compile_dxil.cpp: Implement compile_dxil --rekey OLD_CACHE_DIR NEW_REQUEST_DIR [--jobs N] (no SDK_DIRECTORY or DXC required):
    • Non-recursively scans OLD_CACHE_DIR for req_<16-hex> markers (.a, .c67, .m57, .rtv), counts .m86 markers, and ignores result/diagnostic files (.txt, .fail, .cso, .psdep).
    • Validates and recomputes keys in parallel before creating or modifying NEW_REQUEST_DIR; incomplete/unreadable/malformed requests exit 1 without writing anything, and invalid CLI usage or OLD_CACHE_DIR == NEW_REQUEST_DIR exits 2.
    • Publishes files atomically (ready markers .a, .c67, .m57 written last), rewrites .psin and .rtv payloads with the updated keys, skips already-present files in NEW_REQUEST_DIR, and leaves OLD_CACHE_DIR untouched.
  • tests/native_compile_dxil_rekey_check.py & tests/cmake/native_compile_dxil_rekey.cmake: Register native_compile_dxil_rekey testing revision-constant parity across C++ and Python, byte-for-byte parity with shader_cache_rekey.py, gfx2hlsl.pending_keys compatibility, --jobs 1 vs --jobs 2 determinism, idempotency, source-directory immutability, 7 incomplete/corrupted negative controls, and 8 CLI negative controls.
  • docs/experiments/native-compile-dxil-rekey.md: Document --rekey usage and verification.

Verification (commit 50d53508)

.\tools\dev.ps1
cmake --preset release
cmake --build --preset release --target compile_dxil
ctest --preset release --no-tests=error -V -R "^(native_compile_dxil_rekey|native_compile_dxil_watch|native_compile_dxil_refusals|native_rtv_variant_controls|native_startup_request_cache_controls)$"

Result: 5/5 passed (native_compile_dxil_refusals, native_compile_dxil_rekey, native_compile_dxil_watch, native_rtv_variant_controls, native_startup_request_cache_controls).

.\out\pe-env\Scripts\python.exe -B tests/startup_shader_cache_rekey_check.py
.\out\pe-env\Scripts\python.exe -B tests/docs_links_check.py
.\out\pe-env\Scripts\python.exe -B tests/bidi_controls_check.py

Result: all passed (54 Markdown files / 571 links, 2170 tracked files checked).

Fixes #3012
Refs #2935

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5521567700 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3014). Originally posted by [stan495](https://github.com/stan495) on 2026-11-27T05:11:56Z. --- Adds `--rekey` to `compile_dxil` as the native C++ equivalent of `tools/startup/shader_cache_rekey.py`. ## Changes - **`src/shader_compute_request.{h,cpp}`**: Expose shared `fnv1a_64`, `graphics_request_key`, `compute_request_key`, `mesh57_request_key`, `.psin` parser/formatter, and `.rtv` parser/formatter helpers reused by `read_graphics_request`, `read_compute_request`, and `compile_dxil --rekey`. - **`tools/startup/compile_dxil.cpp`**: Implement `compile_dxil --rekey OLD_CACHE_DIR NEW_REQUEST_DIR [--jobs N]` (no `SDK_DIRECTORY` or DXC required): - Non-recursively scans `OLD_CACHE_DIR` for `req_<16-hex>` markers (`.a`, `.c67`, `.m57`, `.rtv`), counts `.m86` markers, and ignores result/diagnostic files (`.txt`, `.fail`, `.cso`, `.psdep`). - Validates and recomputes keys in parallel before creating or modifying `NEW_REQUEST_DIR`; incomplete/unreadable/malformed requests exit `1` without writing anything, and invalid CLI usage or `OLD_CACHE_DIR == NEW_REQUEST_DIR` exits `2`. - Publishes files atomically (ready markers `.a`, `.c67`, `.m57` written last), rewrites `.psin` and `.rtv` payloads with the updated keys, skips already-present files in `NEW_REQUEST_DIR`, and leaves `OLD_CACHE_DIR` untouched. - **`tests/native_compile_dxil_rekey_check.py`** & **`tests/cmake/native_compile_dxil_rekey.cmake`**: Register `native_compile_dxil_rekey` testing revision-constant parity across C++ and Python, byte-for-byte parity with `shader_cache_rekey.py`, `gfx2hlsl.pending_keys` compatibility, `--jobs 1` vs `--jobs 2` determinism, idempotency, source-directory immutability, 7 incomplete/corrupted negative controls, and 8 CLI negative controls. - **`docs/experiments/native-compile-dxil-rekey.md`**: Document `--rekey` usage and verification. ## Verification (commit `50d53508`) ```powershell .\tools\dev.ps1 cmake --preset release cmake --build --preset release --target compile_dxil ctest --preset release --no-tests=error -V -R "^(native_compile_dxil_rekey|native_compile_dxil_watch|native_compile_dxil_refusals|native_rtv_variant_controls|native_startup_request_cache_controls)$" ``` Result: `5/5` passed (`native_compile_dxil_refusals`, `native_compile_dxil_rekey`, `native_compile_dxil_watch`, `native_rtv_variant_controls`, `native_startup_request_cache_controls`). ```powershell .\out\pe-env\Scripts\python.exe -B tests/startup_shader_cache_rekey_check.py .\out\pe-env\Scripts\python.exe -B tests/docs_links_check.py .\out\pe-env\Scripts\python.exe -B tests/bidi_controls_check.py ``` Result: all passed (`54` Markdown files / `571` links, `2170` tracked files checked). Fixes #3012 Refs #2935
R0Y00 commented 2026-11-27 05:26:52 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T05:26:52Z.

Review: COMMENTED


A merge trial of 50d53508 with #3006 5c49bbe3 conflicts in tools/startup/compile_dxil.cpp. Please coordinate the landing order and rebase the second PR, preserving both rekey behavior and the native output revision checks. After resolving, the focused integration coverage is native_compile_dxil_rekey, native_compile_dxil_watch, and the published-dispatch refusal controls.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6083856900 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3014#pullrequestreview-6083856900). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-27T05:26:52Z. **Review:** COMMENTED --- A merge trial of `50d53508` with #3006 `5c49bbe3` conflicts in `tools/startup/compile_dxil.cpp`. Please coordinate the landing order and rebase the second PR, preserving both rekey behavior and the native output revision checks. After resolving, the focused integration coverage is `native_compile_dxil_rekey`, `native_compile_dxil_watch`, and the published-dispatch refusal controls.
KelboLive commented 2026-11-27 05:38:04 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-27T05:38:04Z.

Review: COMMENTED


What works

  1. Clean extraction of shared helpers (fnv1a_64, request key
    computations, psin/rtv parsing) into shader_compute_request.{h,} and
    reuse of read_rekey_bytes and read_rekey_string in the compile_dxil
    --rekey mode. The C++ rekey is a proper parity match with the Python
    original.
  2. Atomic publishing of rewritten requests (ready markers written last) +
    exit code 1 failure before any writes on incomplete/malformed requests.
    This avoids partial-cache corruption on rekey failure.
  3. Parallel processing with configurable job count (defaulting to
    hardware_concurrency, capped at 64) -- sensible defaults and good CLI.
  4. The Python test verifies byte-for-byte parity with the Python rekey,
    idempotency, read-only preservation, and all incomplete-request / CLI
    negative controls.

Issues

  1. shader_compute_request.h adds several top-level declarations (fnv1a_64,
    request key functions, parse_pixel_input_description, etc.) as
    non-namespaced C functions but also declares x2w::PixelInputDescription
    and x2w::RtvVariantDescription inside the x2w namespace. The mixed
    namespace placement could be confusing -- the helper functions should
    likely live inside x2w:: too.
  2. rekey_request_path uses a hardcoded req_ prefix string literal.
    This is consistent with the marker format but should ideally reference a
    shared constant if marker parsing is done elsewhere.
  3. No test case for .m86 (already-present) vs .a/.c67/.m57) marker
    counting. The doc mentions counting .m86 markers but the test doesn't
    explicitly verify this count (good that it preserves already-present files,
    but a dedicated test would help).

Recommendations

  • Consider moving the standalone C functions (fnv1a_64, format/parse_*)
    into the x2w namespace or into an internal detail namespace.
  • Rekey test could add a dedicated check for the .m86 counter.

Overall

Excellent utility function: a native rekey parity match with the Python
original, with proper atomicity, parallelism, and error handling.
Approvable after the namespace note.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6083927435 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3014#pullrequestreview-6083927435). Originally posted by [KelboLive](https://github.com/KelboLive) on 2026-11-27T05:38:04Z. **Review:** COMMENTED --- ## What works 1. Clean extraction of shared helpers (fnv1a_64, request key computations, psin/rtv parsing) into shader_compute_request.{h,} and reuse of `read_rekey_bytes` and `read_rekey_string` in the compile_dxil --rekey mode. The C++ rekey is a proper parity match with the Python original. 2. Atomic publishing of rewritten requests (ready markers written last) + exit code 1 failure before any writes on incomplete/malformed requests. This avoids partial-cache corruption on rekey failure. 3. Parallel processing with configurable job count (defaulting to hardware_concurrency, capped at 64) -- sensible defaults and good CLI. 4. The Python test verifies byte-for-byte parity with the Python rekey, idempotency, read-only preservation, and all incomplete-request / CLI negative controls. ## Issues 1. `shader_compute_request.h` adds several top-level declarations (fnv1a_64, request key functions, parse_pixel_input_description, etc.) as non-namespaced C functions but also declares `x2w::PixelInputDescription` and `x2w::RtvVariantDescription` inside the `x2w` namespace. The mixed namespace placement could be confusing -- the helper functions should likely live inside x2w:: too. 2. `rekey_request_path` uses a hardcoded `req_` prefix string literal. This is consistent with the marker format but should ideally reference a shared constant if marker parsing is done elsewhere. 3. No test case for `.m86` (already-present) vs `.a`/`.c67`/`.m57`) marker counting. The doc mentions counting `.m86` markers but the test doesn't explicitly verify this count (good that it preserves already-present files, but a dedicated test would help). ## Recommendations - Consider moving the standalone C functions (fnv1a_64, format/parse_*) into the x2w namespace or into an internal detail namespace. - Rekey test could add a dedicated check for the .m86 counter. ## Overall Excellent utility function: a native rekey parity match with the Python original, with proper atomicity, parallelism, and error handling. Approvable after the namespace note.
stan495 commented 2026-11-27 05:45:31 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by stan495 on 2026-11-27T05:45:31Z.


@R0Y00 Happy to let #3006 land first since it touches more files. As soon as #3006 merges into cpp-migration, I'll rebase #3014 on top, preserve both --rekey and the native output revision checks, and re-run native_compile_dxil_rekey, native_compile_dxil_watch, and the published-dispatch refusal controls (or if you prefer to merge #3014 first, it is currently clean on 999e17cd).

@KelboLive Thanks for reviewing! Two quick clarifications from the diff:

  1. All new helper declarations (fnv1a_64, graphics_request_key, compute_request_key, mesh57_request_key, parse_*, format_*) in src/shader_compute_request.h are already inside namespace x2w { ... } (lines 8–30).
  2. The .m86 counter is already explicitly tested in tests/native_compile_dxil_rekey_check.py (seeding req_123456789abcdef0.m86, asserting 'not re-keyed (own key strings): m86 1' in res_cpp.stdout, and verifying no .m86 file is copied).
  3. "req_" matches the existing prefix spelling used throughout tools/startup/compile_dxil.cpp (--refusals, --watch, --requests) and src/shader_compute_request.cpp.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7210920137 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3014#issuecomment-7210920137). Originally posted by [stan495](https://github.com/stan495) on 2026-11-27T05:45:31Z. --- @R0Y00 Happy to let #3006 land first since it touches more files. As soon as #3006 merges into `cpp-migration`, I'll rebase #3014 on top, preserve both `--rekey` and the native output revision checks, and re-run `native_compile_dxil_rekey`, `native_compile_dxil_watch`, and the published-dispatch refusal controls (or if you prefer to merge #3014 first, it is currently clean on `999e17cd`). @KelboLive Thanks for reviewing! Two quick clarifications from the diff: 1. All new helper declarations (`fnv1a_64`, `graphics_request_key`, `compute_request_key`, `mesh57_request_key`, `parse_*`, `format_*`) in `src/shader_compute_request.h` are already inside `namespace x2w { ... }` (lines 8–30). 2. The `.m86` counter is already explicitly tested in `tests/native_compile_dxil_rekey_check.py` (seeding `req_123456789abcdef0.m86`, asserting `'not re-keyed (own key strings): m86 1' in res_cpp.stdout`, and verifying no `.m86` file is copied). 3. `"req_"` matches the existing prefix spelling used throughout `tools/startup/compile_dxil.cpp` (`--refusals`, `--watch`, `--requests`) and `src/shader_compute_request.cpp`.
pigalot commented 2026-11-28 00:56:03 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by pigalot on 2026-11-28T00:56:03Z.


I tried merging cpp-migration a0f67731 into 50d53508 to clear the conflict, and stopped. The conflict is semantic, so I did not push.

The conflicting file is src/shader_compute_request.cpp, in read_graphics_request and read_compute_request.

What clashes:

  • This PR moves the key computation into x2w::graphics_request_key and x2w::compute_request_key, which hard-code x2w-startup-shader-28 and x2w-startup-shader-28cs. The readers call those helpers.
  • cpp-migration now uses revision 29 (x2w-startup-shader-29 / -29cs) in both readers, and also accepts a revision-28 key so older archives still replay. It does this with a local request_key(revision) lambda. tools/startup/gfx2hlsl.py writes revision 29.

What a resolution needs:

  • The helpers need to take a revision, or the readers need to try both.
  • Someone has to decide which revision compile_dxil --rekey writes. As merged, it would write 28, which no longer matches what gfx2hlsl.py writes.
  • tests/native_compile_dxil_rekey_check.py checks for the -28 tokens and would need the same decision.

Those are your choices, so I left the branch as it was. tools/startup/compile_dxil.cpp merged without conflict.

This reply was AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7231297897 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3014#issuecomment-7231297897). Originally posted by [pigalot](https://github.com/pigalot) on 2026-11-28T00:56:03Z. --- I tried merging `cpp-migration` `a0f67731` into `50d53508` to clear the conflict, and stopped. The conflict is semantic, so I did not push. **The conflicting file** is `src/shader_compute_request.cpp`, in `read_graphics_request` and `read_compute_request`. **What clashes:** - **This PR** moves the key computation into `x2w::graphics_request_key` and `x2w::compute_request_key`, which hard-code `x2w-startup-shader-28` and `x2w-startup-shader-28cs`. The readers call those helpers. - **`cpp-migration`** now uses revision 29 (`x2w-startup-shader-29` / `-29cs`) in both readers, and also accepts a revision-28 key so older archives still replay. It does this with a local `request_key(revision)` lambda. `tools/startup/gfx2hlsl.py` writes revision 29. **What a resolution needs:** - The helpers need to take a revision, or the readers need to try both. - Someone has to decide which revision `compile_dxil --rekey` writes. As merged, it would write 28, which no longer matches what `gfx2hlsl.py` writes. - `tests/native_compile_dxil_rekey_check.py` checks for the `-28` tokens and would need the same decision. Those are your choices, so I left the branch as it was. `tools/startup/compile_dxil.cpp` merged without conflict. This reply was AI-assisted.
R0Y00 commented 2026-11-28 01:04:23 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-28T01:04:23Z.


#3006 landed in main at 7364e6a9. Please carry this existing PR onto current main and retarget it there once the conflict is resolved. Preserve revision-29 output keys, revision-28 input compatibility, and both the watcher and published-dispatch native-output revision checks. Please rerun native_compile_dxil_rekey, native_compile_dxil_watch and the relevant native Dispatch and legacy-cache controls. #3138 also touches sidecar parsing on the compiler stack, so keep the key helpers and parsing changes easy to compare there.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7231399938 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3014#issuecomment-7231399938). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-28T01:04:23Z. --- #3006 landed in main at 7364e6a9. Please carry this existing PR onto current main and retarget it there once the conflict is resolved. Preserve revision-29 output keys, revision-28 input compatibility, and both the watcher and published-dispatch native-output revision checks. Please rerun native_compile_dxil_rekey, native_compile_dxil_watch and the relevant native Dispatch and legacy-cache controls. #3138 also touches sidecar parsing on the compiler stack, so keep the key helpers and parsing changes easy to compare there.
akimfomin commented 2026-11-28 01:30:29 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by akimfomin on 2026-11-28T01:30:29Z.


I also checked 50d53508 together with #3138 (e31ffc6d); the source pair conflicts in shader_compute_request.cpp and compile_dxil.cpp. This is distinct from the #3006 migration. After retargeting, use a stale-timestamp changed .ps57in plus an unchanged rekeyed derived RTV request. Request identity can move under --rekey, but the watcher must still compare canonical sidecar content; an unchanged request is the cache-hit control.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7231713831 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3014#issuecomment-7231713831). Originally posted by [akimfomin](https://github.com/akimfomin) on 2026-11-28T01:30:29Z. --- I also checked `50d53508` together with [#3138](https://github.com/R0Y00/Xbox2Windows/pull/3138) (`e31ffc6d`); the source pair conflicts in `shader_compute_request.cpp` and `compile_dxil.cpp`. This is distinct from the #3006 migration. After retargeting, use a stale-timestamp changed `.ps57in` plus an unchanged rekeyed derived RTV request. Request identity can move under `--rekey`, but the watcher must still compare canonical sidecar content; an unchanged request is the cache-hit control.
stan495 commented 2026-11-28 06:17:55 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by stan495 on 2026-11-28T06:17:55Z.


Rebased onto current main (6a1968a1) as c507563d and retargeted this PR to main.

  • x2w::graphics_request_key and x2w::compute_request_key now default to revision 29 (x2w-startup-shader-29 / x2w-startup-shader-29cs) and accept an optional revision_override, so compile_dxil --rekey emits revision-29 keys while read_graphics_request and read_compute_request continue accepting revision-28 archives.
  • Resolved the include conflict in tools/startup/compile_dxil.cpp keeping both native_compute_output.h and shader_compute_request.h.
  • Updated tests/native_compile_dxil_rekey_check.py to check the revision-29 strings across C++ and Python.

Verified on c507563d with ctest --preset dev --no-tests=error -V -R '^(native_compile_dxil_(rekey|watch|refusals)|native_rtv_variant_(controls|warp)|native_startup_request_cache_(controls|warp))$': 7/7 passed (native_compile_dxil_refusals, native_compile_dxil_rekey, native_compile_dxil_watch, native_rtv_variant_controls, native_rtv_variant_warp, native_startup_request_cache_controls, native_startup_request_cache_warp).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7235206047 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3014#issuecomment-7235206047). Originally posted by [stan495](https://github.com/stan495) on 2026-11-28T06:17:55Z. --- Rebased onto current `main` (`6a1968a1`) as `c507563d` and retargeted this PR to `main`. - `x2w::graphics_request_key` and `x2w::compute_request_key` now default to revision 29 (`x2w-startup-shader-29` / `x2w-startup-shader-29cs`) and accept an optional `revision_override`, so `compile_dxil --rekey` emits revision-29 keys while `read_graphics_request` and `read_compute_request` continue accepting revision-28 archives. - Resolved the include conflict in `tools/startup/compile_dxil.cpp` keeping both `native_compute_output.h` and `shader_compute_request.h`. - Updated `tests/native_compile_dxil_rekey_check.py` to check the revision-29 strings across C++ and Python. Verified on `c507563d` with `ctest --preset dev --no-tests=error -V -R '^(native_compile_dxil_(rekey|watch|refusals)|native_rtv_variant_(controls|warp)|native_startup_request_cache_(controls|warp))$'`: 7/7 passed (`native_compile_dxil_refusals`, `native_compile_dxil_rekey`, `native_compile_dxil_watch`, `native_rtv_variant_controls`, `native_rtv_variant_warp`, `native_startup_request_cache_controls`, `native_startup_request_cache_warp`).
R0Y00 commented 2026-11-28 06:27:10 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-28T06:27:10Z.

Review: CHANGES_REQUESTED


Independent Release re-review on c507563d after retargeting to main. Built compile_dxil, offscreen_check, startup_stream_consumer and d3d12_xs_shim, then ran ctest --preset release --no-tests=error --output-on-failure -j 1 -R '^(native_compile_dxil_(rekey|watch|refusals)|native_rtv_variant_(controls|warp)|native_startup_request_cache_(controls|warp))$'. All seven passed with no skips, including the two inbox WARP cases. The C++/Python rekey comparison, idempotency and negative controls passed. The shared helpers output revision 29 and the readers retain revision 28 input compatibility.

Please correct docs/experiments/native-compile-dxil-rekey.md, which still lists x2w-startup-shader-28 and x2w-startup-shader-28cs as the current output revisions. Document 29 output and 28 reader compatibility. The separate #3138 merge on the compiler stack still overlaps shader_compute_request.cpp and compile_dxil.cpp; the ordinary main-targeted test above did not exercise that stacked combination.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6096268655 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3014#pullrequestreview-6096268655). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-28T06:27:10Z. **Review:** CHANGES_REQUESTED --- Independent Release re-review on `c507563d` after retargeting to main. Built `compile_dxil`, `offscreen_check`, `startup_stream_consumer` and `d3d12_xs_shim`, then ran `ctest --preset release --no-tests=error --output-on-failure -j 1 -R '^(native_compile_dxil_(rekey|watch|refusals)|native_rtv_variant_(controls|warp)|native_startup_request_cache_(controls|warp))$'`. All seven passed with no skips, including the two inbox WARP cases. The C++/Python rekey comparison, idempotency and negative controls passed. The shared helpers output revision 29 and the readers retain revision 28 input compatibility. Please correct `docs/experiments/native-compile-dxil-rekey.md`, which still lists `x2w-startup-shader-28` and `x2w-startup-shader-28cs` as the current output revisions. Document 29 output and 28 reader compatibility. The separate #3138 merge on the compiler stack still overlaps `shader_compute_request.cpp` and `compile_dxil.cpp`; the ordinary main-targeted test above did not exercise that stacked combination.
R0Y00 commented 2026-11-28 07:01:42 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-28T07:01:42Z.

Review: APPROVED


Re-reviewed 8ce91312. The only change from the previous tested head is the experiment note, which now says revision 29 output and revision 28 input compatibility. The docs-link check passed. All seven Release rekey, watcher, refusal, RTV and startup request cache tests passed again with zero skips, including both inbox WARP cases. The requested change is resolved. The separate #3091 compiler stack still needs its overlap with these helpers reconciled when it refreshes onto main.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6096379482 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3014#pullrequestreview-6096379482). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-28T07:01:42Z. **Review:** APPROVED --- Re-reviewed `8ce91312`. The only change from the previous tested head is the experiment note, which now says revision 29 output and revision 28 input compatibility. The docs-link check passed. All seven Release rekey, watcher, refusal, RTV and startup request cache tests passed again with zero skips, including both inbox WARP cases. The requested change is resolved. The separate #3091 compiler stack still needs its overlap with these helpers reconciled when it refreshes onto main.
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
R0Y00/Xbox2Windows!3014
No description provided.