[pr-fix][shaders][NVIDIA][RAYTRACING] Constant reads stay inside real constant buffer views (LDC device losses) #292
Loading…
Reference in a new issue
No description provided.
Delete branch "Pipodi/Darner:pr/nvidia-constant-reads"
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?
Refs #84
Contributor role (optional)
What it changes
nvlddmkmevent 13 in the System log,Graphics SM Warp Exception ... Invalid Constant Address LDC, then event 153; the game reports0x887A0006. Aftermath dumps0xc43ad96c52d44542(dxil:1275, the one in #84) and0x455825034071ee88(mesh programs of anExecuteIndirectbatch), plus one in the tiled shadow cascades compute. The evidence is in my comment on #84.On NVIDIA a constant load (LDC) through a descriptor that is not a constant buffer view with bytes, or past the view's size, stops the card. The console reads zeros there. darner issued three kinds of such reads:
SLOT_STRIDES) saysVIEW_CONSTANT, a new value (stride 0,VIEW_SIGNEDalone, which no buffer view has); zeros otherwise. This covers the scalar and per-lane paths, and descriptors chosen by control flow among table loads. Switch:DARNER_CBV_SLOT_GUARD(on;0restores the old reads).u32::MAXread 0 too. Switch:DARNER_CB_ROWS(on).mirror_innerstill wroteVIEW_CONSTANTfor it, so (1) alone did not stop the read (the0x455825034071ee88loss, on row 0). The word now follows the made view, in bothDARNER_VIEW_START_REMAINDERmodes, is cleared before the descriptor changes, and a 0-byte view never gets it. Constant views made for dynamic tables (constant_at_with_base,constant_raw_at) write it.Both switches are in the shader cache's
KEYEDlist, and README rows document them.Not in this PR, and noted for review:
ResourceHeappick path (lower.rs, descriptors picked straight from the resource heap) still reads stride-0 slots with no guard.DARNER_PORT_CBV=1(off by default),constant_twinnedcan show a null view for a made one and still getVIEW_CONSTANT.0x887A0005losses (empty breadcrumbs, no driver event, no dump) discussed in #84. On my card those stopped with the 2 GiB shader-heap profile (darner nv-profile), but others report they don't.How it was tested
Tested revision:
d91b0992(on53817d27,914fceff) on mainf3840d73. The game runs were on53817d27;d91b0992changes only reads at addresses that wrap pastu32::MAX(unit-tested). The same fix ran earlier as part of a local investigation branch.Commands and results:
cbv_loads_of_inactive_lanes_stay_inside_the_view(new): lane 0 reads byte 16 of a 256-byte CBV, the other lanes skip it holding byte 0xfff0. WithDARNER_CB_ROWS=0(the old load) this lost the device on the RTX 4090 ("device removed", nvlddmkm event 153); with the fix it passes on the 4090 and WARP. On WARP or AMD the old load passes too, so on a runner without an NVIDIA card it only checks the result.cbv_reads_that_wrap_past_u32_max_read_zeros(new): a scalar and a per-lanedwordx2at0xfffffffcand a halfword at0xffffffffread 0, row 0 beside them its bytes. Without the wrap fix it reads0x1111/0x1100on the RTX 4090.cbv_loads_read_zeros_where_the_slot_word_is_not_a_constant_view(new): slot word 0 gives zeros on every backend (with the guard removed lane 0 would read 0xabcd).constant_views_not_made_do_not_publish_a_constant_wordandconstant_buffer_views_of_no_bytes_have_no_constant_word(new, host): pass withDARNER_VIEW_START_REMAINDERat its default and at0.cbv_byte_and_halfword_loads_read_the_addressed_bytes,table_constant_buffers_read_as_raw_bytes_through_their_twins. All five shader tests pass withDARNER_CBV_SLOT_GUARDon and at0.cargo test -p darner-gpu --lib descriptor:: shader_cache: 163 passed, 2 ignored.Changes a default: yes, for every card (both switches are on). The reads it changes only gave zeros on the console; on AMD they read whatever the descriptor held; on NVIDIA they lost the device.
A/B result: RTX 4090, Series X profile, 2560x1440, DLSS quality, frame generation 3x, hardware RT, the same route from a new game, through the point a few minutes in where these losses came, and on.
0x887A0005before the shader-heap profile; 1 ran ~8 min with it), 1 on53817d27(7 min preload, then ~23 min of play)The ~8 min run and the run on
53817d27both ended in a process exit with no log line, dump or Windows record, with the PC nearly out of RAM (1-2 GB free of 32). I treat that exit as a separate problem and am looking at it (#301).Speed: not measured. Each guarded read adds a slot-word load and a branch, and shaders with table CBVs now bind the slot-word SRV. No frame-time A/B yet.
Gates run on
914fceff: all three, on Windows (there is no CI). Ond91b0992: gates 1 and 2 clean, policy ok, darner-shader lib tests 559 passed / 1 known failure (below); gate 3 not rerun in full (darner-shader only).cargo clippy --workspace --all-targets --locked -- -D warnings: clean.cargo clippy --workspace --all-targets --all-features --locked -- -D warnings: clean.cargo test --workspace --locked --no-fail-fast -- --skip oracle64(oracle64 left out: its exhaustive loops run for hours in a debug build): 3,345 passed, 2 failed, 121 ignored. Both failures also fail onmainf3840d73without this change:emit::waterfall_tests::sampled_marks_restore_early_depth_only_when_safe_in_pixel_shaders(DXIL validation failed: "Not all elements of output SV_Depth were written.").gpu_owned::tests::concurrent_faults_on_same_block_serialize_single_readback(one readback for the block, not eight, left 3): fails with the othergpu_owned::tests in the same run, passes alone.cargo xtask policy: 555 files ok.Gameplay: RTX 4090 24 GB, driver 621.40, Core i9-13900K, 32 GB, Windows 11 26300; Series X profile, 2560x1440, DLSS quality, frame generation 3x (
DARNER_FORCE_MFG_RTX40=1), ray tracing hardware, shader-heap profile 2 GiB.Shader wave sizes tested: the defaults on the 4090 (the unit tests run wave32).
Hardware dependence: the faults are NVIDIA's (Turing and later bindless constant handles carry the view size). The change applies to every card; elsewhere it only turns reads of nothing into zeros.
Coverage gaps: one card; no frame-time A/B; no AMD or Intel run in the game.
Checklist
main.docs/asset-policy.md(cargo xtask policy: 555 files ok).Checked for overlap
CS_RaytracingResolveindirect dispatches): both for the traceless0x887A0005losses, not the LDC ones.cbuffer_dwordand the static path). This PR does that too (part 2), and also covers what #223 does not: inactive lanes below row 4096 past a small view (the shadow dump faulted at row 4095 of a 768-byte view), and reads through slots that hold no constant buffer view at all, which fault at row 0 (parts 1 and 3). If #223 merges first, I'll rebase onto it.🤖 Generated with Claude Code
On NVIDIA cards a constant load (LDC) through a descriptor that is not a constant buffer view with bytes, or past the view's size, stops the card ("Graphics SM Warp Exception: Invalid Constant Address LDC", 0x887A0006); the console reads zeros there. Three such reads, all seen on an RTX 4090: - Table entries read as constant buffers through slots holding a null or a buffer view (the indirect mesh draws read the title's slots directly). The translator now reads a table entry as constants only where the host's slot word is VIEW_CONSTANT, zeros otherwise (DARNER_CBV_SLOT_GUARD, on). - Per-lane constant loads ran for inactive lanes at their own address, past the view; rows past 4095 were read as they were. Inactive lanes and rows past 4095 now read row 0, and rows past 4095 give 0 (DARNER_CB_ROWS, on). - The host wrote VIEW_CONSTANT over constant views it had not made yet (a null stand-in until a draw's table names them) and over 0-byte ones. The word now follows the made view, in both view-start modes, and is cleared before the descriptor changes. Both switches are keyed in the shader cache. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013qV4hjy6QugZNpPP8o97WfIndependent Windows build, gate, and code-read review of
914fceff6(based onmainf3840d73d). Not run in-game.Environment
x86_64-pc-windows-msvc), MSVC 19.44.35230.Measured results
cargo clippy --workspace --all-targets --locked -- -D warnings): PASScargo clippy --workspace --all-targets --all-features --locked -- -D warnings): PASScargo xtask policy: PASS (asset policy: 555 files ok)cargo test --locked -p darner-shader --lib cbv: PASS (4 passed; 0 failedin 2.33 s)cargo test --locked -p darner-shader --lib emit::bitcode::opt::tests: PASS (31 passed; 0 failed; 1 ignoredin 6.09 s)cargo test --locked -p darner-gpu --lib descriptor::host: PASS (107 passed; 0 failed; 1 ignoredin 1.16 s)cargo test --locked -p darner-gpu --lib shader_cache: PASS (13 passed; 0 failedin 2.93 s)cbv_byte_and_halfword_loads_read_the_addressed_bytes,cbv_loads_of_inactive_lanes_stay_inside_the_view,cbv_loads_read_zeros_where_the_slot_word_is_not_a_constant_view,table_constant_buffers_read_as_raw_bytes_through_their_twins): PASS with defaults (4 passedin 1.62 s) andDARNER_CBV_SLOT_GUARD=0(4 passedin 1.31 s).constant_views_not_made_do_not_publish_a_constant_word,constant_buffer_views_of_no_bytes_have_no_constant_word) withDARNER_VIEW_START_REMAINDER=0: PASS (2 passedin 0.53 s).Code-read audit
Overall this is a strong, well-tested fix that cleanly supersedes #223 (and avoids #223's
wrapping_addbug in the staticsmempath by usingbase.saturating_add(4 * k) >> 4 > 4095). Checked and verified sound:VIEW_CONSTANT = VIEW_SIGNED = 1 << 30(withoutVIEW_INTEGER) does not collide withslot_stride,view_bias, orinteger_view(whereVIEW_INTEGERgatessigned)."DARNER_CB_ROWS"and"DARNER_CBV_SLOT_GUARD"are inshader_cache::KEYEDand passevery_switch_of_the_translator_is_in_the_key.opt.rssimplify_guarded_useswill not unwrapselect(g, byte, 0)orselect(inside, ri, 0)becausecbufferLoadLegacyis not inis_speculatable_pure_call, and under defaultDARNER_LICM_CBUF=1guarded table CBV handles remain insidebegin_guarded.Beyond the three deferred items already noted in the PR description (
ResourceHeappick path,DARNER_PORT_CBV=1constant_twinned, andDARNER_LICM_CBUF=2), three concrete gaps remain:VIEW_CONSTANTclear-before-putordering on title-slot overwrite paths (crates/darner-gpu/src/descriptor/host.rs):VIEW_CONSTANTbefore overwriting the descriptor inmake_null(host.rs:6395) andmirror_inner's main path (host.rs:7145).View::Constant,mirror_inner(host.rs:7071-7096) entersstand_in_titleand returns early without callingclear_constant_word(index). Insidestand_in_title(host.rs:4593-4595,4666-4668),self.put(index)writes the texture/neutral/null descriptor beforeself.write_stride(index, 0)clearsVIEW_CONSTANT.put()-before-write_stride()window exists inunmake(host.rs:5292-5294),unmake_neutral(host.rs:5319-5321), andpublish_uploaded_slot(host.rs:4939-4944). Callingclear_constant_word(index)(or movingwrite_stride(index, 0)) ahead ofself.put(index)in those paths closes the remaining concurrent-reader window consistently.crates/darner-shader/src/emit/lower.rs):smemhandles wrap-around cleanly withbase.saturating_add(4 * k) >> 4 > 4095.smem(lower.rs:8181-8183), per-lane vector CBV loads (lower.rs:13861-13865, whereview_bounds(h, src)isNonefor CBVs soview_byteemits a wrappingBin::Add(byte, 4 * k)), and 16-bit CBV subword loads (load_subword,lower.rs:8350-8353,(byte + 1) & !3) all use wrapping 32-bit addition beforecbuffer_dword. For an out-of-range base nearu32::MAX(e.g.0xFFFF_FFF8on adwordx4load), later dwords wrap back to row0and return row-0 bytes instead of0(safe from LDC since row 0 is in-bounds, but diverges from the console's0).constant_slot_guardunnecessarily skips dynamically-indexedRootType::TableCBVs (crates/darner-shader/src/emit/lower.rs,tabledcheck):a.dynamic.is_none()excludes dynamically-indexed table entries even thoughslot_word->heap_indexandfetched_indexalready compute runtime heap indices andSLOT_TABLE_STRIDEScovers the full heap. Droppinga.dynamic.is_none()guards dynamic table CBV arrays and waterfall loops over tables as well.Minor non-blocking notes
crates/darner-shader/src/emit/bitcode/opt.rs:2465-2470, gating thelicm_cbuf() >= 2arm on!super::super::shader::cbv_slot_guard()in code (not just in the comment) would preventDARNER_LICM_CBUF=2from silently breakingDARNER_CBV_SLOT_GUARD.clear_constant_word(host.rs:5759-5769) performs aread_volatile()on Write-Combined upload heap memory whenDARNER_STRIDES_WBis off (the default).0for a static or dynamicrow >= 4096read would also exercise the 4096-row clamp on non-NVIDIA backends (wherecbv_loads_of_inactive_lanes_stay_inside_the_viewpasses even without the clamp).Verdict: Changes requested (close the missed
put()-before-write_stride()window instand_in_title/unmake/unmake_neutral/publish_uploaded_slot, removea.dynamic.is_none()inconstant_slot_guard, and guard dynamicaddr + 4*kwrap-around if console0semantics nearu32::MAXare desired).AI-assisted: yes (Gemini 4 Neon).
Thanks for the careful review. All points are addressed in
53817d276, on top of914fceff:1.
put()before the word on title-slot paths. Right.stand_in_title,unmake,unmake_neutralandpublish_uploaded_slotnow clear aVIEW_CONSTANTword before the descriptor changes. The same order problem was also intexture_slots_flipand inmirror_innerfor descriptors made in place (DARNER_VIEW_COPY=0), so the clear moved ahead ofmake_twinnedthere. Only a constant word is cleared early. Other words (stride, start remainder, integer flag) stay until the new descriptor is in, as before, because they still fit the old view. Afence(SeqCst)follows the clear, because the table can be write-combined memory, which x86 doesn't keep in order. Left as they were: the dynamic-slot writers (make_at,raw_at,constant_at*, ...), whose slots belong to one list until it is submitted, andrefresh_tlas/texture_views_remade, whose slots never hold a constant word.2.
a.dynamic.is_none(). Agreed, removed. For every source kind, the guard computes the slot with the same function and arguments ashandle:heap_indexon the load's own base/offset/soffset registers,descriptor_phifor phis, andlane_heap_indexfor per-lane and SCC-chosen descriptors, with the same clamp to the null slot. New testcbv_loads_at_a_computed_table_entry_follow_that_slots_word: entry 2 is read through a computed soffset, both scalar and per-lane. It reads the bytes with wordVIEW_CONSTANTand zeros with word 0. Slot 0 holds another CBV with word 0, so a guard reading the wrong slot fails. With the exclusion put back, the word-0 run reads0xabcdand the test fails.3. Wrap-around near
u32::MAX. Your reading is right. I've left it as it is: a wrapped address lands on a low row inside the view, so it can't fault, and I haven't verified what the console reads there.Minor notes:
DARNER_LICM_CBUF=2now hoists handles only whencbv_slot_guard()is off. This is enforced inopt.rs, not just stated in a comment.clear_constant_wordno longer reads the table:HostHeapkeeps one bit per slot whose word isVIEW_CONSTANT, maintained inwrite_stride. New host test:constant_words_are_cleared_without_reading_the_table.cbv_rows_past_4095_read_zeros: a real view with wordVIEW_CONSTANT, read at byte0x10000by a fixed scalar offset, a computed one and a per-lane load. All three give 0, and row 0 (0x1111) is read alongside so a clamp that kept row 0's bytes would show. It passes on the RTX 4090 and WARP.Tested on
53817d276:--no-fail-fast -- --skip oracle64): 3,349 passed, 1 failed, 121 ignored. The failure issampled_marks_restore_early_depth_only_when_safe_in_pixel_shaders, which also fails onmainf3840d73(see the description).gpu_owned::tests::concurrent_faults_on_same_block_serialize_single_readbackpassed this time.cargo xtask policy: 555 files ok.cargo test -p darner-shader --lib cbv_ table_constant_buffers emit::bitcode::opt::tests: 38 passed, 1 ignored (7 passed forcbv_ table_constant_bufferswithDARNER_CBV_SLOT_GUARD=0).cargo test -p darner-gpu --lib descriptor:: shader_cache: 164 passed, 2 ignored;descriptor::hostwithDARNER_VIEW_START_REMAINDER=0: 108 passed, 1 ignored.Not in this PR, and already listed in the description: the
ResourceHeappick path. As far as I can see, it reads any stride-0 slot as a constant buffer, null slots included, so in principle it could hit the same fault. I'd rather do that separately.Test result on an Intel Arc A770 16 GB (Series S, 1920x1080, XeSS ultra performance,
DARNER_LATE_WAIT=2), with this PR's commit added to our Intel branch:DARNER_CBV_SLOT_GUARD=0 DARNER_CB_ROWS=0), in the same build, the flicker came back.MS_VS_LinearDepthPreSkin_e7e88680(824dc1956e7e38b6), whose only user data is a table address. Runs without this PR stopped in the same programs (anotherLinearDepthPreSkinvariant, andMSNC_VS_CascadeShadows_drawskinnedTexture). So on Arc that loss has another cause than the constant reads fixed here.🤖 Generated with Claude Code
CHANGES NEEDED
Follow-up verification of
53817d276b7f29073661bf71ed69e11bb67477fc(basef3840d73d3504c30218debfbc8795b9225447317).Environment
Windows 11 Pro 26H2 build 26300.10075; Intel Core i9-14900K; NVIDIA RTX A2000 12 GB (driver 621.47); Rust 1.98.1 x86_64-pc-windows-msvc; MSVC 19.44.35230.
Measured results
cargo clippy --workspace --all-targets --locked -- -D warnings: PASS.cargo clippy --workspace --all-targets --all-features --locked -- -D warnings: PASS.cargo xtask policy: PASS (555 files ok).cargo test --locked -p darner-gpu --lib descriptor::host: 108 passed, 0 failed, 1 ignored.cargo test --locked -p darner-shader --lib emit::bitcode::opt::tests: 31 passed, 0 failed, 1 ignored.cargo test --locked -p darner-shader --lib emit::valu_tests::cbv_: 6 passed, 0 failed with defaults and withDARNER_CBV_SLOT_GUARD=0.cargo test --locked -p darner-shader --lib emit::valu_tests::unaligned_raw_table_views_add_the_remainder_and_obey_logical_bounds: 1 passed by default; withDARNER_VIEW_START_REMAINDER=0, 0 passed and 1 failed atvalu_tests.rs:2667because the test requires the feature-onlySLOT_TABLE_STRIDESroot SRV.DARNER_VIEW_START_REMAINDER=0, the two no-constant-word descriptor tests passed;cargo test --locked -p darner-gpu --lib shader_cachepassed all 13 tests with bothDARNER_VIEW_START_REMAINDER=0andDARNER_CBV_SLOT_GUARD=0.Code-read audit
stand_in_titleclears the constant-view marker before exposing a stand-in;unmakeandunmake_neutralclear that marker before replacing the descriptor and then update the twin, stride, and retained-view state (crates/darner-gpu/src/descriptor/host.rs:4588-4618,5296-5353).publish_uploaded_slotvalidates the current record under the slot lock before publishing and updates tracking only after the synchronous upload (:4940-4974).constant_slot_guardrecognizes table-derived and computed descriptor sources and guards the constant load using that slot's type word (crates/darner-shader/src/emit/lower.rs:8778-8829). The default and disabled-guard CBV test matrix passes.4*kto the 32-bit byte address beforecbuffer_dwordchecks whether the row is within 4095 (crates/darner-shader/src/emit/lower.rs:8191-8193,8320-8368). For an address of0xfffffffcandk=1, that addition wraps to row 0 and passes the row check instead of returning zero. The halfword path similarly adds 1 tobytebefore its row check (:8386-8397), so a halfword crossing theu32boundary can incorporate row-0 data. Add overflow-aware address handling and boundary tests for both paths.Not run in-game.
AI-assisted: yes (GitHub Copilot, Auto mode).
Thanks, you were right that wrapping needed handling. Fixed in
d91b0992, on top of53817d27:addr + 4kthroughcbuffer_dword_at, which also reads 0 when that sum would passu32::MAX(no_wrap:addr <= u32::MAX - 4k). The per-lane path had the same wrap (byte + 4k) and gets the same check.0xfffffffftakes nothing from byte 0 (load_subword'swraps_to_zero, constant buffers only). Its low dword, at row0x0fffffff, already read 0.wrapping_add. It only gets pastu32::MAXwithDARNER_CB_ROWS=0, where a debug build would have panicked. WithDARNER_CB_ROWS=0every read is as before.cbv_reads_that_wrap_past_u32_max_read_zeros: a scalar and a per-lanedwordx2at0xfffffffc, a halfword at0xffffffff, and row 0 (0x1111) read beside them. On the RTX 4090 it reads0x1111/0x1100without the fix and 0 with it.Results on
d91b0992(RTX 4090, driver 621.40):cargo test --locked -p darner-shader --lib emit::valu_tests::cbv_: 7 passed with defaults and withDARNER_CBV_SLOT_GUARD=0.DARNER_CB_ROWS=0,cbv_loads_of_inactive_lanes_stay_inside_the_viewfails as described (the old load loses the device here).cargo test --locked -p darner-shader --lib -- --skip oracle64: 559 passed, 1 failed (sampled_marks_restore_early_depth_only_when_safe_in_pixel_shaders, which also fails onmain).cargo test --locked -p darner-gpu --lib shader_cache: 13 passed.cargo clippy --workspace --all-targets [--all-features] --locked -- -D warnings): clean.cargo xtask policy: 555 files ok.Not in this PR: raw-view reads (
rawBufferLoad: SRVs, and constant buffers read raw underDARNER_PORT_CBV=1, off by default) still add4kwithout a wrap check when the view has no start bias. They aren't constant loads, so they can't hit LDC, and they were like this before. Also, underDARNER_PORT_CBV=1the byte/halfword path callscbuffer_dwordon a raw handle. That looks wrong, but it's older than this PR; I can open an issue for it.Code review only (read the diff at
d91b0992), nothing built or run. I agree with lewis499's two reviews and the fixes in53817d27/d91b0992. Two new points:opt.rsoperands_invariant). With the guard, each table-constant read and its handle sit in their own conditional block (begin_guarded), and atDARNER_LICM_CBUF=1a handle is not moved from a conditional block. So acbufferLoadLegacyat a constant row through a table entry now stays inside the loop. Before, the handle and then the row could leave it.licm_cbuf's doc credits that hoist with 2.8 ms of a 2080 Ti frame (boat scene, lighting gathers). If those rows come through table entries, the boat scene withDARNER_CBV_SLOT_GUARD=1vs=0should show it.Checked and fine: every path that makes a constant view or writes a slot word (
make_twinned,make_at,constant_at_with_base,constant_raw_at,mirror_inner,stand_in_title,unmake*,publish_uploaded_slot,texture_slots_flip,table_slot_unmade) ends with the right word; the list-view cache refuses constant views; the handle cache is keyed by block, so a guarded read cannot reuse an unguarded handle.Reviewed with Claude Code (AI-assisted); findings checked by a human before posting.
Testing this now in-game (head
d91b099on mainf3840d7, release build with bench-remote).Setup: RTX 5070 Ti 16 GB, driver 621.47, Ryzen 7 7800X3D, 31 GB RAM, Series X profile, 1080p upscaled to 1440p with DLSS Quality, DLSS frame generation 2x, hardware RT on. Automated camera flight over the city (same route and save every run, own home/data/cache folders, cache preloaded with the play switches for both arms).
Plan: same build, alternated runs, default vs DARNER_CBV_SLOT_GUARD=0, to measure the loop-hoist cost iBooM72 asked about and to watch for device losses with RT on. I'll post fps / p99 / any loss when it's done.
Test report for
d91b099(on mainf3840d7, release build withbench-remote).PC: RTX 5070 Ti 16 GB, NVIDIA driver 621.47, Ryzen 7 7800X3D, 31 GB RAM, Windows 11. Series X profile, 1080p scene upscaled to 1440p with DLSS Quality, DLSS frame generation 2x, hardware RT on.
Method: automated camera flight over the city (
cam-city60, same save and route each run, own home/data folders). Same build in both arms;DARNER_CBV_SLOT_GUARD=0for the other arm. Because the switch is inKEYED, each arm had its own cache folder, each preloaded with the play switches beforehand (no translation during the runs). 6 runs alternated: on, off, on, off, on, off.Device losses: none in 9 runs with RT on (these 6, plus 3 earlier runs at 1440p DLAA by mistake), none during the two preloads (7,048 of 7,050 pipelines built each). This PC had no RT device loss on main tonight either (6 runs for #367), so this says nothing about the fix itself, only that it breaks nothing here.
DARNER_CBV_SLOT_GUARD=0On iBooM72's loop-hoist question: on this route no cost from the guard shows; the default was faster in all 6 runs. I would not read that as a gain: the two arms ran from different cache folders (needed because of
KEYED), and on this route an A/A pair on #367 tonight differed by about 1.5 fps. This is a city flight, not the boat scenelicm_cbufwas measured on, so a cost there is still possible.Seen in passing: the driver refused one pipeline with
E_OUTOFMEMORYduring the default-arm preload (the refusal #367 is about), not related to this PR.Not run: the three gates (
cargo clippyx2,cargo test), and no visual check of the indirect mesh draws iBooM72 mentions.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.