upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_query_sync_test.cpp
diff options
context:
space:
mode:
authorCallimann8 <64160770+Callimann8@users.noreply.github.com>2026-12-01 23:04:12 +0100
committerCallimann8 <64160770+Callimann8@users.noreply.github.com>2026-12-01 23:04:12 +0100
commit3fdfbaa46f8a9811d6521ce6017b4094765c15de (patch)
treea049b5fb71ec5de8483108ae5b1071d14ac139b0 /runtime/test/vk_queue_query_sync_test.cpp
parentc4ca5761508f136c5530482093bb3053b0bad4fa (diff)
d3d12: hardware ray tracing on DXR 1.1 (LEONIDA_HW_RT, off: a trial)
In place of -RayTracing (the title's structure builder and software traversal as translated shaders): the title's XboxBvhBuilder calls become host DXR 1.1 bottom and top levels, and the traversal loops of its trace programs become inline ray queries. Ported from trustno1-coder/VIctory-NVIDIA (its #3706; from Leslie-d-a/VIctory-NVIDIA-HWRT 61e389e0 and 5f55bca8, original by dakisback2 ecc49d5b and 72f8316a), GPL-3.0, and fitted to this tree: - leonida-shader: emit/rayquery.rs wired into lower.rs (the plan, the handles, TLAS root SRVs t230..t241, the analyses that leave the lifted loops out). A program in the paired form is not lifted. With LEONIDA_HW_RT=1 the node test of a loop left unlifted misses every node (emit/intersect.rs bvh_miss): the console structures are never written then. - leonida-gpu: hwrt.rs (and dxr.rs for its records); list::external with a LEONIDA_THIN op for the structure work at its place in a title list; the TLAS views in the descriptor heaps; Deferred::held; the ray queries in the shader cache's entries; counters in the frame log. - leonida-hle: modules/xboxbvh.rs replaces the exports of the title's XboxBvhBuilder.dll when on. - With it on the light stand-in stands aside and the passes left out without structures run. Shader writes are not all copied back as VIctory-NVIDIA does (LEONIDA_HW_RT_COPY_BACK=1 asks for it): here that stretched and flickered textures and cost 30 to 45 ms a frame. - F1: HARDWARE RAY TRACING (TRIAL); play scripts: -HardwareRT (frame generation left off with it, as with -RayTracing); launcher: a checkbox. Docs: fork-ray-tracing.md, README.md, switches.md. One PC (RTX 4070 12 GB, driver 621.40, Series X profile, no frame generation): 22 to 25 frames a second against 6 with -RayTracing; the run ended after six minutes with the card's memory full. Co-authored-by: dakisback2 <90546900+dakisback2@users.noreply.github.com> Co-authored-by: Leslie-d-a <70692092+Leslie-d-a@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions