d3d12 tests: skip PSO tests on devices below the 144-byte push-constant contract #1449

Closed
whoalin1 wants to merge 2 commits from upstream-pr/1449 into main
whoalin1 commented 2026-11-25 00:24:53 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-25T00:24:53Z.


Claimed in the coordination issue: https://github.com/ProjectLeonida/mandy/issues/14#issuecomment-7148481068
Related: #1419 applies the same guard to #1341's new d3d12_skip_compute_test (Depends on: #1341).

What

On GPUs whose maxPushConstantsSize is under the 144 bytes every translated shader's push-constant block needs (the Vulkan minimum is 128; AMD Radeon iGPUs report 128), the D3D12 layer refuses every pipeline with E_NOTIMPL (PipelineState::push_constants_fit; the uniform-buffer tail is not built yet). Every test that creates a PSO therefore failed on such devices — 24 ctest entries on our AMD iGPU.

LEONIDA_PC_TAIL_UBO=1 does not help these tests: it only changes how test/shaders/build.py translates the .asm fixtures, while the layer still declares the whole 144-byte VkPushConstantRange.

  • vktest::Device now records the chosen device's maxPushConstantsSize and offers below_shader_push_constant_contract() — the vk-side twin of rt::d3d12::device_push_constants_need_fallback (same <144 condition, usable before the D3D12 device exists, which the helper-structured tests need).
  • One guard line after initialize() in the 22 test sources behind the 24 failing entries (all already had SKIP_RETURN_CODE 77 in CMake — no CMake change).
  • Tests that intentionally exercise the refusal (d3d12_vulkan_device_test) and tests already guarded are untouched.

Tested

  • AMD Radeon iGPU (gfx1035, driver 24.10.24, Vulkan 1.3.280, LEONIDA_PC_TAIL_UBO=1, validation on): all 24 entries now ***Skipped (exit 77) — e.g. d3d12_compute_test: skipped, the shaders' push-constant block needs 144 bytes and this GPU has 128; the remaining AMD failures are the 3 known pre-existing ones (d3d12_clear NaN → #787, d3d12_xdxr_rt_check → #1210, d3d12_pipeline_library_host env crash).
  • NVIDIA RTX 4070 SUPER: all 24 touched tests PASS (24/24).
  • Full build clean (Ninja, RelWithDebInfo, 622+ targets).

Known tradeoff (reviewer-noted): d3d12_typeless_families/d3d12_depth_resolve skip their clears-only paths too on low-limit devices; d3d12_first_light (package-gated) and d3d12_state_sweep (silent zero-comparison pass) have the same latent gap — follow-ups noted on the coordination issue.

AI-assisted (Devin).

Consolidated follow-up

