d3d12: LEONIDA_STUB_PIPELINES builds a real graphics pipeline from built-in stages (MVP-GPU-04) #1549

Open
github-bot wants to merge 2 commits from github-bot/gh-1549 into main AGit
Owner

@⁠Mike7581 on GitHub · 2026-11-25 04:10 UTC · original
Mike7581:mvp-gpu-04-stub-pipeline → main · +875 −29 · 8 files · 2 commits · open

Claimed in the coordination issue as: MVP-GPU-04 (#14)

What and why

MVP-GPU-04 asks for a stub pipeline for the first draw: a minimal VS/PS that passes validation.

Today LEONIDA_STUB_PIPELINES=1 creates a graphics PSO whose translated shader is missing with no Vulkan pipeline and never registers it. Its draws did not become no-ops as the comment in d3d12_com.cpp said: record_draw refused them (!graphics_pipeline_), so the whole list failed to close. Only dispatches were skipped.

With this change a vertex pipeline with a missing translation (no shader library, or no entry for its FSSM/FSPX program) takes a vertex and a pixel stage from the new runtime/src/stub_pipeline.h and goes through the normal create_graphics path: registered, built eagerly (the lazy path reads stages from the library again), drawn through replay and the validation layer.

  • LEONIDA_STUB_PIPELINES=1: the vertex stage puts every vertex outside the clip volume, so a draw changes no pixel (the old intent), but the render pass, attachments, layouts and push constants are real.
  • LEONIDA_STUB_PIPELINES=color: every three vertices cover the viewport and the pixel stage writes magenta (1 to UINT/SINT targets) to each render target, so stubbed passes show on screen.
  • The stages are plain SPIR-V words built in C++ (like depth24_depth_only_fragment), no compiler at build time. No set 0, no code base, no vertex input read; the 144-byte push range is kept. Point-list PSOs get a PointSize write. Position is a bare output, so rect_list_geometry takes it.
  • Compute and mesh stubs stay unregistered. record_draw and DispatchMesh now skip a draw on an unregistered pipeline, as record_dispatch already did, instead of failing the list.
  • docs/boot.md describes the switch.

The MVP table names runtime/src/vulkan_pipeline.cpp; that file does not exist, the code is in runtime/shims/d3d12_vulkan_device.cpp (create_graphics).

Tested

  • New d3d12_stub_draw_test: no shader library; PSOs created with the switch off (E_FAIL), =1 (triangle and point list) and =color; draws into an R8G8B8A8_UNORM and an R32_UINT target and reads both back. =1 leaves blue / 7 on all 4096 pixels, =color gives magenta / 1 on all 4096 pixels.
  • d3d12_stub_pipelines_test now expects a registered graphics pipeline.
  • Both pass with LEONIDA_VK_VALIDATION=1 and no validation message (the test fails on any).
  • Full ctest on this branch rebased on bfef489c: 378/378 passed.

GPUs tested: NVIDIA GeForce RTX 4050 Laptop GPU, driver 621.40 (32.0.16.2140), Vulkan SDK 1.4.363.0, Windows 11 Pro 10.0.26200, MSVC (VS 2022 Build Tools 17.14) + Ninja via scripts\build_runtime.ps1

AI-assisted: yes (Claude Code)

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a: no translator change)
**@⁠Mike7581** on GitHub · 2026-11-25 04:10 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1549) `Mike7581:mvp-gpu-04-stub-pipeline` → `main` · +875 −29 · 8 files · 2 commits · open Claimed in the coordination issue as: MVP-GPU-04 (https://git.gtahub.st/github/ubiquitarianism--leonida/issues/14) ### What and why MVP-GPU-04 asks for a stub pipeline for the first draw: a minimal VS/PS that passes validation. Today `LEONIDA_STUB_PIPELINES=1` creates a graphics PSO whose translated shader is missing with no Vulkan pipeline and never registers it. Its draws did not become no-ops as the comment in `d3d12_com.cpp` said: `record_draw` refused them (`!graphics_pipeline_`), so the whole list failed to close. Only dispatches were skipped. With this change a vertex pipeline with a missing translation (no shader library, or no entry for its FSSM/FSPX program) takes a vertex and a pixel stage from the new `runtime/src/stub_pipeline.h` and goes through the normal `create_graphics` path: registered, built eagerly (the lazy path reads stages from the library again), drawn through replay and the validation layer. - `LEONIDA_STUB_PIPELINES=1`: the vertex stage puts every vertex outside the clip volume, so a draw changes no pixel (the old intent), but the render pass, attachments, layouts and push constants are real. - `LEONIDA_STUB_PIPELINES=color`: every three vertices cover the viewport and the pixel stage writes magenta (1 to UINT/SINT targets) to each render target, so stubbed passes show on screen. - The stages are plain SPIR-V words built in C++ (like `depth24_depth_only_fragment`), no compiler at build time. No set 0, no code base, no vertex input read; the 144-byte push range is kept. Point-list PSOs get a PointSize write. Position is a bare output, so `rect_list_geometry` takes it. - Compute and mesh stubs stay unregistered. `record_draw` and `DispatchMesh` now skip a draw on an unregistered pipeline, as `record_dispatch` already did, instead of failing the list. - `docs/boot.md` describes the switch. The MVP table names `runtime/src/vulkan_pipeline.cpp`; that file does not exist, the code is in `runtime/shims/d3d12_vulkan_device.cpp` (`create_graphics`). ### Tested - New `d3d12_stub_draw_test`: no shader library; PSOs created with the switch off (E_FAIL), `=1` (triangle and point list) and `=color`; draws into an R8G8B8A8_UNORM and an R32_UINT target and reads both back. `=1` leaves blue / 7 on all 4096 pixels, `=color` gives magenta / 1 on all 4096 pixels. - `d3d12_stub_pipelines_test` now expects a registered graphics pipeline. - Both pass with `LEONIDA_VK_VALIDATION=1` and no validation message (the test fails on any). - Full `ctest` on this branch rebased on `bfef489c`: 378/378 passed. GPUs tested: NVIDIA GeForce RTX 4050 Laptop GPU, driver 621.40 (32.0.16.2140), Vulkan SDK 1.4.363.0, Windows 11 Pro 10.0.26200, MSVC (VS 2022 Build Tools 17.14) + Ninja via `scripts\build_runtime.ps1` AI-assisted: yes (Claude Code) ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (n/a: no translator change)
A graphics PSO whose translated shader is missing used to be created with no Vulkan pipeline and never
registered. Its draws did not become no-ops as the comment said: record_draw refused them, so the whole
list failed to close.

Now a vertex pipeline with a missing translation (no shader library, or no entry for its FSSM/FSPX
program) takes a vertex and a pixel stage from src/stub_pipeline.h and goes through the normal
create_graphics path: registered, built eagerly, drawn through replay and the validation layer.

- LEONIDA_STUB_PIPELINES=1: the vertex stage puts every vertex outside the clip volume, so a draw
  changes no pixel (the old intent), but the render pass, attachments and push constants are real.
- LEONIDA_STUB_PIPELINES=color: every three vertices cover the viewport and the pixel stage writes
  magenta (1 to UINT/SINT targets) to each render target, so stubbed passes show on screen.
- Point-list PSOs get a PointSize write; the vertex stage's Position is a bare output, so
  rect_list_geometry takes it.
- Compute and mesh stubs stay unregistered; record_draw and DispatchMesh now skip a draw on an
  unregistered pipeline as record_dispatch already did, instead of failing the list.

d3d12_stub_draw_test draws with both modes into an RGBA8 and an R32_UINT target and reads them back;
d3d12_stub_pipelines_test now expects a registered pipeline. docs/boot.md describes the switch.
Review follow-up for #1549:
- record_draw no longer skips a draw with an unregistered PSO: graphics stubs are registered now, so a draw with a PSO from another implementation fails the list again (Close: E_INVALIDARG), as on main. A stub records its kind (none, compute, mesh) when stub_or creates it; stub_pipeline_kind(pso, device) gives it only for the list's own device, and DispatchMesh skips only that mesh stub's draws. A mesh draw with another device's stub fails the list. record_dispatch keeps main's bypass.
- LEONIDA_STUB_PIPELINES=color turns off the title's culling, wireframe fill, sample mask, alpha to coverage, depth and stencil tests, blending and logic op for the stub, keeping the write mask. The B4G4R4A4 fallback's refusal of blending and logic ops now waits until it is known whether the pipeline is such a stub.
- docs/boot.md: the cover needs a triangle topology and stays inside the scissor; what is turned off; which draws stay recording errors.

d3d12_stub_draw_test: =color with CULL_MODE_BACK, FILL_MODE_WIREFRAME, SampleMask 0 and a reverse-Z GREATER test against a depth target cleared to 0; a draw with another implementation's PSO (switch off); DispatchMesh with a mesh stub on its own device's list (closes) and on another device's (fails). Each fails on fa223d8 or on the first version of this fix; every case is reported. The B4G4R4A4 path has no test (the GPUs here render A4R4G4B4).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:56:17 +00:00
Author
Owner

@⁠Andretuta on GitHub · 2026-11-25 08:35 UTC · original · requested changes

Nice approach: registered stub pipelines, hand-built SPIR-V and a readback test. The stages themselves are valid. Two behaviours need changing before merge, though: one is a regression with the switch off, and in the other, =color does not show anything with the D3D12 default rasterizer state. Line numbers refer to the PR head fa223d8.

Should-fix: the draw bypass also swallows draws when LEONIDA_STUB_PIPELINES is unset

d3d12_com.cpp:1823 (record_draw) and :531 (DispatchMesh) return early on !graphics_pipeline_ && unregistered_pipeline_. unregistered_pipeline_ is true for any non-null PSO this device does not know, not only for stubs. That includes a PSO from another device, which is invalid usage the list used to reject.

We made a synthetic test that binds a foreign PSO and then draws, with the switch off:

Build Close result
PR head S_OK, nothing recorded
main control E_INVALIDARG

Graphics stubs are now registered, so record_draw no longer needs the bypass at all.

Suggested fix:

  • Drop the early return in record_draw.
  • Record an explicit stub kind when a stub PSO is created on this device, and gate DispatchMesh on it. Optionally do the same for the existing record_dispatch bypass.
// set_pipeline: remember what kind of stub (if any) this device created for `state`
stub_kind_ = device_stub_kind(state);   // none / compute / mesh, recorded at stub creation
...
// DispatchMesh
if (stub_kind_ == StubKind::mesh) return;  // a mesh stub's draw: nothing to run
// record_draw: no bypass; an unknown PSO still fails the list as before

Should-fix: =color keeps the PSO's cull, depth/stencil and blend state, so it often draws nothing

d3d12_vulkan_device.cpp:7643 (cull) and :7669-7681 (depth/stencil, blend) apply the title's state to the stub. The cover triangle has one fixed winding. On an RTX 3060 we changed the readback test from CULL_MODE_NONE to D3D12_CULL_MODE_BACK, the D3D12 default. The targets stayed at the clear values (blue / 7) instead of magenta / 1. With CULL_MODE_FRONT, all 4096 pixels were covered.

The same happens with:

  • a reverse-Z depth test (GREATER against a clear of 0, with the stub at z = 0);
  • a failing stencil test;
  • dual-source blend factors (SRC1_*), which read an output the stub does not write.

Suggested fix: when the stub is in colour mode, override that state.

// after raster, depth and blends are filled from the description (around :7643-7685)
if (stubbed && cover) {
    raster.cullMode = VK_CULL_MODE_NONE;
    depth.depthTestEnable = VK_FALSE;
    depth.depthWriteEnable = VK_FALSE;
    depth.stencilTestEnable = VK_FALSE;
    for (auto& b : blends) b.blendEnable = VK_FALSE;  // keep colorWriteMask
}

In d3d12_stub_draw_test.cpp, add these two cases:

  • a PSO with default back-face culling;
  • a PSO with a reverse-Z DSV cleared to 0.

In docs/boot.md:108, say that coverage assumes a triangle topology and the scissor.

What was checked

  • Merge with main: clean.
  • Full build: OK. CPU CTest: 146/150 pass. The 4 failures (root_sig, xmem, xmem_no_write_watch, root_signature_oracle) are the same on the other branches tested and are in code this PR does not touch.
  • RTX 3060, no validation layer installed:
    • d3d12_stub_pipelines and d3d12_stub_draw pass.
    • d3d12_compute and d3d12_pso_validation fail identically on a main control build.
    • We could not reproduce the "no validation message" claim, because the Khronos layer is not installed here.
  • spirv-val on all 8 generated stage variants passes for vulkan1.0, vulkan1.1 and vulkan1.3. The variants are: cover / no cover, points / no points, and pixel outputs none, float, and mixed float/uint/sint.

Review done with AI assistance (Claude Code and GPT-6.2 Sol, cross-checked against each other). Every finding above was checked against the code, and the two should-fix items were reproduced with test probes.

**@⁠Andretuta** on GitHub · 2026-11-25 08:35 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1549#pullrequestreview-6054228677) · **requested changes** Nice approach: registered stub pipelines, hand-built SPIR-V and a readback test. The stages themselves are valid. Two behaviours need changing before merge, though: one is a regression with the switch **off**, and in the other, `=color` does not show anything with the D3D12 default rasterizer state. Line numbers refer to the PR head `fa223d8`. ### Should-fix: the draw bypass also swallows draws when `LEONIDA_STUB_PIPELINES` is unset `d3d12_com.cpp:1823` (`record_draw`) and `:531` (`DispatchMesh`) return early on `!graphics_pipeline_ && unregistered_pipeline_`. `unregistered_pipeline_` is true for any non-null PSO this device does not know, not only for stubs. That includes a PSO from another device, which is invalid usage the list used to reject. We made a synthetic test that binds a foreign PSO and then draws, with the switch off: | Build | `Close` result | | --- | --- | | PR head | `S_OK`, nothing recorded | | `main` control | `E_INVALIDARG` | Graphics stubs are now registered, so `record_draw` no longer needs the bypass at all. Suggested fix: - Drop the early return in `record_draw`. - Record an explicit stub kind when a stub PSO is created on this device, and gate `DispatchMesh` on it. Optionally do the same for the existing `record_dispatch` bypass. ```cpp // set_pipeline: remember what kind of stub (if any) this device created for `state` stub_kind_ = device_stub_kind(state); // none / compute / mesh, recorded at stub creation ... // DispatchMesh if (stub_kind_ == StubKind::mesh) return; // a mesh stub's draw: nothing to run // record_draw: no bypass; an unknown PSO still fails the list as before ``` ### Should-fix: `=color` keeps the PSO's cull, depth/stencil and blend state, so it often draws nothing `d3d12_vulkan_device.cpp:7643` (cull) and `:7669-7681` (depth/stencil, blend) apply the title's state to the stub. The cover triangle has one fixed winding. On an RTX 3060 we changed the readback test from `CULL_MODE_NONE` to `D3D12_CULL_MODE_BACK`, the D3D12 default. The targets stayed at the clear values (blue / 7) instead of magenta / 1. With `CULL_MODE_FRONT`, all 4096 pixels were covered. The same happens with: - a reverse-Z depth test (`GREATER` against a clear of 0, with the stub at z = 0); - a failing stencil test; - dual-source blend factors (`SRC1_*`), which read an output the stub does not write. Suggested fix: when the stub is in colour mode, override that state. ```cpp // after raster, depth and blends are filled from the description (around :7643-7685) if (stubbed && cover) { raster.cullMode = VK_CULL_MODE_NONE; depth.depthTestEnable = VK_FALSE; depth.depthWriteEnable = VK_FALSE; depth.stencilTestEnable = VK_FALSE; for (auto& b : blends) b.blendEnable = VK_FALSE; // keep colorWriteMask } ``` In `d3d12_stub_draw_test.cpp`, add these two cases: - a PSO with default back-face culling; - a PSO with a reverse-Z DSV cleared to 0. In `docs/boot.md:108`, say that coverage assumes a triangle topology and the scissor. ### What was checked - Merge with `main`: clean. - Full build: OK. CPU CTest: 146/150 pass. The 4 failures (`root_sig`, `xmem`, `xmem_no_write_watch`, `root_signature_oracle`) are the same on the other branches tested and are in code this PR does not touch. - RTX 3060, no validation layer installed: - `d3d12_stub_pipelines` and `d3d12_stub_draw` pass. - `d3d12_compute` and `d3d12_pso_validation` fail identically on a `main` control build. - We could not reproduce the "no validation message" claim, because the Khronos layer is not installed here. - `spirv-val` on all 8 generated stage variants passes for `vulkan1.0`, `vulkan1.1` and `vulkan1.3`. The variants are: cover / no cover, points / no points, and pixel outputs none, float, and mixed float/uint/sint. Review done with AI assistance (Claude Code and GPT-6.2 Sol, cross-checked against each other). Every finding above was checked against the code, and the two should-fix items were reproduced with test probes.
Author
Owner

@⁠Mike7581 on GitHub · 2026-11-25 18:57 UTC · original

Thanks for the probes. Both points are addressed in e1fa52f:

  • record_draw no longer skips a draw with an unregistered PSO, so a foreign PSO's draw fails the list again (Close: E_INVALIDARG, as on main). stub_or records each stub's kind (none / compute / mesh) when it creates it, and DispatchMesh skips only a mesh stub made by the list's own device (stub_pipeline_kind(pso, attached_device())); a mesh draw with another device's stub fails the list too. I left the existing record_dispatch bypass as on main, since you marked it optional.
  • With =color, the stub turns off culling, wireframe fill, the sample mask, alpha to coverage, depth and stencil tests, blending and logic ops, keeping the write mask. The B4G4R4A4 fallback's refusal of blending/logic ops now waits until it is known whether the pipeline is such a stub. docs/boot.md says the cover needs a triangle topology and stays inside the scissor.

d3d12_stub_draw_test adds: =color with CULL_MODE_BACK, wireframe, SampleMask 0 and reverse-Z (GREATER against a DSV cleared to 0); a draw with another implementation's PSO (switch off); and DispatchMesh with a mesh stub on its own device's list (closes) and on another device's (fails). The cull, reverse-Z and foreign-PSO cases fail on fa223d8; the wireframe, sample-mask and other-device mesh cases fail without their part of this change; all pass now, also under VK_LAYER_KHRONOS_validation. The B4G4R4A4 path has no test, since the GPU here renders A4R4G4B4 natively. Full build and CTest pass (378/378, RTX 4050).

Written with AI assistance (Claude Code, Claude Opus 5.5) and reviewed with GPT-6 Sol High; every change above was checked against the code and the tests were run locally.

**@⁠Mike7581** on GitHub · 2026-11-25 18:57 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1549#issuecomment-7171629300) Thanks for the probes. Both points are addressed in e1fa52f: - `record_draw` no longer skips a draw with an unregistered PSO, so a foreign PSO's draw fails the list again (`Close`: `E_INVALIDARG`, as on `main`). `stub_or` records each stub's kind (none / compute / mesh) when it creates it, and `DispatchMesh` skips only a mesh stub **made by the list's own device** (`stub_pipeline_kind(pso, attached_device())`); a mesh draw with another device's stub fails the list too. I left the existing `record_dispatch` bypass as on `main`, since you marked it optional. - With `=color`, the stub turns off culling, wireframe fill, the sample mask, alpha to coverage, depth and stencil tests, blending and logic ops, keeping the write mask. The B4G4R4A4 fallback's refusal of blending/logic ops now waits until it is known whether the pipeline is such a stub. `docs/boot.md` says the cover needs a triangle topology and stays inside the scissor. `d3d12_stub_draw_test` adds: `=color` with `CULL_MODE_BACK`, wireframe, `SampleMask` 0 and reverse-Z (`GREATER` against a DSV cleared to 0); a draw with another implementation's PSO (switch off); and `DispatchMesh` with a mesh stub on its own device's list (closes) and on another device's (fails). The cull, reverse-Z and foreign-PSO cases fail on `fa223d8`; the wireframe, sample-mask and other-device mesh cases fail without their part of this change; all pass now, also under `VK_LAYER_KHRONOS_validation`. The B4G4R4A4 path has no test, since the GPU here renders A4R4G4B4 natively. Full build and CTest pass (378/378, RTX 4050). Written with AI assistance (Claude Code, Claude Opus 5.5) and reviewed with GPT-6 Sol High; every change above was checked against the code and the tests were run locally.
Author
Owner

@⁠Andretuta on GitHub · 2026-11-27 05:07 UTC · original · approved these changes

Re-checked at bbc7506 merged cleanly onto current main (d1dff7949) on Windows 10 / NVIDIA GeForce RTX 3060 12 GB (driver 617.14, MSVC 14.44 RelWithDebInfo, VK_EXT_mesh_shader enabled).

Both earlier should-fix items are resolved cleanly:

  • record_draw no longer bypasses unregistered PSOs, set_pipeline (also called by Reset) tracks StubPipelineKind scoped to attached_device(), and DispatchMesh only skips mesh stubs created by the list's own device.
  • LEONIDA_STUB_PIPELINES=color overrides cull, wireframe fill, sample mask, alpha-to-coverage, depth/stencil tests, blending, and logic op while keeping colorWriteMask, defers the B4G4R4A4 blend/logic-op refusal until stub_cover is known, and docs/boot.md documents the triangle topology / scissor scope accurately.

Verified locally

  • Clean merge with main (d1dff7949); scripts/check_no_game_data.py exit 0; test_ctest_registration.py (6/6) and test_docs_{links,repo_paths,table_ids,env_vars}.py all pass.
  • ctest -R '^d3d12_stub_' on RTX 3060: 2/2 passed (d3d12_stub_pipelines 1.03 s, d3d12_stub_draw 0.48 s — 4,096/4,096 pixels for =1, =color, back-face cull, wireframe, sample mask 0, reverse-Z; foreign PSO draw fails with E_INVALIDARG; mesh stub DispatchMesh closes on its own device and fails on another device). (Khronos validation layer is not installed on this host, so validation-layer silence was not re-checked here.)

Non-blocking nit: if (stub_cover) does not clear depth.depthBoundsTestEnable, so a DEPTH_STENCIL1/2 PSO with tight OMSetDepthBounds could still reject fragments even with depthTestEnable = VK_FALSE — fine to leave for a follow-up if ever seen.

AI-assisted review (Antigravity); code inspected and tests built and executed locally on RTX 3060.

**@⁠Andretuta** on GitHub · 2026-11-27 05:07 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1549#pullrequestreview-6083731230) · **approved these changes** Re-checked at `bbc7506` merged cleanly onto current `main` (`d1dff7949`) on Windows 10 / NVIDIA GeForce RTX 3060 12 GB (driver 617.14, MSVC 14.44 RelWithDebInfo, `VK_EXT_mesh_shader` enabled). Both earlier should-fix items are resolved cleanly: - `record_draw` no longer bypasses unregistered PSOs, `set_pipeline` (also called by `Reset`) tracks `StubPipelineKind` scoped to `attached_device()`, and `DispatchMesh` only skips mesh stubs created by the list's own device. - `LEONIDA_STUB_PIPELINES=color` overrides cull, wireframe fill, sample mask, alpha-to-coverage, depth/stencil tests, blending, and logic op while keeping `colorWriteMask`, defers the `B4G4R4A4` blend/logic-op refusal until `stub_cover` is known, and `docs/boot.md` documents the triangle topology / scissor scope accurately. ### Verified locally - Clean merge with `main` (`d1dff7949`); `scripts/check_no_game_data.py` exit 0; `test_ctest_registration.py` (6/6) and `test_docs_{links,repo_paths,table_ids,env_vars}.py` all pass. - `ctest -R '^d3d12_stub_'` on RTX 3060: **2/2 passed** (`d3d12_stub_pipelines` 1.03 s, `d3d12_stub_draw` 0.48 s — 4,096/4,096 pixels for `=1`, `=color`, back-face cull, wireframe, sample mask 0, reverse-Z; foreign PSO draw fails with `E_INVALIDARG`; mesh stub `DispatchMesh` closes on its own device and fails on another device). *(Khronos validation layer is not installed on this host, so validation-layer silence was not re-checked here.)* Non-blocking nit: `if (stub_cover)` does not clear `depth.depthBoundsTestEnable`, so a `DEPTH_STENCIL1/2` PSO with tight `OMSetDepthBounds` could still reject fragments even with `depthTestEnable = VK_FALSE` — fine to leave for a follow-up if ever seen. AI-assisted review (Antigravity); code inspected and tests built and executed locally on RTX 3060.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1549/head:github-bot/gh-1549'
git switch 'github-bot/gh-1549'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1549'
git switch 'github-bot/gh-1549'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1549'
git switch 'github-bot/gh-1549'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1549'
git switch 'main'
git merge --squash 'github-bot/gh-1549'
git switch 'main'
git merge --ff-only 'github-bot/gh-1549'
git switch 'main'
git merge 'github-bot/gh-1549'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.