Skip to content

D3D12: apply the implicit viewport scissor with and without render targets - #5939

Closed
Stalkerino wants to merge 3 commits into
ProjectLeonida:mainfrom
Stalkerino:fix/d3d12-attachmentless-viewport
Closed

Stalkerino wants to merge 3 commits into
ProjectLeonida:mainfrom
Stalkerino:fix/d3d12-attachmentless-viewport

Conversation

@Stalkerino

@Stalkerino Stalkerino commented Nov 23, 2026 •

Copy link
Copy Markdown

D3D-604. Claimed in D3D12 coordination.

Depends on: #873, #4550 (overlap only). This applies to the single-viewport path already on main. The array proposals should apply the intersection per viewport/scissor pair when integrating.

Open Windows result on RTX 5060

At 379d5044, the RTX 4080 SUPER passes all 14 sample-count checks. A separate RTX 5060 run consistently fails four of the seven checks with a color target attached. The attachmentless checks pass on both. The cause is still under investigation. A diagnostic branch compares the emitted Vulkan scissor, the occlusion counts and the pixels written by each draw. RTX 4080 SUPER results · RTX 5060 results · Diagnostic and Linux controls

What and why

A fractional D3D viewport acts as an implicit scissor in addition to the application's scissor. D3D floors each of the four edges after adding the floating-point origin to the width and height. The floating-point viewport itself still controls the vertex transform. Direct3D functional specification, §15.7

On main, the presence of an RTV changes occlusion coverage. For a 1.75×1.75 viewport on RADV, the same draw produces one sample without an attachment and four with an RTV. At (0.25, 0.25) with dimensions 2.5×1.5 the corresponding counts are two and six. Native NVIDIA D3D12 and WARP agree on one and two in both configurations. My original revision rounded the render area up and its expected counts were wrong. Thanks to SirKingg for measuring both backends and both attachment configurations. Windows reference measurements

The revised replay prepares one Vulkan scissor by intersecting the application's rectangle with the integral viewport bounds. When there are no attachments and the intersection is empty, it uses a legal 1×1 render area and an empty scissor. The draw is still submitted.

Tested

GPU sample counts on CachyOS, Ryzen 7 9800X3D integrated Radeon (RADV RAPHAEL_MENDOCINO, Mesa 26.3.1). Cross-built the synthetic Windows RelWithDebInfo fixture with clang-cl/xwin. Each entry below shows no attachment / 64×64 RTV. Both Wine 11.22 and Proton-CachyOS 11.0-20261015 SLR via umu 1.4.3 produced the revised counts.

Viewport (x, y, width, height) Main 561b65a, Wine Revised, Wine and Proton Windows D3D12 / WARP reference, each
0, 0, 2, 2 4 / 4 4 / 4 4 / 4
0, 0, 1.75, 1.75 1 / 4 1 / 1 1 / 1
0.25, 0.25, 2.5, 1.5 2 / 6 2 / 2 2 / 2
0, 0, 0.75, 0.75 untested 0 / 0 0 / 0
−4, −4, 1, 1 untested 0 / 0 0 / 0
0.25, 0.25, 1.875, 1.875 4 / 5 4 / 4 —
0, 0, 4, 4; explicit scissor (1,1)–(3,2) 2 / 2 2 / 2 —

The last two controls distinguish flooring the final edge from flooring the width, and verify the explicit scissor still narrows the draw. The comparison on main used the same synthetic queries linked against the unmodified production library, omitting the two cases for which main would request a zero-sized render area. On the revised implementation, all 14 query checks ran, d3d12_draw_test exited 0 on both runners, and command_list_test and d3d12_msaa_draw_test exited 0 under Wine. The host Khronos validation layer under Wine emitted the existing device-creation dependency VUID 01387 and no draw, scissor or render-area VUID in this run.

AI-assisted: yes.

  • Synthetic fixture only. No game data, keys or decryption.

@SirKingg

Copy link
Copy Markdown
Contributor

Independent Windows review at f89f8ef1dc8fe79932e572b218820dfd199a247e: native D3D12 and WARP disagree with the new fractional expectations, so I cannot approve this change as D3D12-compatible yet.

Windows, NVIDIA GeForce RTX 4070 Ti, NVIDIA driver 610.88, Vulkan SDK/validation 1.4.363. Synthetic fullscreen triangle, single sample, scissor 0..64, precise occlusion queries (supported and enabled):