This branch now also includes the two remaining push-constant-contract skips formerly opened as #1467: d3d12_first_light_test and d3d12_state_sweep_test now exit 77 before building PSOs on devices below the 144-byte contract, rather than failing or silently comparing nothing. The consolidation is cherry-pick e8f09538f; no additional code was written.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5482707792 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1449). Originally posted by [whoalin1](https://github.com/whoalin1) on 2026-11-25T00:24:53Z. --- Claimed in the coordination issue: https://github.com/ProjectLeonida/mandy/issues/14#issuecomment-7148481068 Related: #1419 applies the same guard to #1341's new `d3d12_skip_compute_test` (Depends on: #1341). ## What On GPUs whose `maxPushConstantsSize` is under the 144 bytes every translated shader's push-constant block needs (the Vulkan minimum is 128; AMD Radeon iGPUs report 128), the D3D12 layer refuses **every** pipeline with `E_NOTIMPL` (`PipelineState::push_constants_fit`; the uniform-buffer tail is not built yet). Every test that creates a PSO therefore **failed** on such devices — 24 ctest entries on our AMD iGPU. `LEONIDA_PC_TAIL_UBO=1` does not help these tests: it only changes how `test/shaders/build.py` translates the `.asm` fixtures, while the layer still declares the whole 144-byte `VkPushConstantRange`. - `vktest::Device` now records the chosen device's `maxPushConstantsSize` and offers `below_shader_push_constant_contract()` — the vk-side twin of `rt::d3d12::device_push_constants_need_fallback` (same `<144` condition, usable **before** the D3D12 device exists, which the helper-structured tests need). - One guard line after `initialize()` in the 22 test sources behind the 24 failing entries (all already had `SKIP_RETURN_CODE 77` in CMake — no CMake change). - Tests that intentionally exercise the refusal (`d3d12_vulkan_device_test`) and tests already guarded are untouched. ## Tested - AMD Radeon iGPU (gfx1035, driver 24.10.24, Vulkan 1.3.280, `LEONIDA_PC_TAIL_UBO=1`, validation on): all 24 entries now `***Skipped` (exit 77) — e.g. `d3d12_compute_test: skipped, the shaders' push-constant block needs 144 bytes and this GPU has 128`; the remaining AMD failures are the 3 known pre-existing ones (`d3d12_clear` NaN → #787, `d3d12_xdxr_rt_check` → #1210, `d3d12_pipeline_library_host` env crash). - NVIDIA RTX 4070 SUPER: all 24 touched tests **PASS** (24/24). - Full build clean (Ninja, RelWithDebInfo, 622+ targets). Known tradeoff (reviewer-noted): `d3d12_typeless_families`/`d3d12_depth_resolve` skip their clears-only paths too on low-limit devices; `d3d12_first_light` (package-gated) and `d3d12_state_sweep` (silent zero-comparison pass) have the same latent gap — follow-ups noted on the coordination issue. AI-assisted (Devin). ## Consolidated follow-up This branch now also includes the two remaining push-constant-contract skips formerly opened as #1467: `d3d12_first_light_test` and `d3d12_state_sweep_test` now exit 77 before building PSOs on devices below the 144-byte contract, rather than failing or silently comparing nothing. The consolidation is cherry-pick `e8f09538f`; no additional code was written.
PierreEbele commented 2026-11-25 15:31:01 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by PierreEbele on 2026-11-25T15:31:01Z.


Reviewed 90abd34f: this box (arm64 Linux, no GPU, no C++/Vulkan toolchain) cannot run or compile
the d3d12 suite, so verification was static: the <144 skip twins push_constants_fit
(sizeof(ShaderUserData)=144), all 22 guards follow initialize(), and all 24 ctest entries map
SKIP_RETURN_CODE 77. Unverified suggestion: state_sweep and first_light (env set) also build
through the shim with no such skip — a below-contract Windows GPU would still fail them; a
follow-up if such machines are in scope.

AI-assisted review.

Recommendation: Merge

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7166964154 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1449#issuecomment-7166964154). Originally posted by [PierreEbele](https://github.com/PierreEbele) on 2026-11-25T15:31:01Z. --- Reviewed 90abd34f: this box (arm64 Linux, no GPU, no C++/Vulkan toolchain) cannot run or compile the d3d12 suite, so verification was static: the <144 skip twins push_constants_fit (sizeof(ShaderUserData)=144), all 22 guards follow initialize(), and all 24 ctest entries map SKIP_RETURN_CODE 77. Unverified suggestion: state_sweep and first_light (env set) also build through the shim with no such skip — a below-contract Windows GPU would still fail them; a follow-up if such machines are in scope. AI-assisted review. **Recommendation:** Merge
whoalin1 commented 2026-11-25 19:06:14 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-25T19:06:14Z.


Rebased onto current main (73cc1a2ba) and pushed as 428522e85.

Verification on this machine:

  • Full rebuild after rebase: BUILD_RC=0.
  • NVIDIA RTX 4070 (Vulkan validation enabled): all 53 guarded entries passed, including the three xbox_native_base_draw / xbox_derived_mask_zero / xbox_derived_mask_restore entries.
  • AMD RDNA2 iGPU with LEONIDA_PC_TAIL_UBO=1: 52/53 guarded entries now skip honestly through return code 77; the only pass is d3d12_bundle_indirect_warp, which exits through the WARP path before the device-initialize guard. In particular, the three xbox entries that previously printed SKIP but were counted as failures now report ***Skipped because the regenerated CTest metadata maps them correctly.

The state-sweep / first-light coverage PierreEbele mentioned is already split into #1467 (honest-pushconst-skips), so this PR remains scoped to the existing PSO tests.

AI-assisted verification with Devin.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7171823064 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1449#issuecomment-7171823064). Originally posted by [whoalin1](https://github.com/whoalin1) on 2026-11-25T19:06:14Z. --- Rebased onto current main (`73cc1a2ba`) and pushed as `428522e85`. Verification on this machine: - Full rebuild after rebase: `BUILD_RC=0`. - NVIDIA RTX 4070 (Vulkan validation enabled): all 53 guarded entries passed, including the three `xbox_native_base_draw` / `xbox_derived_mask_zero` / `xbox_derived_mask_restore` entries. - AMD RDNA2 iGPU with `LEONIDA_PC_TAIL_UBO=1`: 52/53 guarded entries now skip honestly through return code 77; the only pass is `d3d12_bundle_indirect_warp`, which exits through the WARP path before the device-initialize guard. In particular, the three xbox entries that previously printed SKIP but were counted as failures now report `***Skipped` because the regenerated CTest metadata maps them correctly. The state-sweep / first-light coverage PierreEbele mentioned is already split into `#1467` (`honest-pushconst-skips`), so this PR remains scoped to the existing PSO tests. AI-assisted verification with Devin.
zmasi commented 2026-11-28 23:58:10 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T23:58:10Z.


Windows 11 + RTX 3090 Verification Report (e8f09538f7 merged onto origin/main a9e247cd69)

  • Merge Status: Clean merge onto origin/main (a9e247cd69) and clean in a 5-PR runtime/ batch merge.
  • Environment: Windows 11 (10.0.26200, x64), MSVC 19.44.35228, NVIDIA GeForce RTX 3090 (maxPushConstantsSize = 256), VK_LAYER_KHRONOS_validation 1.4.363.1 (LEONIDA_VK_VALIDATION=1, VK_VALIDATE_SYNC=1), Python 3.12.10.

Diff Audit (26 files, +51/-1)

  • runtime/test/vk_test_device.h: records max_push_constants_size = chosen.limits.maxPushConstantsSize in Device::initialize() and adds below_shader_push_constant_contract(const char* test) returning true (after printing a clear skip message) when max_push_constants_size < 144.
  • runtime/test/d3d12_*_test.cpp (24 PSO test executables): returns 77 (SKIP_RETURN_CODE) when below_shader_push_constant_contract(...) or rt::d3d12::device_push_constants_need_fallback(...) (d3d12_first_light_test, d3d12_state_sweep_test) reports < 144 bytes.
  • runtime/CMakeLists.txt: adds SKIP_RETURN_CODE 77 to xbox_native_base_draw, xbox_derived_mask_zero, and xbox_derived_mask_restore (d3d12_translated_draw_test variants). Programmatically audited every add_test(NAME ... COMMAND ...) invoking all 24 modified executables in runtime/CMakeLists.txt: 0 missing SKIP_RETURN_CODE 77 properties.

Verification on RTX 3090 (256 B native & 128 B simulated)

  1. Native RTX 3090 (maxPushConstantsSize = 256 >= 144):
    • below_shader_push_constant_contract returned false (native_max=256 native_skip=0).
    • d3d12_compute_test.exe (/O2 /MD /EHsc /W4 /permissive- /utf-8) ran to completion and passed (0.89 s, rc=0, 0 VUID- errors).
  2. Simulated 128-byte push-constant limit (maxPushConstantsSize = 128 < 144, matching Intel Gen9/UHD):
    • vktest::Device::below_shader_push_constant_contract("d3d12_compute_test") printed:
      d3d12_compute_test: skipped, the shaders' push-constant block needs 144 bytes and this GPU has 128 and returned true (rc=77).
    • rt::d3d12::create_vulkan_device with max_push_constants_size = 128 reported device_push_constants_need_fallback == true and device_max_push_constants_size == 128 (rc=77 path for d3d12_first_light_test and d3d12_state_sweep_test, preventing silent 0-case passes).
  3. CI / CTest gates: tests/test_ctest_registration.py and tests/test_ci_registration.py both passed (OK, rc=0).
    • Non-blocking note: Newer PSO tests added on main since this PR was authored (such as d3d12_big_compute_test.cpp, d3d12_compute_journal_test.cpp, d3d12_quad_index_test.cpp, d3d12_rect_list_test.cpp) can adopt below_shader_push_constant_contract in a follow-up if needed.

