perf(vk): cut zone-entry ASTC upload spikes 25-53% (astc_flush_ms -99.5%) on non-ASTC GPUs via async chunk submits #2330
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
6 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2330
Loading…
Reference in a new issue
No description provided.
Delete branch "Jer9/Longshot:perf/vk-async-astc-upload-chunks"
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?
Summary
On desktop and laptop GPUs without native ASTC hardware (AMD, NVIDIA, Intel), Longshot decodes large ASTC texture bursts on the GPU in
16M-texel chunks (RX_VK_ASTC_CHUNK_MPX) to avoid Windows WDDM TDR timeouts. Previously, each chunk boundary blockedPresentation_ThreadonvkWaitForFencesjust so it could reset and reuse a single upload command buffer. During zone transitions (such as entering Hyrule Field or Kokiri Forest, where1365x1365x90terrain arrays split into ~14 chunks), that synchronous wait stalled the presentation thread behind in-flight GPU work for172–332 msper zone entry, causing large loading hitches and295 msvk: slow uploadspikes.This PR gives each frame recording a small reusable pool of upload command buffers (up to 64) so
replay_flush_upload()submits each16M-texel chunk asynchronously and moves immediately to the next command buffer without waiting on the GPU mid-frame. Separate submissions still protect against Windows TDR, and all chunks retire together when the frame slot is reused.Where this helps vs. where it doesn't:
~0.7–0.8 sentry hitches with~0.34–0.46 stransitions (-25%to-53%shorter spikes). Once already exploring a loaded area, gameplay feels unchanged.astc_flush_ms-99.5%(332.07 -> 1.64 ms), totalastc_flush_ms-99.2%(1580.42 -> 12.43 ms),vk: slow uploadcount-88.0%(25 -> 3),1365x1365x90CPUupload()wall time-90.1%(295.1 -> 29.2 ms), and zone-entry peak frame spikes by-25%to-53%(Hyrule teleport-44.5%, Kokiri teleport-25.4%, Market->Kokiri transition-53.1%).67% render scale(1024x576) or100% render scale(1536x864), where0warm chunk flushes happen, so steady-state FPS / 1% low are within run-to-run variance), non-ASTC uploads (like#490 12288x12288 NVN 0x32), and native-ASTC GPUs /RX_VK_ASTC_CPU=1/RX_VK_ASTC_CHUNK_MPX=0. On initial Market save-load, non-ASTC load work still dominates the peak frame (791.8 -> 809.7 ms, within single-run variance, even though itsastc_flush_msdropped201.37 -> 1.64 ms).Technical details:
Recording::upload_bufs, capped atkMaxAsyncUploadChunks = 64with a bounded-sync fallback) inr->upload_pool(gpu/vk/vk_replay.cpp).replay_flush_upload(VkCommandBuffer& cur)(gpu/vk/vk_internal.h,vk_replay.cpp,vk_texture.cpp) to submit each finished16M-texel chunk asynchronously (VK_NULL_HANDLEfence on FIFOdev.queue), advancer->upload,cur, andvk_texture'sup_cmdto the next command buffer, and return immediately without mid-framevkWaitForFences.RX_VK_PASS_TIMING(gprof_rebind_upload()ingpu/vk/vk_gprof.h/vk_gprof.cpp, plusgprof_submitted(r.slot, uploads || r.upload_idx > 0)) wheneverreplay_flush_upload()switches command buffers so GPU pass timing captures all ASTC upload chunks0..N.full_barrier()serializes GPU access tobc_scratch/bc_outacross chunks, staging remains alive until slot reuse, andrecording_wait(r)+vkResetCommandPool(r.upload_pool)retire all chunks in O(1).Read first:
replay_flush_upload()ingpu/vk/vk_replay.cppandupload_astc_gpu()ingpu/vk/vk_texture.cpp.Testing
How to test:
RX_VK_ASTC_CPU=0, defaultRX_VK_ASTC_CHUNK_MPX=16).python -I -B tests/test_async_astc_upload_chunks.py(fails onmain, passes here) plustests/test_astc_upload_chunking.py,tests/test_astc_pass_timing.py,tests/test_draw_stream_visibility.py,tests/test_fsr_image_retirement.py, andtests/test_fsr_uniform_ownership.py.0chunk flushes). Instead, load Market and transition/teleport into Hyrule Field and Kokiri Forest (streaming1365x1365x9011-mip ASTC terrain arrays).longshot_log.txt: countvk: slow uploadlines and check1365x1365x1 x90upload durations (should drop from~158–295 msto~18–29 ms, withslow uploadcount dropping sharply).frames.csv: compareastc_flush_ms(should drop from~170–330 msspikes to< 2 ms) and zone-entry peak frame times.0VK_ERROR_DEVICE_LOSTand clean terrain/prop textures across all zones; optionally run withRX_VK_PASS_TIMING=2to verifyu astcspans still report cleanly across multi-chunk uploads.Tested: Windows 11 (build 26200), AMD Ryzen AI 7 350 + AMD Radeon 860M (8 CUs, RDNA 3.5 iGPU, Adrenalin 26.10.1),
1600x1000,handheld_profile=1,sharpness=80,vsync=0,amd_anti-lag_2=1,RX_VK_PRECOMPILE=1,>= 12.5 spost-load settle:Market -> Hyrule Field -> Kokiri Forest,67% render scale,1024x576):0VK_ERROR_DEVICE_LOST,vk: slow uploadcount dropped25 -> 3, worstastc_flush_msdropped332.07 -> 1.64 ms, totalastc_flush_msdropped1580.42 -> 12.43 ms.Market_Childfountain-first route (67% render scale1024x5763 interleaved rounds,100% render scale1536x8643 interleaved rounds) +RX_VK_PASS_TIMING=2(67% render scale,1024x576):astc_flush_ms = 0.000 [0.000, 0.000]at both67% render scale(1024x576) and100% render scale(1536x864),0>= 50 msframes,gprof_rebind_uploadloggedu astccleanly with0VK_ERROR_DEVICE_LOST.RX_VK_SHOT_FX=1(sharpness=80) visual inspection: scene textures and ASTC terrain/props matchmaincleanly with zero corruption.main @ 0e32bc10withdev.py envllvm-mingw+RX_CPM):tests/test_async_astc_upload_chunks.py(new; exercises async chunk submits, slot reuse,kMaxAsyncUploadChunksfallback, error-pathvkQueueWaitIdleordering, andgprof_rebind_upload): FAIL onmain(753fb5af), PASS on this branch (37687772).--strictsuite (test_async_astc_upload_chunks,test_astc_upload_chunking,test_astc_pass_timing,test_draw_stream_visibility,test_fsr_image_retirement,test_fsr_uniform_ownership,test_vk_braces,test_utf8_paths,test_doc_anchors): 9 passed, 0 failed, 0 skipped.python -I -B tests/run_all.py --changed forge/main: 211 passed, 2 failed, 5 skipped — both failures are pre-existing Windows-onlymainfailures documented in#2304(test_perf_report,test_dev_packs).Still to test:
Market -> Hyrule Field -> Kokiri Forest), expecting reduced zone-entry hitching and0VK_ERROR_DEVICE_LOST(@Beanstalk Windows NVIDIA, Linux RADV).Measurements
Verdict: Large, unmistakable win during zone transitions and ASTC texture bursts: slashes worst
astc_flush_ms-99.5%(332.07 -> 1.64 ms), totalastc_flush_ms-99.2%(1580.42 -> 12.43 ms),vk: slow uploadcount-88.0%(25 -> 3),1365x1365x90CPUupload()wall time-90.1%(295.1 -> 29.2 ms), and zone-entry peak frame spikes-25.4%to-53.1%. Warm steady-state Market (67% render scale1024x576and100% render scale1536x864) has0chunk flushes and shows no measurable difference (within run-to-run variance), as expected.Setup: Windows 11, AMD Ryzen AI 7 350 + Radeon 860M (Adrenalin 26.10.1),
1600x1000,handheld_profile=1,sharpness=80,vsync=0,amd_anti-lag_2=1,RX_VK_PRECOMPILE=1, symmetric pre-warmed shader/pipeline caches. Measured standalone directly againstmain @ 753fb5af; rebased cleanly ontomain @ 0e32bc10(37687772— none of the 8 intervening commits touch ASTC upload chunking,replay_flush_upload, orvk_texture.cpp, so the numbers hold unchanged). 3-zone tour and Market->Kokiri transition run are single runs; steady-state Market values aremedian [min, max]across 3 interleaved rounds.Where it makes a difference (zone transitions & ASTC upload bursts):
main @ 753fb5af37687772astc_flush_ms(67% render scale,1024x576)332.07 ms1.64 ms-330.43 ms(-99.5%)astc_flush_ms(67% render scale,1024x576)1580.42 ms(41frames)12.43 ms(22frames)-1567.99 ms(-99.2%)vk: slow uploadcount (67% render scale,1024x576)253-22(-88.0%)vk: slow uploadoverall max (67% render scale,1024x576)295.1 ms(ASTC1365x1365x90)65.4 ms(non-ASTC#490 NVN 0x32)-229.7 ms(-77.8%)1365x1365x90CPUupload()wall time (67% render scale,1024x576)295.1 ms29.2 ms(GPU decode async ondev.queue)-265.9 ms(-90.1%)67% render scale,1024x576)831.3 ms461.4 ms-369.9 ms(-44.5%)67% render scale,1024x576)540.2 ms402.8 ms-137.4 ms(-25.4%)67% render scale,1024x576)717.3 ms336.2 ms-381.1 ms(-53.1%)Where it does NOT make a difference (within run-to-run variance):
main @ 753fb5af3768777267% render scale,1024x576)791.8 ms(astc_flush_ms 201.37 ms)809.7 ms(astc_flush_ms 1.64 ms)astc_flush_ms-99.2%)67% render scale(1024x576) Median FPS (3 rounds,0warm flushes)54.38 [53.59, 54.50]53.63 [53.36, 54.56]67% render scale(1024x576) Mean FPS (3 rounds,0warm flushes)53.68 [52.66, 54.00]53.04 [52.56, 53.98]67% render scale(1024x576) 1% Low FPS (3 rounds,0warm flushes)38.95 [36.86, 39.10]38.42 [36.52, 39.16]67% render scale(1024x576)astc_flush_ms(3 rounds)0.005 [0.005, 0.013] ms0.000 [0.000, 0.000] ms~0 msflush on both (path inactive in warm Market)100% render scale(1536x864) Median FPS (3 rounds,0warm flushes)45.11 [44.92, 45.29]45.21 [45.21, 45.21]100% render scale(1536x864) Mean FPS (3 rounds,0warm flushes)44.79 [44.25, 44.98]44.56 [44.38, 44.71]100% render scale(1536x864) 1% Low FPS (3 rounds,0warm flushes)32.89 [31.36, 33.52]30.95 [30.89, 32.26]100% render scale(1536x864)astc_flush_ms(3 rounds)0.011 [0.004, 0.014] ms0.000 [0.000, 0.000] ms~0 msflush on both (path inactive in warm Market)100% render scale(1536x864)>= 50 msframes (3 rounds)0 [0, 0]0 [0, 0]0frames on both (path inactive in warm Market)Risks
Recordingslot caches at mostkMaxAsyncUploadChunks = 64primary command buffers (> 1,024Mtexels in one recording) before falling back to the bounded-syncr->fence+vkResetCommandPoolpath, preventing unbounded pool growth.dev.queuewithfull_barrier()at chunk boundaries (protectingbc_scratch/bc_out) and separatevkQueueSubmit2packets (preserving Windows WDDM TDR protection). Staging buffers remain live untilrecording_wait(r)on slot reuse.RX_VK_ASTC_CHUNK_MPX=0disables chunk splitting entirely (leaving a single upload submission); reverting the commit restores synchronous per-chunk fence waits while keeping WDDM TDR chunk splitting. No save, options, or cache changes.Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (tests/run_all.py --changed forge/mainon Windows: 211 passed, 2 pre-existing Windows-onlymainfailures named in#2304:test_perf_report,test_dev_packs; targeted--strictsuite 9/9 passed).main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
tests/that reads changed source is updated, not weakened (tests/test_astc_upload_chunking.py,tests/draw_stream_visibility_test.cpp,tests/fsr_image_retirement_test.cpp, andtests/fsr_uniform_ownership_test.cppupdated; all pass).Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.Tested in game: Windows 11, AMD Radeon 860M (Adrenalin 26.10.1): 3-zone tour (Market -> Hyrule Field -> Kokiri Forest) and Market (1024x576 and 1536x864). Confirmed worst astc_flush_ms dropped 332.07 -> 1.64 ms (-99.5%), slow upload count dropped 25 -> 3 (1365x1365x90 CPU upload 295.1 -> 29.2 ms), Hyrule/Kokiri entry spikes cut 25-53%, 0 device_lost, clean texture parity.
Possibly related, for context:
WIP: perf(vk): cut zone-entry ASTC upload spikes 25-53% (astc_flush_ms -99.5%) on non-ASTC GPUs via async chunk submitsto perf(vk): cut zone-entry ASTC upload spikes 25-53% (astc_flush_ms -99.5%) on non-ASTC GPUs via async chunk submits@Jer9 only members of
BigBeanscan start the farm.One of them can approve this request by reacting 👍 to it or to this comment.This request was for15cec0f, and the PR has changed since (3768777), so a 👍 no longer approves it. Comment@Beanstalkagain to ask for the new commit.15cec0f473376877725f@Jer9 only members of
BigBeanscan start the farm. One of them can approve this request by reacting 👍 to it or to this comment.@Beanstalk Please test on Windows NVIDIA and Linux RADV with GPU ASTC decode enabled (
RX_VK_ASTC_CPU=0, defaultRX_VK_ASTC_CHUNK_MPX=16, head37687772): run a 3-zone tour / zone transitions (Market -> Hyrule Field -> Kokiri Forest) to trigger large1365x1365x90ASTC bursts. Comparevk: slow uploadcount/duration inlongshot_log.txtandastc_flush_ms+ zone-entry peak frame times inframes.csvvsmain, and verify clean terrain/prop textures with 0VK_ERROR_DEVICE_LOST.@Jer9 only members of
BigBeanscan start the farm.One of them can approve this request by reacting 👍 to it or to this comment.This request was for3768777, and the PR has changed since (f4de7b2), so a 👍 no longer approves it. Comment@Beanstalkagain to ask for the new commit.@ -1173,6 +1178,7 @@ void part_submit(const PartSubmit& s) {static std::atomic<int> failures{0};if (res != VK_SUCCESS && failures++ < 8) logf("vk: submit %llu failed (%d)", (unsigned long long)r.value, (int)res);if (res == VK_ERROR_DEVICE_LOST) device_lost(); // (the recorder's too: the report, then the process ends)if (res != VK_SUCCESS && r.upload_idx > 0) vkQueueWaitIdle(dev.queue);if the last submit fails after a few upload chunks already went threw, wat makes it safe for the next frame to reuse that slot? dumb question, did you test that whit the recorder on and off? I wonder if someone has tried the zone entry on a arc b580. i could see if the freeze is shorter
Not a dumb question at all — those are both good things to check.
submit_recording()) is there for. Ifsubmit_or_retry(si, r.fence)returns a non-DEVICE_LOSTerror (VK_ERROR_DEVICE_LOSTaborts viadevice_lost()),r.submittedbecomesfalse, so the nextrecording_wait(r)skipsvkWaitForFences. Becauser.upload_idx > 0,vkQueueWaitIdle(dev.queue)runs right there underdev.present_muto drain all earlier async upload chunks (0 .. r.upload_idx - 1) on the FIFO queue. InRX_VK_RECORDER_PARTSmode,recording_wait(r)also waits onrec::wait_part(rec_ticket[r.slot])before readingr.submittedor resettingr.upload_pool, so the replay thread can't reuse the slot whilepart_submit()is still draining the queue. (The same drain-before-reset runs insidereplay_flush_upload()if a mid-upload end/submit fails withr->upload_idx > 0, whichtests/test_async_astc_upload_chunks.pychecks.) In batched mode (RX_VK_BATCH=1),submit_recording()/part_submit()only append topend.cbsand keepr.submitted = true; if the laterqueue_flush_locked()fails non-fatally,batch_tlnever signals sorecording_wait(r)never reachesvkResetCommandPool(same asmainforr.pool).main,Threaded rendering: Autostays off on my non-mirrored iGPU, so the standalone in-game runs were with the recorder off. TheRX_VK_RECORDER=thread(part_submit) path was checked by code inspection (vkEndCommandBuffer(cur)inreplay_flush_upload()hitsrec::boundary(B_vkEndCommandBuffer)and drains the ring before each chunk submits, andpart_submit()sits betweenpost_part_submit()andrec::wait_part()on slot reuse), not in a live game run yet.RX_VK_ASTC_CPU=0andRX_VK_ASTC_CHUNK_MPX=16(plusRX_VK_FRAME_TRACE=1), entering Hyrule Field or Kokiri Forest makes it easy to compare — the1365x1365x90vk: slow uploadlines inlongshot_log.txtandastc_flush_ms/ zone-entry peak frame times inframes.csvare the clearest things to look at againstmain.Tested on Linux RADV: a Steam Deck OLED (VANGOGH, SteamOS 3.9.5, GPU held at 1600 MHz). This PR's head
37687772against its base, main @0e32bc10, both renderers built the same way (nx2/build.py --standalone, no play profile). GPU ASTC decode at its defaults (noRX_VK_ASTC_*switch set). Headless run: the Kokiri save's load, then three teleports to Market_Child with a walk and camera swings in each;RX_VK_FRAME_TRACE=1,HOS_FPS_MAX=1000, 3D scale 1.0. Order: main, PR, PR, main.Works on RADV: the mid-frame chunk waits are gone, and frame times improve a little, both PR runs ahead of both main runs on p95 and p99. The worst frames right after an arrival (340 to 390 ms) are the same on both sides.
astc_flush_ms, whole runastc_flush_msin a frameOn the Deck the terrain arrays are 341x341 (the Deck's texture size cap), about 10.5M texels each, so the chunk boundaries fall between textures:
Loading screens were 2.5 % shorter (9.25 s to 9.02 s a teleport on average). Each run had 12 teleports, with no FATAL, device lost or ASTC error.
One thing I can't explain: in PR run b, outside the measured visits, one frame of 603 ms, with two non-ASTC uploads and small ASTC ones slow at the same moment. It looks like the whole Deck stalling (this route swaps out 2.0 to 2.4 GB on every run), and the other PR run had nothing like it, so I don't tie it to this change:
Not checked: pictures, and a session in Game Mode.
@Jer9 wrote in #2330 (comment):
sure i will give it a spin after work tonight, if someone else doesnt get to it before me.
@review
Recommendation: Request changes. The new command-buffer path continues recording after a non-device-lost begin failure, which can produce invalid Vulkan commands. The Steam Deck runs show a repeatable reduction in high frame times, but the larger Windows zone-entry claims are based on single runs and key hardware and recorder paths remain untested.
The change submits bounded ASTC upload chunks without waiting after each one, trading cached command buffers and additional in-flight work for shorter upload stalls. On the reported Steam Deck route, p99 frame time fell from 117–118 ms to 100–105 ms, while the worst arrival frames remained similar.
Blocking (1): must change before merging.
gpu/vk/vk_replay.cpp:8212: A non-device-lost failure from beginning the fresh upload command buffer is ignored, and the function reports success. (more on the line) Do: Check every begin result and propagate failure or terminate through the renderer's fatal error path; do not record or submit the failed command buffer. Add a failure-path test.Should fix (1): not blocking, but worth doing before merging.
tests/test_async_astc_upload_chunks.py:235: The documented standalone test defaults to clang++ even though Linux builds also support GCC. (more on the line) Do: Honor CXX and choose an available supported compiler when no --cxx argument is supplied, as the test runner does.Testing before merging (2) (runs on the systems it can change; it doesn't hold the recommendation)
@fixcan do L1 and L2.Checks: Still running: 9 checks.
More: does it help, other systems, switches, what was read
Does it help: Yes on the tested Steam Deck route: two interleaved runs per side reported p95 of 77–79 ms versus 69–70 ms and p99 of 117–118 ms versus 100–105 ms. The claimed 25–53% Windows zone-entry peak reduction is unproven because those comparisons were single runs against an older base.
Other systems: The path affects GPU ASTC decoding, queue submission, recording-slot reuse and pass timing on both operating systems. Windows AMD was tested in game; Linux RADV was tested headlessly on Steam Deck without picture or Game Mode checks. NVIDIA, Intel and the threaded recorder path have no reported in-game runs.
Switches: No switches added, changed or removed. Existing RX_VK_ASTC_CHUNK_MPX defaults to 16; setting it to 0 disables chunk splitting rather than restoring the previous synchronous chunk behavior.
Reviewed:
376877725fagainst0e32bc100d: Read AGENTS.md, CONTRIBUTING.md, the pull request template, standards, the complete diff, commit message, new test and profiling files, and relevant replay, texture, recorder and test code around the changes. Skimmed the remaining portions of the large changed replay, texture and existing test files; did not read those files in full. The requested review checklist and sibling Tooling AGENTS.md were absent. No recorded artifacts, translations or generated files were changed.; nothing run (a code review).Checked and fine:
Testing: Read-only review; no builds, tests or project scripts were run. Several CI checks remain in progress.
Overlaps and merge order: Unknown; network access is closed.
Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.
@ -8174,0 +8209,4 @@gprof_rebind_upload(r->slot, r->upload);VkCommandBufferBeginInfo bi{VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO};bi.flags = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT;if (vkBeginCommandBuffer(r->upload, &bi) == VK_ERROR_DEVICE_LOST) device_lost();L1 (blocking): A non-device-lost failure from beginning the fresh upload command buffer is ignored, and the function reports success.
When: If vkBeginCommandBuffer returns an allocation error after a successful asynchronous chunk submit, upload_astc_gpu records barriers and dispatches into a command buffer that did not enter recording state, then submits it.
Do: Check every begin result and propagate failure or terminate through the renderer's fatal error path; do not record or submit the failed command buffer. Add a failure-path test.
@ -0,0 +232,4 @@parser = argparse.ArgumentParser(description=__doc__)parser.add_argument("--cxx", default="clang++")parser.add_argument("--source", type=Path, default=ROOT)args = parser.parse_args()L2 (should fix): The documented standalone test defaults to clang++ even though Linux builds also support GCC.
When: On a Linux development machine with g++ but no clang++, the documented test command fails to start the compiler, even when CXX names the available compiler.
Do: Honor CXX and choose an available supported compiler when no --cxx argument is supplied, as the test runner does.
Addressed BeanBot review findings L1 and L2 in commit
f4de7b2c133f21504abcc048e763dd116b096be9:Changes
L1 (
gpu/vk/vk_replay.cpp:8212-8217, 8236-8253) — CheckvkBeginCommandBufferandvkResetCommandPoolerrors:vkBeginCommandBuffer(r->upload, &bi)on both the asynchronous next-command-buffer path and the pool-reset fallback path, plusvkResetCommandPoolsymmetrically.VK_SUCCESSresult logs the error, callsdevice_lost()onVK_ERROR_DEVICE_LOST, and aborts viareplay_fatal(...)instead of returningtrueor allowing subsequent recording into an unbegun command buffer.L2 (
tests/test_async_astc_upload_chunks.py:106-153, 233-420) — Compiler auto-detection and failure-path tests:detect_cxx()honoringCXX(parsed withcompiler_command.parse_compilerso multi-token wrappers likeccache g++work),LONGSHOT_MINGW/bin/clang++.exeon Windows, andclang++/g++/c++fallback when--cxxis omitted.replay_fatalanddevice_lostacross bothvkBeginCommandBufferpaths andvkResetCommandPool(compiled with-Wall -Wextra -Werror).Verification
python -I -B tests/test_async_astc_upload_chunks.py(with--cxxomitted, and also with multi-tokenCXX): PASS.python -I -B tests/run_all.py --strict test_async_astc_upload_chunks byte_compile_tracked: 2 passed, 0 failed, 0 skipped.python -I scripts/dev.py vkon Windows (llvm-mingw): builds cleanly (longshot_vk.dll).Remaining Tier 1 Hardware Notes (L3 & L4)
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.