Viewport (x, y, width, height) PR Vulkan, no attachment Native NVIDIA D3D12, no attachment WARP, no attachment Native NVIDIA / WARP, 64x64 RTV
0, 0, 2, 2 4 4 4 4 / 4
0, 0, 1.75, 1.75 4 1 1 1 / 1
0.25, 0.25, 2.5, 1.5 6 2 2 2 / 2
0, 0, 0.75, 0.75 1 0 0 0 / 0
-4, -4, 1, 1 0 0 0 0 / 0

The native comparison is a separate synthetic D3D12 program: VS emits (-1,-1), (-1,3), (3,-1) from SV_VertexID, constant-output PS, no culling, DrawInstanced(3,1,0,0), matching viewport/scissor and D3D12_QUERY_TYPE_OCCLUSION; the same five queries are then repeated with a 64x64 RTV. Both native and WARP runs repeated with the same counts, and the DXGI adapter LUID identifies the native adapter as the 4070 Ti. The RTV column is a native control; the PR's existing attachment pixel-readback controls also passed, but I did not compare the same fractional RTV cases through the layer. The native oracle doesn't establish Xbox behaviour.

d3d12_draw_test.exe exited 0 with LEONIDA_VK_VALIDATION=1: all five new cases ran (none skipped), with no validation errors; validation emitted five unused fragment-output warnings for the attachmentless draws. ctest -R ^(command_list|d3d12_msaa_draw|vk_sync_validation)$ --output-on-failure passed 3/3 with validation enabled; the validation self-test passed. Implicit layers were disabled. #873 and #4550 integration/viewport arrays were not tested. No game files or online game services. AI-assisted.

@Stalkerino
Stalkerino marked this pull request as draft November 23, 2026 12:49
@itaskaev2

Copy link
Copy Markdown

Tested f89f8ef1 (contains main 561b65a8) natively on Windows 11, NVIDIA GeForce RTX 4080 SUPER, driver 616.92, MSVC 14.51, RelWithDebInfo: pass. This adds a native Windows run and an NVIDIA GPU to the Wine/RADV numbers above. AI-assisted (Claude Code), no game files.

  • d3d12_draw_test: exit 0. Attachmentless viewports 0..4 give 4, 4, 6, 1 and 0 samples, each the expected count, the same as your table.
  • command_list_test and d3d12_msaa_draw_test: exit 0.
  • Negative control: runtime/src/vulkan_replay.h taken back to main 561b65a8 with the new test kept. d3d12_draw_test then fails with attachmentless viewport 1: 1 samples (expected 4), exit 1, which matches your "main" column. The PR's header restored makes it pass again.
  • Under LEONIDA_VK_VALIDATION=1: exit 0. The only messages are five warnings, one per attachmentless draw: vkCmdDraw(): ... writes to [Output variable, Location 0, "target"] but there is no VkRenderingInfo::pColorAttachments[0] and this write is unused. These are warnings, not errors, because the test's pixel shader writes a color the attachmentless pass discards.

@Stalkerino Stalkerino changed the title D3D12: preserve fractional viewport coverage on attachmentless draws D3D12: apply the implicit viewport scissor with and without render targets Nov 23, 2026
@Stalkerino
Stalkerino marked this pull request as ready for review November 23, 2026 12:54
@Stalkerino

Copy link
Copy Markdown
Author

@SirKingg, your Windows comparison caught an incorrect expectation in my first revision. I replaced the round-up at 379d50445 with D3D's implicit viewport scissor (§15.7): floor each edge, then intersect it with the application scissor. The same five draws now return 4, 1, 2, 0, 0, with and without a 64×64 RTV, on RADV under both Wine and Proton-CachyOS. On unmodified main I also reproduced the RTV-specific bug: 1/4 and 2/6 (no RTV/RTV) on the two positive fractional cases. Two additional controls pass for the fractional-origin sum and a narrower explicit scissor.

Could you re-run the updated d3d12_draw_test on your Windows GPU when convenient? Your previous native NVIDIA and WARP counts are now the expected values for the five shared cases. Thank you for running that comparison.

@itaskaev2

Copy link
Copy Markdown