Verdict: PASS — ready to merge.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7247782559 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1449#issuecomment-7247782559). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-28T23:58:10Z. --- ### Windows 11 + RTX 3090 Verification Report (`e8f09538f7` merged onto `origin/main` `a9e247cd69`) - **Merge Status**: Clean merge onto `origin/main` (`a9e247cd69`) and clean in a 5-PR `runtime/` batch merge. - **Environment**: Windows 11 (`10.0.26200`, x64), MSVC `19.44.35228`, NVIDIA GeForce RTX 3090 (`maxPushConstantsSize = 256`), `VK_LAYER_KHRONOS_validation` `1.4.363.1` (`LEONIDA_VK_VALIDATION=1`, `VK_VALIDATE_SYNC=1`), Python `3.12.10`. #### Diff Audit (`26` files, `+51/-1`) - `runtime/test/vk_test_device.h`: records `max_push_constants_size = chosen.limits.maxPushConstantsSize` in `Device::initialize()` and adds `below_shader_push_constant_contract(const char* test)` returning `true` (after printing a clear skip message) when `max_push_constants_size < 144`. - `runtime/test/d3d12_*_test.cpp` (`24` PSO test executables): returns `77` (`SKIP_RETURN_CODE`) when `below_shader_push_constant_contract(...)` or `rt::d3d12::device_push_constants_need_fallback(...)` (`d3d12_first_light_test`, `d3d12_state_sweep_test`) reports `< 144` bytes. - `runtime/CMakeLists.txt`: adds `SKIP_RETURN_CODE 77` to `xbox_native_base_draw`, `xbox_derived_mask_zero`, and `xbox_derived_mask_restore` (`d3d12_translated_draw_test` variants). Programmatically audited every `add_test(NAME ... COMMAND ...)` invoking all `24` modified executables in `runtime/CMakeLists.txt`: **`0` missing `SKIP_RETURN_CODE 77` properties**. #### Verification on RTX 3090 (`256` B native & `128` B simulated) 1. **Native RTX 3090 (`maxPushConstantsSize = 256 >= 144`)**: - `below_shader_push_constant_contract` returned `false` (`native_max=256 native_skip=0`). - `d3d12_compute_test.exe` (`/O2 /MD /EHsc /W4 /permissive- /utf-8`) ran to completion and passed (`0.89 s`, `rc=0`, **`0` `VUID-` errors**). 2. **Simulated `128`-byte push-constant limit (`maxPushConstantsSize = 128 < 144`, matching Intel Gen9/UHD)**: - `vktest::Device::below_shader_push_constant_contract("d3d12_compute_test")` printed: `d3d12_compute_test: skipped, the shaders' push-constant block needs 144 bytes and this GPU has 128` and returned `true` (`rc=77`). - `rt::d3d12::create_vulkan_device` with `max_push_constants_size = 128` reported `device_push_constants_need_fallback == true` and `device_max_push_constants_size == 128` (`rc=77` path for `d3d12_first_light_test` and `d3d12_state_sweep_test`, preventing silent 0-case passes). 3. **CI / CTest gates**: `tests/test_ctest_registration.py` and `tests/test_ci_registration.py` both passed (`OK`, `rc=0`). - *Non-blocking note*: Newer PSO tests added on `main` since this PR was authored (such as `d3d12_big_compute_test.cpp`, `d3d12_compute_journal_test.cpp`, `d3d12_quad_index_test.cpp`, `d3d12_rect_list_test.cpp`) can adopt `below_shader_push_constant_contract` in a follow-up if needed. **Verdict**: **PASS** — ready to merge. AI-assisted.
OreoFR commented 2026-11-29 00:15:02 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T00:15:02Z.


Verified by OreoFR

  • Base: main a8465211f + PR head e8f09538f (merged with --no-ff, no conflict)
  • Test: full ctest (the 24 d3d12 PSO tests the PR touches)
  • Red on main: nothing to show here: this GPU reports 256 push-constant bytes, above the 144-byte contract, so the new skip path is not taken
  • Green with the PR: 485 tests, only the known main failure xbox_present; every touched d3d12 test still runs and passes (no skip on this GPU)
  • Verdict: NO RED (test-only; needs a device below 144 push-constant bytes to exercise the skip)
  • Machine: RTX 4070 Laptop 8 GB, NVIDIA 621.40, Intel Core Ultra 7 155H, Windows 11
  • Note: shares runtime/CMakeLists.txt and runtime/test/vk_test_device.h with the open #2566; a rebase may be needed if #2566 lands first.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7247981133 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1449#issuecomment-7247981133). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-29T00:15:02Z. --- **Verified by OreoFR** - Base: main `a8465211f` + PR head `e8f09538f` (merged with --no-ff, no conflict) - Test: `full ctest` (the 24 d3d12 PSO tests the PR touches) - Red on main: nothing to show here: this GPU reports 256 push-constant bytes, above the 144-byte contract, so the new skip path is not taken - Green with the PR: 485 tests, only the known main failure `xbox_present`; every touched d3d12 test still runs and passes (no skip on this GPU) - Verdict: NO RED (test-only; needs a device below 144 push-constant bytes to exercise the skip) - Machine: RTX 4070 Laptop 8 GB, NVIDIA 621.40, Intel Core Ultra 7 155H, Windows 11 - Note: shares `runtime/CMakeLists.txt` and `runtime/test/vk_test_device.h` with the open #2566; a rebase may be needed if #2566 lands first. AI-assisted (Claude Code, Claude Opus 5.5).
