vulkan_present: keep continuous readback valid on OUT_OF_DATE present #2507
Closed
leonida/mandy
lixonik wants to merge 0 commits from
rt-present-resize-readback into main
pull from: rt-present-resize-readback
merge into: leonida:main
leonida:main
leonida:github-pr/3295
leonida:beta
leonida:docs/changelog-3483-3500
leonida:github-pr/3294
leonida:github-pr/2975
leonida:github-pr/2815
leonida:feat/gate-driver-start
leonida:feat/skip-pipelines-release
leonida:perf/lazy-compare
leonida:perf/mwaitx-wait
leonida:test/prio-ceiling-main
leonida:fix/ab-cpu-stdout
leonida:fix/gate-old-crashes
leonida:diag/ab-cpu
leonida:test/main-0312
leonida:github-pr/3291
leonida:diag/indirect-clamp-census
leonida:feat/barrier-enhanced
leonida:perf/texture-frame-ceiling
leonida:perf/dstorage-threads
leonida:fix/console-queue-dma-tables
leonida:fix/port-descriptors-record-parts
leonida:fix/frame-waits-fence
leonida:fix/console-sampler-words
leonida:fix/graphics-userdata-spill
leonida:fix/xg-reserved-layout-rotation
leonida:fix/barrier-console-flags
leonida:fix/switches-wait-test-child
leonida:test/list-value-waits
leonida:test/lot-gxdk-0412
leonida:fix/bvh-compacted-size
leonida:docs/i18n-quickstarts
leonida:feat/native-pipeline-slots
leonida:fix/clippy-leonida-gpu
leonida:fix/list-value-producers
leonida:fix/descriptor-page-straddle
leonida:fix/xmem-low-window
leonida:fix/ffx-jitter-never-zero
leonida:fix/run-stdout-closed
leonida:github-pr/2892
leonida:github-pr/2896
leonida:feat/warm-save-every
leonida:github-pr/2980
leonida:github-pr/2994
leonida:github-pr/3005
leonida:github-pr/3010
leonida:github-pr/3136
leonida:github-pr/3303
leonida:github-pr/3220
leonida:github-pr/3143
leonida:github-pr/3330
leonida:github-pr/3226
leonida:github-pr/3187
leonida:carry/3395
leonida:github-pr/2946
leonida:github-pr/2947
leonida:github-pr/2945
leonida:github-pr/2983
leonida:github-pr/3001
leonida:github-pr/3372
leonida:github-pr/3128
leonida:github-pr/3296
leonida:github-pr/2588
leonida:github-pr/3119
leonida:github-pr/3378
leonida:fix/crash-diagnostics
leonida:feat/dlss-mip-bias
leonida:fix/retired-out-of-order
leonida:fix/dxr-postbuild-barrier
leonida:fix/amd-relay-default
leonida:fix/removed-report-wait
leonida:feat/heap-twin
leonida:feat/vram-margin
leonida:github-pr/2472
leonida:github-pr/3123
leonida:github-pr/3088
leonida:assets/annonce-v1
leonida:github-pr/2794
leonida:github-pr/3300
leonida:github-pr/3304
leonida:github-pr/3308
leonida:github-pr/3367
leonida:github-pr/3369
leonida:fix/launcher-dlss-diagnostics
leonida:github-pr/3269
leonida:github-pr/2957
leonida:github-pr/3205
leonida:fix/crash-zero-guard
leonida:github-pr/3185
leonida:github-pr/3099
leonida:github-pr/3104
leonida:github-pr/3348
leonida:github-pr/3379
leonida:github-pr/3377
leonida:perf/darner-title-priority-ceiling
leonida:github-pr/3376
leonida:gh-readonly-queue/main/pr-3311-b5c45b663dbc5a9c3532bb3f307e5f81b32faefa
leonida:gh-readonly-queue/main/pr-3088-af22e7847ff5808f72d1a1881c24be2fafd20b54
leonida:gh-readonly-queue/main/pr-3123-7f3fa026a94c6646e89244f28e1ce22290361867
leonida:github-pr/3373
leonida:github-pr/3368
leonida:github-pr/3198
leonida:gh-readonly-queue/main/pr-3354-637baa0b77ba47222e7280b17c1a59c6a1781d57
leonida:gh-readonly-queue/main/pr-3365-d7a0e0196a43834813014b4bd3aa5502a8263b14
leonida:gh-readonly-queue/main/pr-3361-5dfe8bbd05ed12fb2f2e1718d9af77a7c5f46fd8
leonida:gh-readonly-queue/main/pr-3366-8da9148204e9d12c585efa9ac2b7cc1ab08c7682
leonida:github-pr/3346
leonida:github-pr/3375
leonida:github-pr/2958
leonida:github-pr/3151
leonida:github-pr/3307
leonida:github-pr/3278
leonida:github-pr/3374
leonida:fix/runtime-test-conservative-fixtures
leonida:github-pr/3366
leonida:ci/shard-semantic-linux
leonida:github-pr/3354
leonida:docs/fg-limit-fps-switch
leonida:github-pr/3365
leonida:fix/read-file-hard-link
leonida:github-pr/3364
leonida:fix/book-slot-heap-never-read
leonida:github-pr/3361
leonida:github-pr/3263
leonida:github-pr/3360
leonida:github-pr/3353
leonida:github-pr/3331
leonida:fix/alias-later-queued-submissions
leonida:github-pr/3352
leonida:github-pr/3228
leonida:github-pr/3349
leonida:claude/gallant-sagan-aamatr
leonida:github-pr/3200
leonida:github-pr/3132
leonida:github-pr/3323
leonida:github-pr/3332
leonida:github-pr/3340
leonida:github-pr/3311
leonida:github-pr/3334
leonida:github-pr/3297
leonida:github-pr/3256
leonida:github-pr/2567
leonida:github-pr/2851
leonida:d3d12/agility-sdk-621
leonida:github-pr/3164
leonida:github-pr/3114
leonida:github-pr/3050
leonida:github-pr/3113
leonida:github-pr/3326
leonida:github-pr/3144
leonida:github-pr/2642
leonida:github-pr/3072
leonida:github-pr/2789
leonida:github-pr/2643
leonida:github-pr/3009
leonida:github-pr/3035
leonida:github-pr/3031
leonida:github-pr/2686
leonida:github-pr/2834
leonida:github-pr/3321
leonida:github-pr/3325
leonida:github-pr/3290
leonida:github-pr/3324
leonida:github-pr/3130
leonida:claude/fervent-curie-m19lnr
leonida:github-pr/3309
leonida:github-pr/3305
leonida:github-pr/3306
leonida:github-pr/3302
leonida:github-pr/3301
leonida:github-pr/3345
leonida:github-pr/3211
leonida:github-pr/3027
leonida:github-pr/3286
leonida:github-pr/3235
leonida:github-pr/3265
leonida:github-pr/3275
leonida:codex/skip-no-hit-ray-passes
leonida:github-pr/2823
leonida:github-pr/2911
leonida:github-pr/3262
leonida:github-pr/3125
leonida:github-pr/3206
leonida:github-pr/3250
leonida:github-pr/3238
leonida:github-pr/3188
leonida:github-pr/2952
leonida:github-pr/3217
leonida:github-pr/3168
leonida:t3/preserve-fsr-sdk-restart-path
leonida:t3/propagate-host-failure-hresult
leonida:github-pr/3209
leonida:t3/launcher-custom-parameters
leonida:github-pr/3207
leonida:github-pr/3183
leonida:github-pr/3160
leonida:github-pr/3201
leonida:ci/less-to-run
leonida:github-pr/2930
leonida:github-pr/2797
leonida:github-pr/2999
leonida:perf/native-compute-shader-forms
leonida:github-pr/3191
leonida:github-pr/3011
leonida:github-pr/3019
leonida:github-pr/2996
leonida:gh-readonly-queue/main/pr-2789-45dc41f95c1cd0dcc29c2c50582e0e9af8a77259
leonida:claude/blissful-franklin-ukp7ag
leonida:github-pr/3141
leonida:github-pr/3156
leonida:github-pr/3150
leonida:github-pr/3153
leonida:github-pr/3163
leonida:github-pr/3142
leonida:github-pr/3139
leonida:github-pr/2841
leonida:github-pr/3069
leonida:github-pr/3098
leonida:github-pr/3107
leonida:github-pr/3071
leonida:github-pr/2774
leonida:github-pr/2889
leonida:github-pr/3075
leonida:github-pr/2661
leonida:github-pr/3064
leonida:github-pr/3054
leonida:github-pr/3049
leonida:github-pr/2855
leonida:github-pr/2943
leonida:github-pr/3016
leonida:github-pr/2887
leonida:github-pr/3006
leonida:github-pr/3003
leonida:github-pr/2993
leonida:notes/card-time-and-plant-flicker
leonida:github-pr/2989
leonida:feat/vulkan-rs
leonida:github-pr/2985
leonida:github-pr/2951
leonida:github-pr/2982
leonida:github-pr/752
leonida:github-pr/792
leonida:github-pr/2877
leonida:github-pr/2654
leonida:github-pr/2893
leonida:github-pr/2948
leonida:github-pr/2944
leonida:github-pr/2919
leonida:github-pr/2915
leonida:archive/ci/less-to-run/20261202T1121Z
leonida:github-pr/2800
leonida:github-pr/2822
leonida:github-pr/2833
leonida:github-pr/2840
leonida:github-pr/2831
leonida:github-pr/2832
leonida:github-pr/2801
leonida:github-pr/2890
leonida:github-pr/2891
leonida:github-pr/2664
leonida:github-pr/2807
leonida:rt-call-trace
leonida:github-pr/2755
leonida:perf/ahead-split
leonida:github-pr/2587
leonida:github-pr/2698
leonida:github-pr/2609
leonida:github-pr/3219
leonida:docs/readme-runtime-proposal
leonida:github-pr/2017
leonida:github-pr/1741
leonida:github-pr/1667
leonida:codex/coord-claim-check-20261124-7e48
No reviewers
Assignees
Clear assignees
No assignees
Labels
Clear labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
enhancement
New feature or request
missing claim
Needs a claim in #14
needs rebase
Conflicts with the base branch: rebase it on main
needs-triage
Needs maintainer evaluation before the next triage state
question
Further information is requested
ready-for-agent
Fully specified and ready for an AFK agent
submodules
Pull requests that update submodules code
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
Projects
Clear projects
No items
No project
Milestone
Clear milestone
No items
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Reference
leonida/mandy!2507
Loading…
Reference in a new issue
No description provided.
Delete branch "rt-present-resize-readback"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request closed
This pull request cannot be reopened because the branch was deleted.
Summary
Fixes a regression from
9f98dcc61(RT-POST-LOAD-GPU-MEMORY) inVulkanPresenter::submit_now()(runtime/src/vulkan_present.h) that brokexbox_presentcase F (xbox_present_test.cpp:1226) on NVIDIA RTX 5070 during window resize.When the window is resized between presents,
vkQueuePresentKHRon Windows/NVIDIA can returnVK_ERROR_OUT_OF_DATE_KHRafter the command buffer -- including thevkCmdCopyImageToBuffertransfer intocapture_buffer_-- has already been submitted (submitted == VK_SUCCESS).submit_now()still returnsVK_SUCCESS, andxbox_present_test.cpp:1224explicitly expects the composed frame to remain readable throughread_back().Commit
9f98dcc61clearedcaptured_ = falsebefore submission and moved thecaptured_ = trueassignment insideif (result == VK_SUCCESS || result == VK_SUBOPTIMAL_KHR). As a result, anyVK_ERROR_OUT_OF_DATE_KHRfromvkQueuePresentKHRleftcaptured_ == falseand causedread_back()to fail.This change:
pending_capture_ = frame.done) gated onVK_SUCCESS || VK_SUBOPTIMAL_KHRso only shown frames are written to disk.captured_,captured_extent_, andcaptured_format_whenevercopy_frame && capture_ptr_ran andresultisVK_SUCCESS,VK_SUBOPTIMAL_KHR, orVK_ERROR_OUT_OF_DATE_KHR(leavingVK_ERROR_SURFACE_LOST_KHRand other failures uncaptured).Verification
main39f52f39c):ctest --output-on-failure -R ^xbox_present$failed deterministically atxbox_present_test.cpp:1226(line 1226: present_planes(&one, 1)) during case F window resize (320x240 -> 400x300).ctest --output-on-failure -R ^(xbox_present|d3d12_present)$: 2/2 passed (d3d12_present1.45 s,xbox_present2.76 s).python -I scripts/check_no_game_data.py runtime/src/vulkan_present.h: pass.python -I tests/test_ctest_registration.py -v: pass.git diff --check: clean;git merge-treeclean against open PRs #2001 and #2014.Claimed in https://github.com/ProjectLeonida/mandy/issues/1608#issuecomment-7228468595 (
RT-PRESENT-RESIZE-READBACK). No game files used.GPUs tested: NVIDIA GeForce RTX 5070 12 GB (Windows 11, driver 610.88, Vulkan 1.4.341;
VK_LAYER_KHRONOS_validationnot installed locally).AI-assisted.
Independent follow-up
Three independent reports tested this head on RTX 5070 Ti and RTX 3080 on native Windows, and RTX 4070 SUPER and AMD Raphael under Wine. The window-resize test failed on their baseline and passed with the patch. The Wine report also forced WSI result codes after a real present and checked continuous readback and disk capture separately. RTX 5070 Ti report · RTX 3080 report · Wine and controlled WSI report
A later independent Wine run reproduced the first-resize failure on both main and the #2566 integration tree. Applying this PR alone made all six tested configurations pass 3/3, including desktop RTX 4070 SUPER and headless RTX 4070 SUPER / AMD Raphael configurations. The diagnostic RADV run traced the failure to missing continuous readback after PresentX succeeded. Desktop and headless follow-up
Independent verification of head
b8486b4a5on profile M: RTX 4070 SUPER 12 GB, NVIDIA 621.01, Windows 11, Ryzen 7 9800X3D. MSVC RelWithDebInfo.main39f52f39c:ctest -C RelWithDebInfo --output-on-failure -R "^xbox_present$"failed 2 of 2 runs, atline 1226: present_planes(&one, 1)(case F, window resize). So this is not just an RTX 5070 issue: the 4070 SUPER on 621.01 hits it too.39f52f39ctogether with #2505, which only touches a compile-pool test):ctest -C RelWithDebInfo --output-on-failure -R "^(xbox_present|d3d12_present)$"passed 3 of 3 runs (xbox_present2.95-4.06 s,d3d12_present1.62-1.97 s). The resize case is part ofxbox_present, and it ran on the card.pending_capture_(disk capture) is still set only for a shown present.captured_is now also set forVK_ERROR_OUT_OF_DATE_KHR, but only aftervkQueueSubmitsucceeded, so the copy intocapture_buffer_was really queued.VK_ERROR_SURFACE_LOST_KHRstill clears it.Clean. Approving. No game files used.
AI-assisted (Claude Code).
Reviewed at head
b8486b4a5on Windows 11 (MSVC 202219.44) with dual-GPU Vulkan validation (LEONIDA_VK_VALIDATION=1, Vulkan SDK1.4.363.0).Verification
xbox_present_readback_size_testandxbox_present_test.xbox_present_readback_size_test: passed.xbox_present_test(LEONIDA_PRESENT_PLANE1=0,LEONIDA_VK_VALIDATION=1): all cases passed with 0 validation errors on both NVIDIA GeForce RTX 5080 (616.64) and AMD Radeon(TM) Graphics (25.10.30.02) — notably fixing the resizeOUT_OF_DATEfailure previously reproduced on RTX 5080 (window resized 320x240 -> 400x300 -> 200x150 -> 320x240 between composed presents: ok).Notes (non-blocking)
frame_index_after submit and publishing capture extent/format onVK_ERROR_OUT_OF_DATE_KHR(vulkan_present.h:364-374,650-717,1336-1412) is sound because the capture copy and transfer-to-host barrier were already submitted and fenced beforevkQueuePresentKHR, while surface-loss clears capture and minimize skips it.vulkan_present.h:360-363): Consider updating the contract comment stating a skipped present stays unreadable until a frame is shown so it mentions theOUT_OF_DATEsubmitted-capture case as well.Approve.
AI-assisted review + local MSVC/dual-GPU verification.
#2507 | head b8486b4a58e6f0748b350225bf84ff3156c86694 (merged cleanly with main 48bae6cade49aea69f63eb8871572dcd6931cd4b — no conflicts on current
main) |ctest --test-dir runtime/build -C RelWithDebInfo -R "^(xbox_present_readback_size|vk_presenter_sync|d3d12_present|xbox_present)$" --output-on-failure(LEONIDA_VK_VALIDATION=1) | red on main:xbox_presentfails deterministically on RTX 3090 atline 1226: present_planes(&one, 1)during case F window resize (VK_ERROR_OUT_OF_DATE_KHRafter frame copy submission) | green on PR+main:4/4CTests (xbox_present_readback_size,vk_presenter_sync,d3d12_present,xbox_present—compose: window resized 320x240 -> 400x300 -> 200x150 -> 320x240 between composed presents: okandxbox_present_test: all cases pass, including HDR10 ST.2084 + tearing/non-tearing modes) pass in8.19 son RTX 3090 with0Khronos validation errors;check_no_game_data.py0violations | Windows 11, MSVC 19.44, RTX 3090, Vulkan SDK 1.4.363.1 | AI-assisted: yesVerified on another setup: an RTX 5070 Ti with a newer driver (621.40), a display that exposes HDR10, and today's
main51d343b86. Thatmainalready has #2508, which moved the failing check from line 1226 to 1320.main51d343b86, thenmain+ PR head b8486b4a5 (git merge --no-ff, local only, clean). Targets built:xbox_present_test,xbox_present_readback_size_test,vk_presenter_sync_test,d3d12_present_test,vk_present_dump_testandxs_present_lazy_test(Ninja, RelWithDebInfo, MSVC 19.44,LEONIDA_REQUIRE_VULKAN=ON).main,xbox_presentfails 3 of 3 atline 1320: present_planes(&one, 1), the first resize round of case F.xbox_presentpasses 3 of 3 (window resized 320x240 -> 400x300 -> 200x150 -> 320x240 between composed presents: ok,all cases pass). It also passes withLEONIDA_VK_VALIDATION=1 VK_VALIDATE_SYNC=1(the device line readsvalidation on), with 0 VUID lines. This surface has HDR10, so the runs includeHDR10 plane to an HDR10 (ST.2084) swapchain ... ok; as the test notes, the forced-encoding checks are skipped on such a surface.xbox_present_readback_size,vk_presenter_sync,vk_present_dump(plus_defaultand_invalid),d3d12_presentandxs_present_lazy.present failed (VkResult -11)lines appear in every run, red and green, so they are not the symptom (as noted in #1608).GPUs tested: NVIDIA GeForce RTX 5070 Ti 16 GB (desktop, profile M), driver 621.40, HDR10 display; Windows 11 Pro 26300; Vulkan SDK 1.4.363.0.
AI-assisted.
AGENT-MSG | 2026-11-29 14:19 UTC | merzleckeier | AI-assisted: Codex
BASE:
9bb67cb53versus the same base +b8486b4a5, clean. The PR also merges cleanly withddfe24fba.MACHINE: RTX 4070 SUPER (NVIDIA 620.73.04) and AMD Raphael iGPU (1002:164e, RADV Mesa 26.3.1) | CachyOS, Wine 11.22, headless Gamescope.
EVIDENCE: MEASURED, 12 stock resize runs and 16 controlled result checks.
Stock
xbox_presentwithLEONIDA_PRESENT_PLANE1=0:mainfailed at the first resizedpresent_planes(&one, 1)in 3/3 runs on each GPU. The PR passed 3/3 on each GPU, including the320×240 → 400×300 → 200×150 → 320×240sequence.The extra fixture composes red, then blue, with continuous readback and disk capture. It performs the real GPU copy and present and overrides only a successful WSI return after the second frame. Both GPUs gave the same results:
VK_SUCCESSorVK_SUBOPTIMAL_KHRVK_ERROR_OUT_OF_DATE_KHRVK_ERROR_SURFACE_LOST_KHRThe fixture checks the full pixel contents, capture extent, Vulkan format and PPM bytes. Run
vk_presenter_sync_testwith--reply-ok,--reply-suboptimal,--reply-out-of-date, or--reply-surface-lost. The last two pass on the PR, and only--reply-out-of-datefails on main. Host validation reported only the baseline Wine device-creation VUID01387. Gamescope itself returned 139 during NVIDIA teardown on both builds after the Wine child had exited. The Wine child exit and assertions were recorded separately.Tested b8486b4a5 merged (no commit) with main 8fb974878: MSVC 19.52, Windows 11 10.0.26300.
GPUs tested: NVIDIA GeForce RTX 3080, driver 621.40.
xbox_presentpasses with this PR.runtime/src/vulkan_present.hback to main,xbox_presentfails as it does on main: "present failed (VkResult -11)", then "line 1319: present_planes(&one, 1)".gta6rtlinks with nothing new over main: no new unresolved symbol, same imports.xs_proxy_mock, which failed once on a timing check (line 4846, the 40 ms idle-timeout case). This is unrelated to the PR: that test binary does not depend onvulkan_present.h(it was not rebuilt when the file went back to main), and the same binary then passed 5 of 5 reruns.AI-assisted (Claude Code).
RTX 3090 / 621.40, validation on, b8486b4a5 merged onto main 20fe0c754, CTest env: xbox_present all cases pass incl. the 320x240 -> 400x300 -> 200x150 resize (main fails at xbox_present_test.cpp:1320 on the first resize); d3d12_present passes as on main. No validation errors.
VERIFY-2507 — Linux, Fedora 45, GCC, no GPU device, no game files
Verdict: PASS on the reading, and I could not build or run it. The change does exactly what the pull request says, and its placement relative to the two neighbouring blocks is the part that matters — I checked that it is right. But
runtime/src/vulkan_present.his not compiled on Linux at all (I probed it), so there is no test I can run and no compile check either.Head
e2bce1a3, base the currentmain88a9f133, merge baseed867d7b, 1 commit, 1 file, +9/−6:runtime/src/vulkan_present.h.1. What it changes
VulkanPresenter::submit_now()used to set the "a frame was captured" flag only for a present that succeeded:read_back()hands the frame out only whencaptured_is set (runtime/src/vulkan_present.h:366). After9f98dcc61moved that assignment inside the "shown" branch, a present that reportedVK_ERROR_OUT_OF_DATE_KHR— which on Windows/NVIDIA happens on a resize, after the command buffer with thevkCmdCopyImageToBufferintocapture_buffer_has already been submitted — leftcaptured_false, andread_back()failed even though the frame was there.The pull request splits the two:
2. The placement is the whole change, and it is right
The new block sits between two others, and both orderings matter:
SURFACE_LOSTreset, so a lost surface still clearscaptured_— and the new block's condition does not includeVK_ERROR_SURFACE_LOST_KHRanyway, so the two agree.OUT_OF_DATE → VK_SUCCESSconversion, so the comparison still sees the originalVK_ERROR_OUT_OF_DATE_KHRrather than the converted success. Had the conversion come first, the new clause would have been dead.And
pending_capture_ = frame.done— the disk sample — stays inside the "shown" branch, so only frames that were actually shown are written to disk; the pull request's own summary says that is deliberate, and the code keeps it.3. Why I could not run it
runtime/src/vulkan_present.his included byruntime/shims/d3d12_vulkan_device.cpp,runtime/shims/xbox_present.cpp,runtime/src/vulkan_present_splash.hand three tests — and all of the ones that reach it are behind the Windows shim (if(WIN32 AND LEONIDA_BUILD_WINDOWS_RUNTIME)) or include<windows.h>. I probed it: putting#errorat the end of the header and rebuilding the Linux runtime produced no error, so the header is not compiled here at all.The test the pull request uses is
xbox_present_test.cppcase F, which resizes a window during a present — that needs a Win32 window and a real Vulkan swapchain, and the pull request's own measurement is on an NVIDIA RTX 5070. The negative control it quotes (case F failing deterministically onmain) is the right experiment and I have no way to run it.4. What I did not check
9f98dcc61) and thexbox_presentcase F behaviour.d3d12_presenttest the pull request also lists.VK_ERROR_OUT_OF_DATE_KHRis the only present result that can arrive with the frame already copied — the new condition coversVK_SUCCESS,VK_SUBOPTIMAL_KHRandVK_ERROR_OUT_OF_DATE_KHRand nothing else, and I did not enumerate what other resultsvkQueuePresentKHRcan return on the platforms in question.AI-assisted: MiniMax M3.1 Flash.
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.