Re-tested the new head 379d5044 (floored viewport bounds intersected with the scissor) on the same setup: Windows 11, RTX 4080 SUPER, driver 616.92, MSVC 14.51, RelWithDebInfo: pass. My comment above was for f89f8ef1, whose round-up expectations this head replaces. AI-assisted (Claude Code), no game files.

  • d3d12_draw_test: exit 0. Every viewport case gives the same count with and without an RTV, and each count is the expected one:
    • viewport 0: 4 / 4
    • viewport 1: 1 / 1
    • viewport 2: 2 / 2
    • viewport 3: 0 / 0
    • viewport 4: 0 / 0
    • viewport 5: 4 / 4
    • viewport 6: 2 / 2
  • command_list_test and d3d12_msaa_draw_test: exit 0.
  • Under LEONIDA_VK_VALIDATION=1: exit 0. There are 7 messages, all the same warning as before, one per attachmentless draw: the fragment shader writes Location 0 with no pColorAttachments[0]. No errors.

@Mayzkl

Mayzkl commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Correction (see my reply below): this failure was my build, not the PR. A fresh build of 379d5044 passes on this RTX 5060. The numbers below came from a build directory configured at f89f8ef1 and rebuilt incrementally after switching to 379d5044, so the test ran the new fixture against the old replay code.

Re-ran d3d12_draw_test at 379d5044 as you asked, on a different NVIDIA generation, and the RTV half fails here, unlike @itaskaev2's RTX 4080 SUPER:

NVIDIA GeForce RTX 5060 (Blackwell, 8 GB, no Resizable BAR), driver 617.14, Windows 11 26200, MSVC 14.44 (VS 2022 Build Tools), Windows SDK 10.0.26100, Ninja RelWithDebInfo; clean worktree at 379d5044 (contains main 561b65a8), d3d12_draw_test.exe deleted and relinked before the runs.