TheGeogeo commented 2026-11-29 14:18:28 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T14:18:28Z.


Ready for testing: merges cleanly with main 3535eb5c4. Not in main yet: git cherry finds 2 commit(s) not there, and 1 of the 44 lines it adds are already present. No duplicate found: it carries no claim ID, and no other open pull request has the same title.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7257201189 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1449#issuecomment-7257201189). Originally posted by [TheGeogeo](https://github.com/TheGeogeo) on 2026-11-29T14:18:28Z. --- Ready for testing: merges cleanly with `main` `3535eb5c4`. Not in `main` yet: `git cherry` finds 2 commit(s) not there, and 1 of the 44 lines it adds are already present. No duplicate found: it carries no claim ID, and no other open pull request has the same title. AI-assisted (Claude Code).
enlight3d commented 2026-11-29 15:51:49 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-29T15:51:49Z.


RUN report for #1449 (d3d12 tests: skip PSO tests below the 144-byte push-constant contract)

Heads: PR head e8f09538f (base 73cc1a2ba); origin/main c22a0a732, merged locally with git merge --no-ff (clean, 26 files).

Kind: runtime C++ tests only (24 test sources, vk_test_device.h, one SET_TESTS_PROPERTIES line in runtime/CMakeLists.txt). The guard only acts on a GPU whose maxPushConstantsSize is under 144; this GPU reports 256, so the real-hardware red is not reachable here.

Commands (VS 2022 vcvars64 shell, Ninja, RelWithDebInfo, -DLEONIDA_REQUIRE_VULKAN=ON, SDL3 via SDL3_DIR):

  • cmake --build <build> -j 8 --target <the 24 d3d12_*_test targets of the touched sources> (merged tree adds gta6rt)
  • ctest --test-dir <build> -I 0,0,0,<indices of the ctest entries that run those executables> -j 2 (55 entries at the PR head, 58 on current main, which has 3 more entries on the same executables)

