d3d12: honor predication when clearing buffer UAVs #2277

Closed
PyZikYG wants to merge 1 commit from upstream-pr/2277 into main
PyZikYG commented 2026-11-26 12:14:11 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by PyZikYG on 2026-11-26T12:14:11Z.


Claimed as D3D-PREDICATED-BUFFER-UAV-CLEAR.

Summary

Buffer ClearUnorderedAccessViewUint and ClearUnorderedAccessViewFloat now honor SetPredication. The Vulkan replay uses the existing conditional compute path to repeat the encoded UAV element across each validated range. It carries the element position across descriptor windows and excludes the helper dispatches from application pipeline statistics.

Verification

Checked skipped and executed buffer clears by reading back their bytes, including narrow float-converted elements, overlapping integer ranges and a wide pattern split across descriptor windows. Ran the existing predicated-copy and short-clear coverage.

AI-assisted: yes.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5509825884 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2277). Originally posted by [PyZikYG](https://github.com/PyZikYG) on 2026-11-26T12:14:11Z. --- Claimed as [D3D-PREDICATED-BUFFER-UAV-CLEAR](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7191562917). ### Summary Buffer `ClearUnorderedAccessViewUint` and `ClearUnorderedAccessViewFloat` now honor `SetPredication`. The Vulkan replay uses the existing conditional compute path to repeat the encoded UAV element across each validated range. It carries the element position across descriptor windows and excludes the helper dispatches from application pipeline statistics. ### Verification Checked skipped and executed buffer clears by reading back their bytes, including narrow float-converted elements, overlapping integer ranges and a wide pattern split across descriptor windows. Ran the existing predicated-copy and short-clear coverage. AI-assisted: yes.
real-rusher commented 2026-11-26 12:24:04 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by real-rusher on 2026-11-26T12:24:04Z.


Partly verified on main a73a57e1 with Mesa llvmpipe (Mesa 25.2.8, LLVM 20.1.2, 256 bits, Ubuntu 24.04 x86-64, no GPU), GCC 13.3, Ninja. Merges cleanly.

  • vk_predicated_copy (ctest) passes with this PR: "32 gated + 32 reused submissions; byte offsets, forced windows, copy dependency, rebinding/reset and untouched bytes passed". The PR's runtime/test/vk_predicated_copy_test.cpp built against main fails, so its new case fails on main and passes with the change.
  • Not run: d3d12_uav_clear_test, which links d3d12/dxgi and is built on Windows only.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7191952694 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/2277#issuecomment-7191952694). Originally posted by [real-rusher](https://github.com/real-rusher) on 2026-11-26T12:24:04Z. --- Partly verified on main a73a57e1 with Mesa llvmpipe (Mesa 25.2.8, LLVM 20.1.2, 256 bits, Ubuntu 24.04 x86-64, no GPU), GCC 13.3, Ninja. Merges cleanly. - vk_predicated_copy (ctest) passes with this PR: "32 gated + 32 reused submissions; byte offsets, forced windows, copy dependency, rebinding/reset and untouched bytes passed". The PR's runtime/test/vk_predicated_copy_test.cpp built against main fails, so its new case fails on main and passes with the change. - Not run: d3d12_uav_clear_test, which links d3d12/dxgi and is built on Windows only. AI-assisted: yes (Claude Code)
ecox982745 commented 2026-11-26 13:50:13 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by ecox982745 on 2026-11-26T13:50:13Z.


I ran the Windows D3D12 buffer-clear test that the llvmpipe verification left open. On an RTX 4090, the parent executed clears that the predicate should have skipped. The PR preserved the expected bytes.

Test using the PR’s fixtures Parent a73a57e13 PR c53811511
d3d12_uav_clear_test 25 incorrect bytes. Bytes 3–7 were ff instead of 80 after the R8_UNORM clear, and the skipped integer clear overwrote earlier values. All 256 bytes in the predicated buffer matched. The full executable passed.
vk_predicated_copy_test Failed the first combined source/destination readback check. Passed all 32 gated and 32 reused submissions, including the forced descriptor-window case.

I also varied the predicate in a test-only copy of the buffer fixture. For each of EQUAL_ZERO and NOT_EQUAL_ZERO, I used a zero word and a word with exactly one bit set, at bit 0, 31, 32 or 63. The fixture exercised both executing and skipping integer and float clears in every run. All eight 256-byte readbacks matched, including bytes outside the clear ranges.

Windows 11, NVIDIA 616.64, MSVC Release, synthetic inputs. Both stock executables and all eight additional configurations passed on the PR with Vulkan synchronization validation enabled and zero validation errors. The stock suite reported its format-specific skip for A4B4G4R4_UNORM on this card.

AI-assisted verification by OpenAI Codex (GPT-6).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7193904862 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/2277#issuecomment-7193904862). Originally posted by [ecox982745](https://github.com/ecox982745) on 2026-11-26T13:50:13Z. --- I ran the Windows D3D12 buffer-clear test that the [llvmpipe verification](https://github.com/ubiquitarianism/leonida/pull/2277#issuecomment-7191952694) left open. On an RTX 4090, the parent executed clears that the predicate should have skipped. The PR preserved the expected bytes. | Test using the PR’s fixtures | Parent `a73a57e13` | PR `c53811511` | | --- | --- | --- | | `d3d12_uav_clear_test` | 25 incorrect bytes. Bytes 3–7 were `ff` instead of `80` after the R8_UNORM clear, and the skipped integer clear overwrote earlier values. | All 256 bytes in the predicated buffer matched. The full executable passed. | | `vk_predicated_copy_test` | Failed the first combined source/destination readback check. | Passed all 32 gated and 32 reused submissions, including the forced descriptor-window case. | I also varied the predicate in a test-only copy of the buffer fixture. For each of `EQUAL_ZERO` and `NOT_EQUAL_ZERO`, I used a zero word and a word with exactly one bit set, at bit 0, 31, 32 or 63. The fixture exercised both executing and skipping integer and float clears in every run. All eight 256-byte readbacks matched, including bytes outside the clear ranges. Windows 11, NVIDIA 616.64, MSVC Release, synthetic inputs. Both stock executables and all eight additional configurations passed on the PR with Vulkan synchronization validation enabled and zero validation errors. The stock suite reported its format-specific skip for A4B4G4R4_UNORM on this card. AI-assisted verification by OpenAI Codex (GPT-6).
wavehs commented 2026-11-26 19:03:25 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by wavehs on 2026-11-26T19:03:25Z.

Review: COMMENTED


macOS arm64 / GPU check of #2277 (D3D12-PREDICATED-UAV-CLEAR). A Vulkan compute pass, its host plumbing and a GPU test, so it runs here on KosmicKrisp (MoltenVK has no VK_EXT_conditional_rendering).

Tested head c53811511 merged onto main bdbc7e923 as merge 3eb6e4442 (clean, no conflicts).

Environment: Apple M3 Pro, arm64 (subgroups 4..32), macOS 27.2.1, Apple clang 21.0.0, CMake 4.5.0, MoltenVK 1.4.0, KosmicKrisp = Mesa 26.3.0 (subgroup 32), glslang 16.6.0.

The pass runs, and both controls bite

  • vk_predicated_copy_test on the merge, KosmicKrisp: exit 0, 32 gated + 32 reused submissions; byte offsets, forced windows, copy dependency, rebinding/reset and untouched bytes passed. The new clear case is inside that run (the test forces 67-byte descriptor windows, so the pattern is carried across window splits).
  • MoltenVK: the test skips (requires conditional rendering and storageBuffer8BitAccess), exit 0 - see the finding.
  • main bdbc7e923 with its own (copy-only) test on KosmicKrisp: exit 0. The old test never issues a clear, which is why this PR's bug could exist at all.
  • Negative control 1 (shader semantics): kept everything, removed the copy.phase term from predicated_copy.comp (byte_index = i % copy.element_size), regenerated the header and rebuilt. Exit 1 at line 120: std::memcmp(dst_data,expected.data(),bytes)==0 ... - the pattern restarted at each 67-byte window. Restored.
  • Negative control 2 (predication): kept everything, changed the new if (predicated) fill branch in vulkan_replay.h:3653 to if (false), so the clear fell through to the transfer path like main. Exit 1 at the same line 120 - the suppressed clear wrote its bytes. Restored.
  • The checked-in SPIR-V is exactly what glslang 16.6.0 -V --target-env vulkan1.2 -Os --spirv-val produces from predicated_copy.comp: 564 words, byte-identical. That is the first time I could compare rather than just run (the header names the same glslang version this machine has).
  • Related portable tests on the merge: predicated_copy_test, vk_command_replay_test, replay_query_edges_test and vk_predicate_capture_test (KosmicKrisp) all pass, as does replay_query_predication_test on both drivers. The out.unpredicated_copies change removes one counter increment and nothing depended on it.
  • Predication polarity cross-check, since this PR makes a new command class depend on it: EQUAL_ZERO → no inverted bit, NOT_EQUAL_ZERO → VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT here is the same mapping vkd3d uses (libs/vkd3d/command.c, d3d12_command_list_SetPredication), and the fills are emitted inside the same conditional scope (the branch is under the SetPredication capture), so a clear inside a predicate follows the same rule as a copy. I read the mapping as suspicious at first and checked it against vkd3d before writing this; it is right.

Cannot run here: d3d12_uav_clear_test, the Windows end of the PR (MSVC + a D3D12 device). So the API path - ClearUnorderedAccessViewUint inside SetPredication with the new Clear::Predicate cases, the info.storage_buffer_8bit gate and the no-helper-device rejection - is unexecuted on my side. It also only runs its new cases where conditional_rendering && storage_buffer_8bit both hold, so on an older AMD/Intel driver or a WARP without 8-bit storage the D3D12 coverage is skipped as well.

Finding: the capability skip is a pass, so the new clear coverage can be silently absent
runtime/test/vk_predicated_copy_test.cpp:27-30 returns 0 with predicated copy: skipped (...) when the device lacks VK_EXT_conditional_rendering or storageBuffer8BitAccess. vk_predicated_copy is registered with SKIP_RETURN_CODE 77 (runtime/CMakeLists.txt:2083), and the device-unavailable path already return 77, so returning 77 here would make CTest report a skip; returning 0 reports PASS. My MoltenVK run is exactly that case: a green test that ran none of the new code. On any CI GPU without the extension, the predicated-fill path this PR adds would be unverified while the suite looks clean. One line: return 77; for the capability skip, as the file already does for DeviceStatus::unavailable.

Nit: the replay now sets p.skip = true when the fills list is empty (vulkan_replay.h:3650-3653) even though detail::prepare_buffer_uav_clear already sets it for that case (:2100); one of the two is redundant. Harmless, and the explicit one reads better in the predicated branch, so I would only remove the older one if you touch it.

Not re-run: the shader corpus and the 268 GPU fixtures (no translator or harness change); the same-main baseline stands (195 PASS / 3 FAIL / 70 SKIP MoltenVK, 190 / 5 / 73 KosmicKrisp at bdbc7e923).

python -I scripts/check_no_game_data.py on the .comp, the regenerated header, the three host headers and the two tests: clean.

No game files. AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6079292109 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2277#pullrequestreview-6079292109). Originally posted by [wavehs](https://github.com/wavehs) on 2026-11-26T19:03:25Z. **Review:** COMMENTED --- **macOS arm64 / GPU check of #2277** (D3D12-PREDICATED-UAV-CLEAR). A Vulkan compute pass, its host plumbing and a GPU test, so it runs here on KosmicKrisp (MoltenVK has no `VK_EXT_conditional_rendering`). Tested head `c53811511` merged onto `main` `bdbc7e923` as merge `3eb6e4442` (clean, no conflicts). Environment: Apple M3 Pro, arm64 (subgroups 4..32), macOS 27.2.1, Apple clang 21.0.0, CMake 4.5.0, MoltenVK 1.4.0, KosmicKrisp = Mesa 26.3.0 (subgroup 32), glslang 16.6.0. **The pass runs, and both controls bite** - `vk_predicated_copy_test` on the merge, KosmicKrisp: exit 0, `32 gated + 32 reused submissions; byte offsets, forced windows, copy dependency, rebinding/reset and untouched bytes passed`. The new clear case is inside that run (the test forces 67-byte descriptor windows, so the pattern is carried across window splits). - MoltenVK: the test skips (`requires conditional rendering and storageBuffer8BitAccess`), exit 0 - see the finding. - `main` `bdbc7e923` with its own (copy-only) test on KosmicKrisp: exit 0. The old test never issues a clear, which is why this PR's bug could exist at all. - Negative control 1 (shader semantics): kept everything, removed the `copy.phase` term from `predicated_copy.comp` (`byte_index = i % copy.element_size`), regenerated the header and rebuilt. Exit 1 at `line 120: std::memcmp(dst_data,expected.data(),bytes)==0 ...` - the pattern restarted at each 67-byte window. Restored. - Negative control 2 (predication): kept everything, changed the new `if (predicated)` fill branch in `vulkan_replay.h:3653` to `if (false)`, so the clear fell through to the transfer path like `main`. Exit 1 at the same `line 120` - the suppressed clear wrote its bytes. Restored. - The checked-in SPIR-V is exactly what `glslang 16.6.0 -V --target-env vulkan1.2 -Os --spirv-val` produces from `predicated_copy.comp`: 564 words, byte-identical. That is the first time I could compare rather than just run (the header names the same glslang version this machine has). - Related portable tests on the merge: `predicated_copy_test`, `vk_command_replay_test`, `replay_query_edges_test` and `vk_predicate_capture_test` (KosmicKrisp) all pass, as does `replay_query_predication_test` on both drivers. The `out.unpredicated_copies` change removes one counter increment and nothing depended on it. - Predication polarity cross-check, since this PR makes a new command class depend on it: `EQUAL_ZERO` → no inverted bit, `NOT_EQUAL_ZERO` → `VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT` here is the same mapping vkd3d uses (`libs/vkd3d/command.c`, `d3d12_command_list_SetPredication`), and the fills are emitted inside the same conditional scope (the branch is under the `SetPredication` capture), so a clear inside a predicate follows the same rule as a copy. I read the mapping as suspicious at first and checked it against vkd3d before writing this; it is right. **Cannot run here**: `d3d12_uav_clear_test`, the Windows end of the PR (MSVC + a D3D12 device). So the API path - `ClearUnorderedAccessViewUint` inside `SetPredication` with the new `Clear::Predicate` cases, the `info.storage_buffer_8bit` gate and the no-helper-device rejection - is unexecuted on my side. It also only runs its new cases where `conditional_rendering && storage_buffer_8bit` both hold, so on an older AMD/Intel driver or a WARP without 8-bit storage the D3D12 coverage is skipped as well. **Finding: the capability skip is a pass, so the new clear coverage can be silently absent** `runtime/test/vk_predicated_copy_test.cpp:27-30` returns 0 with `predicated copy: skipped (...)` when the device lacks `VK_EXT_conditional_rendering` or `storageBuffer8BitAccess`. `vk_predicated_copy` is registered with `SKIP_RETURN_CODE 77` (`runtime/CMakeLists.txt:2083`), and the device-unavailable path already `return 77`, so returning 77 here would make CTest report a skip; returning 0 reports PASS. My MoltenVK run is exactly that case: a green test that ran none of the new code. On any CI GPU without the extension, the predicated-fill path this PR adds would be unverified while the suite looks clean. One line: `return 77;` for the capability skip, as the file already does for `DeviceStatus::unavailable`. **Nit**: the replay now sets `p.skip = true` when the fills list is empty (`vulkan_replay.h:3650-3653`) even though `detail::prepare_buffer_uav_clear` already sets it for that case (`:2100`); one of the two is redundant. Harmless, and the explicit one reads better in the predicated branch, so I would only remove the older one if you touch it. **Not re-run**: the shader corpus and the 268 GPU fixtures (no translator or harness change); the same-main baseline stands (195 PASS / 3 FAIL / 70 SKIP MoltenVK, 190 / 5 / 73 KosmicKrisp at `bdbc7e923`). `python -I scripts/check_no_game_data.py` on the `.comp`, the regenerated header, the three host headers and the two tests: clean. No game files. AI-assisted.
zmasi commented 2026-11-28 11:48:39 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T11:48:39Z.


The unmodified merge still fails the predicated four-component integer clear on physical RADV gfx906 (Mesa 26.0.8, subgroup 64). I used the same PR fixtures against main 4a54aedcb and head c53811511 merged with it, with synchronization validation enabled. Wine d3d12_uav_clear went from 25/256 wrong bytes to 15/256: the float clear is now correct and all 171 guard bytes match, but each integer element reads (1,1,1,1) instead of (1,2,3,4). Neither Wine run had a validation error.

Narrow repro: fill 160 bytes with four distinct words using runtime/src/predicated_copy.comp. The embedded module repeated word 0 (120/160 bytes wrong). Selecting the same four push-constant words using constant indices instead of pattern[byte_index / 4u] gave 0/160 wrong with the same CPU pushes and descriptor windows. That shader-only substitution also turns the existing native vk_predicated_copy CTest green: 32 gated + 32 reused submissions, zero validation errors. On the unmodified merge it fails the readback first, then reports a live query pool at teardown (VUID-vkDestroyDevice-device-05137). This isolates a workaround on this stack; it does not establish a compiler root cause.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7238797291 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2277#issuecomment-7238797291). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-28T11:48:39Z. --- The unmodified merge still fails the predicated four-component integer clear on physical RADV gfx906 (Mesa 26.0.8, subgroup 64). I used the same PR fixtures against main `4a54aedcb` and head `c53811511` merged with it, with synchronization validation enabled. Wine `d3d12_uav_clear` went from 25/256 wrong bytes to 15/256: the float clear is now correct and all 171 guard bytes match, but each integer element reads `(1,1,1,1)` instead of `(1,2,3,4)`. Neither Wine run had a validation error. Narrow repro: fill 160 bytes with four distinct words using `runtime/src/predicated_copy.comp`. The embedded module repeated word 0 (120/160 bytes wrong). Selecting the same four push-constant words using constant indices instead of `pattern[byte_index / 4u]` gave 0/160 wrong with the same CPU pushes and descriptor windows. That shader-only substitution also turns the existing native `vk_predicated_copy` CTest green: 32 gated + 32 reused submissions, zero validation errors. On the unmodified merge it fails the readback first, then reports a live query pool at teardown (`VUID-vkDestroyDevice-device-05137`). This isolates a workaround on this stack; it does not establish a compiler root cause. AI-assisted.
timbot103 commented 2026-11-29 04:27:56 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by timbot103 on 2026-11-29T04:27:56Z.

Review: COMMENTED


Static audit of c53811511 against the PR base and the supplied main reference. I did not build or run GPU tests.

  • [MAJOR] runtime/src/predicated_copy.comp:24 uses a dynamically indexed push-constant load, also present in runtime/src/predicated_copy_spv.h:69. The RADV gfx906 result reported here shows that an executing 16-byte integer clear repeats the first component across all four components. The reported constant-index variant writes all four correctly. Please select among constant-index loads, regenerate the embedded SPIR-V, and rerun the wide-clear fixture on RADV.
  • [MINOR] runtime/test/vk_predicated_copy_test.cpp:82 can miss a broken phase calculation. At 256-byte storage alignment, the fixture splits into 64, 64, and 32 bytes, all starting at phase zero. Please force a split within an element using the device alignment and check that a later dispatch starts at a nonzero phase.
  • [MINOR] runtime/test/vk_predicated_copy_test.cpp:29 reports a CTest pass when either required Vulkan feature is unavailable. Please return the registered skip code, 77, so CTest shows that the clear fixture was skipped.

Both buffer clear entry points share the compute path at runtime/src/vulkan_replay.h:3653. Vulkan predication applies to the dispatch, while vkCmdFillBuffer ignores it. The replay uses the existing 64-bit predicate reduction and polarity for both operations, keeps the clear inside the conditional scope, and brackets the helper with memory barriers and statistics segmentation. Texture clears use their existing paths. The queue check at runtime/src/vulkan_backend.h:3304 limits predication to the configured Vulkan family, which covers direct queues and compute queues on that family. A distinct compute family is rejected before clear preparation. Bundles reject both the clear and predicate setters at recording time.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6101398126 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2277#pullrequestreview-6101398126). Originally posted by [timbot103](https://github.com/timbot103) on 2026-11-29T04:27:56Z. **Review:** COMMENTED --- Static audit of `c53811511` against the PR base and the supplied main reference. I did not build or run GPU tests. - **[MAJOR]** `runtime/src/predicated_copy.comp:24` uses a dynamically indexed push-constant load, also present in `runtime/src/predicated_copy_spv.h:69`. The RADV gfx906 result reported here shows that an executing 16-byte integer clear repeats the first component across all four components. The reported constant-index variant writes all four correctly. Please select among constant-index loads, regenerate the embedded SPIR-V, and rerun the wide-clear fixture on RADV. - **[MINOR]** `runtime/test/vk_predicated_copy_test.cpp:82` can miss a broken phase calculation. At 256-byte storage alignment, the fixture splits into 64, 64, and 32 bytes, all starting at phase zero. Please force a split within an element using the device alignment and check that a later dispatch starts at a nonzero phase. - **[MINOR]** `runtime/test/vk_predicated_copy_test.cpp:29` reports a CTest pass when either required Vulkan feature is unavailable. Please return the registered skip code, 77, so CTest shows that the clear fixture was skipped. Both buffer clear entry points share the compute path at `runtime/src/vulkan_replay.h:3653`. Vulkan predication applies to the dispatch, while `vkCmdFillBuffer` ignores it. The replay uses the existing 64-bit predicate reduction and polarity for both operations, keeps the clear inside the conditional scope, and brackets the helper with memory barriers and statistics segmentation. Texture clears use their existing paths. The queue check at `runtime/src/vulkan_backend.h:3304` limits predication to the configured Vulkan family, which covers direct queues and compute queues on that family. A distinct compute family is rejected before clear preparation. Bundles reject both the clear and predicate setters at recording time. AI-assisted.
KelboLive commented 2026-11-30 17:36:23 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by KelboLive on 2026-11-30T17:36:23Z.


Independent check on Windows/NVIDIA (not the author), at c53811511.

  • Built d3d12_predicated_copy_test and ran it on the RTX 4070 Ti SUPER: exit 0.
    • query-to-predicated-copy: 16 exact cases, 4 recapture controls; GPU overwrite and predicate guards exact
    • predicated buffer copies: 180 exact cases (Vulkan + WARP + literal byte oracle)

Environment: NVIDIA RTX 4070 Ti SUPER, driver 621.01 (Windows 32.0.16.2101), Vulkan SDK 1.4.363.0, Windows 11 Pro 10.0.26200.9711.

AI-assisted: yes (opencode).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7286569789 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2277#issuecomment-7286569789). Originally posted by [KelboLive](https://github.com/KelboLive) on 2026-11-30T17:36:23Z. --- Independent check on Windows/NVIDIA (not the author), at `c53811511`. - Built `d3d12_predicated_copy_test` and ran it on the RTX 4070 Ti SUPER: **exit 0**. - `query-to-predicated-copy: 16 exact cases, 4 recapture controls; GPU overwrite and predicate guards exact` - `predicated buffer copies: 180 exact cases (Vulkan + WARP + literal byte oracle)` Environment: NVIDIA RTX 4070 Ti SUPER, driver 621.01 (Windows 32.0.16.2101), Vulkan SDK 1.4.363.0, Windows 11 Pro 10.0.26200.9711. AI-assisted: yes (opencode).
aslan2142 commented 2026-12-01 16:43:37 +00:00 (Migrated from github.com)

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


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:7318112332 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2277#issuecomment-7318112332). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T16:43:37Z. --- 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!2277
No description provided.