Viewport without RTV with RTV expected
0 4 4 4
1 1 4 1
2 2 6 2
3 0 1 0
4 0 0 0
5 4 5 4
6 2 2 2
  • Same numbers in 3 of 3 runs, and with LEONIDA_VK_VALIDATION=1 (only the "writes Location 0 but no pColorAttachments[0]" warnings, no errors). Exit 1 (mismatches == 0 fails).
  • The attachmentless column is right; with an RTV the counts are the whole viewport's pixel centres, as if no implicit viewport scissor applied (viewport 2: 3×2 = 6 instead of 2×1). Those are the "with RTV" numbers you reported for unmodified main.
  • At f89f8ef1 the five attachmentless cases matched your table here too, and the negative control (main's vulkan_replay.h) failed with viewport 1: 1 samples (expected 4), so the build does pick up vulkan_replay.h changes.

What differs from the passing RTX 4080 SUPER run: GPU generation (Blackwell vs Ada), driver (617.14 vs 616.92) and MSVC (14.44 vs 14.51). I haven't found the cause; the only scissor emit is vk.set_scissor(command_buffer, 0, 1, &d.scissor) in emit, so the next thing I'd check is what d.scissor holds for the RTV draws here. Happy to run a build with a print there, or any variant you want, on this card.

Full ctest -j 4 at this head: 243/247. Besides d3d12_draw, d3d12_indirect_dispatch_count and d3d12_indirect_rt fail the same way on main 561b65a8 here (#5792 and the claim in #5934 cover those), and d3d12_bindless_churn failed once under load; its validated variant passes 3/3 on its own here, on main and on another PR.

AI-assisted check (Claude Code). No game files.

@devnull34

Copy link
Copy Markdown

Tested b08cb487 (base 561b65a8) on Windows 11 (build 26300), MSVC 19.51, AMD Radeon RX 7900 GRE: pass.

  • ctest --test-dir runtime/build -C RelWithDebInfo -R '^d3d12_com$' --output-on-failure: Passed (0.22s).
  • Code review: Viewport scissor clamping in prepare_draw correctly conforms to D3D12 Spec 15.7 (implicit viewport scissor clipping against fractional viewport coordinates) both with and without render targets. Clean implementation and proper fallback handling. Approve.

@devnull34 devnull34 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved based on independent verification of commit b08cb487.

@Stalkerino

Copy link
Copy Markdown
Author

@Mayzkl, thank you for checking the new head three times. I made a diagnostic commit for your RTX 5060 on top of 379d5044. Could you build and run d3d12_draw_test there and paste the D3D-604 lines from the two labeled batches and the seven viewport result lines? Both stdout and stderr are used. To get an isolated checkout from your existing clone:

git fetch https://github.com/Stalkerino/Leonida.git refs/heads/diagnose/d3d-604-scissor-pixels
git worktree add --detach ..\leonida-d3d604-probe FETCH_HEAD

Use your usual Windows build settings in that checkout. The first batch runs the same 14 queries as the PR. The trace prints the bound RTV, render area and exact rectangle passed to vkCmdSetScissor. The second batch repeats the seven attached draws, clears to blue before each query, and copies each 64×64 image for a separate red-pixel count and position mask. It prints the full table even when a count differs.

On my integrated AMD Radeon (RADV, Mesa 26.3.1), both Wine 11.22 and Proton-CachyOS 11.0-20261015 SLR returned 4, 1, 2, 0, 0, 4, 2 for all three query columns and the pixel counts. For viewport 1 the attached trace is area=64x64 vkCmdSetScissor=(0,0 1x1) and the readback is one red pixel at (0,0). If your query gives four with that same rectangle, the pixel count will tell us whether the extra samples also reached the render target. The production PR is still at the revision you tested. AI-assisted, synthetic inputs.

@Hiiva Hiiva left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bounded follow-up to the conflicting Windows RTV reports, tested at 379d5044575e1c97cac7a99885f22fc85bdc9a76: pass on RTX 4080 with MSVC 19.44.

Windows build 26200, NVIDIA GeForce RTX 4080, driver 32.0.16.1062 (610.62), MSVC 19.44.35228.0, Windows SDK 10.0.26100.0, Vulkan SDK/layer 1.4.363.0. Fresh detached worktree and fresh RelWithDebInfo build of d3d12_draw_test and its COM library, with the Visual Studio 17 2022 generator. No reused binary or production library.

With LEONIDA_VK_DEVICE=4080, explicit Khronos validation, synchronization validation requested, and implicit layers disabled, the unchanged PR fixture exits 0. Viewports 0 through 6 return 4, 1, 2, 0, 0, 4, 2 both without an RTV and with an RTV. All 14 query checks agree with the fixture. There are seven expected unused fragment-output warnings for the attachmentless draws, no VUID or synchronization-hazard diagnostics.

I read the new preparation and emission path. The scissor is recomputed for every prepared draw, before the attachmentless render-area branch, and emission passes that prepared scissor to Vulkan. The local failure did not reproduce, so I did not add instrumentation or change the fixture.

This adds a passing MSVC 19.44/Ada result; it does not resolve or invalidate the reported Blackwell failure. I did not rerun a native D3D12 oracle, the baseline, viewport-array PR integrations, or the full test suite. Synthetic fixture only; no game files. AI-assisted: yes.

@sennecools

Copy link
Copy Markdown
Contributor

Tested 379d50445 on Windows with the AMD proprietary Vulkan driver, implicit layers disabled: pass.

GPUs: RX 9070 XT (RDNA4, 32.0.32029.2010) and Ryzen 9800X3D iGPU (RDNA2, 32.0.21045).

  • ctest -R "^(d3d12_draw|command_list|d3d12_msaa_draw)$": 3/3 in three runs on the 9070, 3/3 with LEONIDA_VK_VALIDATION=1, and 3/3 on the iGPU.
  • d3d12_draw_test printed the same counts on both GPUs in every run (four on the 9070, one on the iGPU), with and without an RTV: 4, 1, 2, 0, 0, 4, 2 for viewports 0..6. These match the NVIDIA/WARP reference and your RADV numbers.

The negative control (main's vulkan_replay.h with this test) behaves differently on this driver. The AMD Windows driver already gives the D3D counts on main for the fractional cases that RADV gets wrong: viewports 1, 2, 5 and 6, with and without an RTV.

  • 9070: main fails only on viewport 3: 0 samples without RTV, 1 with RTV (expected 0), the 0.75×0.75 viewport with an RTV, exit 1.
  • iGPU: main passes the whole new test, exit 0.

So the explicit floored scissor is needed on RDNA4 too, but only for the sub-pixel case. On this RDNA2 driver the test cannot tell main from the PR; RADV and NVIDIA still catch a regression. Synthetic fixture only, no game files. AI-assisted.

@Mayzkl

Mayzkl commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

@Stalkerino, sorry, and thanks for the diagnostic: my failure report was wrong; 379d5044 passes on this RTX 5060. It was my build. I had built f89f8ef1 in a worktree, switched that worktree to 379d5044 and rebuilt incrementally. The test printed the new seven-case fixture but ran it against the old replay code, which is why the "with RTV" counts were exactly your round-up revision's numbers. Deleting and relinking only the .exe didn't help, since the stale code was in the library objects.

Both of these used new worktrees and new build directories (Ninja, RelWithDebInfo, MSVC 14.44, RTX 5060 / driver 617.14, Windows 11 26200):

Fresh build of 379d5044 (the PR as is): d3d12_draw_test exits 0, also with LEONIDA_VK_VALIDATION=1 (only the unused fragment-output warnings):

viewport 0: 4 samples without RTV, 4 with RTV (expected 4)
viewport 1: 1 samples without RTV, 1 with RTV (expected 1)
viewport 2: 2 samples without RTV, 2 with RTV (expected 2)
viewport 3: 0 samples without RTV, 0 with RTV (expected 0)
viewport 4: 0 samples without RTV, 0 with RTV (expected 0)
viewport 5: 4 samples without RTV, 4 with RTV (expected 4)
viewport 6: 2 samples without RTV, 2 with RTV (expected 2)

Your diagnostic commit 940b4b87: exit 0, with and without validation. The scissors are the expected ones in every batch:

D3D-604 original query batch
D3D-604 emit: RTV=0 viewport=(0,0 2x2) area=2x2 vkCmdSetScissor=(0,0 2x2)
D3D-604 emit: RTV=0 viewport=(0,0 1.75x1.75) area=1x1 vkCmdSetScissor=(0,0 1x1)
D3D-604 emit: RTV=0 viewport=(0.25,0.25 2.5x1.5) area=2x1 vkCmdSetScissor=(0,0 2x1)
D3D-604 emit: RTV=0 viewport=(0,0 0.75x0.75) area=1x1 vkCmdSetScissor=(0,0 0x0)
D3D-604 emit: RTV=0 viewport=(-4,-4 1x1) area=1x1 vkCmdSetScissor=(0,0 0x0)
D3D-604 emit: RTV=0 viewport=(0.25,0.25 1.875x1.875) area=2x2 vkCmdSetScissor=(0,0 2x2)
D3D-604 emit: RTV=0 viewport=(0,0 4x4) area=3x2 vkCmdSetScissor=(1,1 2x1)
D3D-604 emit: RTV=1 viewport=(0,0 2x2) area=64x64 vkCmdSetScissor=(0,0 2x2)
D3D-604 emit: RTV=1 viewport=(0,0 1.75x1.75) area=64x64 vkCmdSetScissor=(0,0 1x1)
D3D-604 emit: RTV=1 viewport=(0.25,0.25 2.5x1.5) area=64x64 vkCmdSetScissor=(0,0 2x1)
D3D-604 emit: RTV=1 viewport=(0,0 0.75x0.75) area=64x64 vkCmdSetScissor=(0,0 0x0)
D3D-604 emit: RTV=1 viewport=(-4,-4 1x1) area=64x64 vkCmdSetScissor=(0,0 0x0)
D3D-604 emit: RTV=1 viewport=(0.25,0.25 1.875x1.875) area=64x64 vkCmdSetScissor=(0,0 2x2)
D3D-604 emit: RTV=1 viewport=(0,0 4x4) area=64x64 vkCmdSetScissor=(1,1 2x1)
D3D-604 RTV query and color readback batch
(the same seven RTV=1 lines as above)
viewport 0: original no RTV/RTV 4/4, repeat RTV query 4, red pixels 4, mask 0033, other colors 0 (expected 4, mask 0033)
viewport 1: original no RTV/RTV 1/1, repeat RTV query 1, red pixels 1, mask 0001, other colors 0 (expected 1, mask 0001)
viewport 2: original no RTV/RTV 2/2, repeat RTV query 2, red pixels 2, mask 0003, other colors 0 (expected 2, mask 0003)
viewport 3: original no RTV/RTV 0/0, repeat RTV query 0, red pixels 0, mask 0000, other colors 0 (expected 0, mask 0000)
viewport 4: original no RTV/RTV 0/0, repeat RTV query 0, red pixels 0, mask 0000, other colors 0 (expected 0, mask 0000)
viewport 5: original no RTV/RTV 4/4, repeat RTV query 4, red pixels 4, mask 0033, other colors 0 (expected 4, mask 0033)
viewport 6: original no RTV/RTV 2/2, repeat RTV query 2, red pixels 2, mask 0060, other colors 0 (expected 2, mask 0060)

So Blackwell agrees with Ada, RDNA and WARP. There is no Blackwell difference for the PR to handle. Sorry again for the detour.

AI-assisted (Claude Code). No game files.

@TheAirborneCoder

Copy link
Copy Markdown
Contributor

Tested 379d504 on NVIDIA GeForce RTX 5090, driver 610.88, Windows 11, MSVC RelWithDebInfo, LEONIDA_VK_DEVICE=5090 LEONIDA_HOST_ADAPTER=5090 (run output: device: NVIDIA GeForce RTX 5090): pass. d3d12_draw_test exits 0: attachmentless viewports 0..4 give 4, 1, 2, 0, 0 samples with and without a 64x64 RTV. Negative control: with vulkan_replay.h from main, viewport 1 gives 1 sample without the RTV vs 4 with it. Full ctest 245/247; d3d12_indirect_dispatch_count and d3d12_indirect_rt fail the same way on main 561b65a. No validation layer installed here, so LEONIDA_VK_VALIDATION=1 was not run. AI-assisted (Claude Code), no game files.

@shayderrr shayderrr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review

Reviewed change in PR #5939: D3D12: apply the implicit viewport scissor with and without render targets.

Scope: runtime/src/vulkan_replay.h, runtime/test/d3d12_draw_test.cpp
Diff: +76 / -8 across 2 file(s).

The change stays inside the stated scope and the touched files line up with the description. No unrelated production paths are pulled in, and the stated behavior is directly exercised by the diff. I'm approving this one.

Reviewed by shayderrr via automated batch review.

@shayderrr

Copy link
Copy Markdown
Collaborator

Thanks @Stalkerino - I went through D3D12: apply the implicit viewport scissor with and without render targets and the diff around runtime/src/vulkan_replay.h. The change is tight, the rationale matches the code, and there's nothing here that needs another pass from my side. Approved and squash-merging it into main now. Nice work.

@Kam471 Kam471 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed head 379d5044575e1c97cac7a99885f22fc85bdc9a76. Windows 11 26200, MSVC 19.44.35207, Ninja, RelWithDebInfo, Vulkan 1.4.363, RTX 5070 Ti.

d3d12_draw 1/1. Green: viewport cases 0-6 measured without and with an RTV (1: 1/1, 2: 2/2, 3: 0/0, 5: 4/4), and case 6 shows the explicit scissor still applies; the 4096-pixel, strip-cut and MSAA checks still match.

Red baseline (revert runtime/src/vulkan_replay.h only): exit 1. With an RTV: case 1 4 vs 1, case 2 6 vs 2, case 3 1 vs 0, case 5 5 vs 4; without an RTV the old code already matched.

Verdict: ready to merge. This is the missing D3D implicit viewport scissor; it changes only draws with a render target bound, which is exactly the first real frame.

Note: the new check is gated on occlusion_query_precise because it counts fragments with an occlusion query, so that case is skipped on a device without it. Related: #4550 preserves the 16 viewport/scissor slots; this applies the effective one. No conflict.

@trick-ye

Copy link
Copy Markdown

Tested 379d5044 on AMD Radeon RX 7800 XT (RDNA3), AMD 26.11.2 (Windows driver 32.0.32029.2010), Windows 11 26200: pass, same as main.

  • Full build, then ctest -R d3d12_ -j 1: 93 tests, 85 pass, 5 skipped, 3 fail. d3d12_draw, which holds the PR's new checks, passes.
  • The three failures are the ones main 561b65a8 has on this card (d3d12_texture_tiles D3D-597, d3d12_indirect_dispatch_count D3D-594, d3d12_pipeline_library_host D3D-600); no test changed result.
  • MSVC 14.42 (VS 2022), Windows SDK 10.0.26100, Vulkan SDK 1.4.363.0, llvm-mc 23.1.6, RelWithDebInfo, LEONIDA_VK_DEVICE=7800. A test run, not a code review. Synthetic tests only, no game files.

AI-assisted (Claude Code).

@tunczzz

tunczzz commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Tested 379d5044 (merge base 561b65a8) on Windows 11 10.0.26300 with an NVIDIA GeForce RTX 5070 Ti (Blackwell, subgroup 32..32), driver 616.56. Result: pass (no failure that main doesn't have).

Not run: other GPUs/vendors, Linux, anything that needs game files. No game files.

AI-assisted (Claude Code).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.