Simulated low-limit device (ad hoc, not part of the PR; local patch only): both places that read maxPushConstantsSize (vktest::Device::initialize and the D3D12 layer's device state, two sites in d3d12_vulkan_device.cpp) take an override from an environment variable, set to 128.

Results:

  • RED, simulated 128-byte device, PR changes reverted to the base (tests, vk_test_device.h, CMake line): 52 of 55 entries fail (the layer refuses PSO creation under the 128-byte limit), 2 pass (d3d12_bundle_indirect_warp, d3d12_state_sweep, the latter being the silent zero-comparison case the PR mentions), 1 skipped (d3d12_first_light, package-gated). Kind: simulated behavioural red; the same revert on the real 256-byte device cannot fail.
  • GREEN, simulated 128-byte device, PR head: 0 failures, 54 skipped, 1 passed.
  • GREEN at PR head on the real device: 54 passed, 0 failed, 1 skipped (d3d12_first_light, needs the package, same on main).
  • GREEN merged into origin/main on the real device: 57 passed, 0 failed, 1 skipped (d3d12_first_light).
  • gta6rt imports (dumpbin /imports, DLL!symbol, merged vs plain main c22a0a732): 714 imports each, new imports: none, removed: none (as expected, test-only change).
  • Not covered: the 3 AMD failures the description mentions; no AMD GPU here.

Machine: Windows 11 Pro x64, RTX 3090 24 GB (has VK_EXT_mesh_shader), NVIDIA 621.40, MSVC 14.44 (VS 2022 Build Tools), CMake/Ninja from VS, Vulkan SDK 1.4.363.1, SDL3 3.4.20 static, Python 3.13.12.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7258427243 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1449#issuecomment-7258427243). Originally posted by [enlight3d](https://github.com/enlight3d) on 2026-11-29T15:51:49Z. --- RUN report for #1449 (d3d12 tests: skip PSO tests below the 144-byte push-constant contract) Heads: PR head `e8f09538f` (base `73cc1a2ba`); origin/main `c22a0a732`, merged locally with `git merge --no-ff` (clean, 26 files). Kind: runtime C++ tests only (24 test sources, `vk_test_device.h`, one `SET_TESTS_PROPERTIES` line in `runtime/CMakeLists.txt`). The guard only acts on a GPU whose `maxPushConstantsSize` is under 144; this GPU reports 256, so the real-hardware red is not reachable here. Commands (VS 2022 vcvars64 shell, Ninja, RelWithDebInfo, `-DLEONIDA_REQUIRE_VULKAN=ON`, SDL3 via SDL3_DIR): - `cmake --build <build> -j 8 --target <the 24 d3d12_*_test targets of the touched sources>` (merged tree adds `gta6rt`) - `ctest --test-dir <build> -I 0,0,0,<indices of the ctest entries that run those executables> -j 2` (55 entries at the PR head, 58 on current main, which has 3 more entries on the same executables) Simulated low-limit device (ad hoc, not part of the PR; local patch only): both places that read `maxPushConstantsSize` (`vktest::Device::initialize` and the D3D12 layer's device state, two sites in `d3d12_vulkan_device.cpp`) take an override from an environment variable, set to 128. Results: - RED, simulated 128-byte device, PR changes reverted to the base (tests, `vk_test_device.h`, CMake line): 52 of 55 entries fail (the layer refuses PSO creation under the 128-byte limit), 2 pass (`d3d12_bundle_indirect_warp`, `d3d12_state_sweep`, the latter being the silent zero-comparison case the PR mentions), 1 skipped (`d3d12_first_light`, package-gated). Kind: simulated behavioural red; the same revert on the real 256-byte device cannot fail. - GREEN, simulated 128-byte device, PR head: 0 failures, 54 skipped, 1 passed. - GREEN at PR head on the real device: 54 passed, 0 failed, 1 skipped (`d3d12_first_light`, needs the package, same on main). - GREEN merged into origin/main on the real device: 57 passed, 0 failed, 1 skipped (`d3d12_first_light`). - gta6rt imports (`dumpbin /imports`, DLL!symbol, merged vs plain main `c22a0a732`): 714 imports each, new imports: none, removed: none (as expected, test-only change). - Not covered: the 3 AMD failures the description mentions; no AMD GPU here. Machine: Windows 11 Pro x64, RTX 3090 24 GB (has VK_EXT_mesh_shader), NVIDIA 621.40, MSVC 14.44 (VS 2022 Build Tools), CMake/Ninja from VS, Vulkan SDK 1.4.363.1, SDL3 3.4.20 static, Python 3.13.12.
whoalin1 commented 2026-11-30 22:32:40 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-30T22:32:40Z.


Rebased onto current main as 3ecb56ce1 to refresh the stale CI baseline; the two-commit branch reapplied cleanly with no conflicts. Validation: CMake configure/generate passes and git diff --check is clean. The Windows GPU push-constant-limit behavior remains covered by the prior independent validation rather than locally rerun.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7293985323 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1449#issuecomment-7293985323). Originally posted by [whoalin1](https://github.com/whoalin1) on 2026-11-30T22:32:40Z. --- Rebased onto current `main` as `3ecb56ce1` to refresh the stale CI baseline; the two-commit branch reapplied cleanly with no conflicts. Validation: CMake configure/generate passes and `git diff --check` is clean. The Windows GPU push-constant-limit behavior remains covered by the prior independent validation rather than locally rerun.
aslan2142 commented 2026-12-01 16:35:56 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T16:35:56Z.


Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (d3d12/) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, d3d12/, or general docs), please feel free to reopen it.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7317871459 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1449#issuecomment-7317871459). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T16:35:56Z. --- Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (`d3d12/`) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, `d3d12/`, or general docs), please feel free to reopen it.

Pull request closed

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
ProjectLeonida/mandy!1449
No description provided.