Repository navigation
Conversation
Return the cached Arc<Compiled> to pipeline builders so repeated shader requests reuse the compiled storage. Keep the VS and PS owners alive while the driver consumes their bytecode. Assisted-by: Codex (gpt-6.1-sol)
Prepare native input copies with checked descriptor capture, packed vertex spans and a committed allocation cap. This preparatory module is not called by title execution yet. Assisted-by: Codex (GPT-6 family; exact variant unavailable)
Build native acceleration structures from captured inputs and retain every referenced buffer within the allocation cap. The title-facing observer is connected in the next change. GPU fixtures cover build, compact-copy, traversal and budget failure. Assisted-by: Codex (GPT-6 family; exact variant unavailable)
Forward the original builder calls, then record bounded shadow builds on the active recording segment. Rehydration invalidates captured mappings because its additional transforms are not reproduced. The observer is disabled unless explicitly requested. Assisted-by: Codex (GPT-6 family; exact variant unavailable)
Track compatible native structures by UMA range and recording owner. Invalidate bindings on reset, release and page remapping; cross-recording consumers retain the console path. Shader consumption is added separately. Assisted-by: Codex (GPT-6 family; exact variant unavailable)
Prepare an exact-program traversal matcher with control-flow guards, register-liveness assertions and sample-gated baseline GPU checks. Translation behavior is unchanged until the consumer is connected. Assisted-by: Codex (GPT-6 family; exact variant unavailable)
Bind a compatible native TLAS directly and use hardware hits to shorten one exact-program traversal region. Preserve the console check for nearer and zero-distance intersections. The opt-in path remains disabled by default and has no demonstrated retail FPS benefit. Assisted-by: Codex (GPT-6 family; exact variant unavailable)
ertugrul-tug
approved these changes
Nov 25, 2026
|
Native Windows run on AMD (native wave64) and NVIDIA, which the stack lists as untested. I applied this PR's diff against Head
Not tested: the retail shadow region (no sample), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #2085 and the preceding native-AS preparation branches. Immediate predecessor:
feat/shadow-traversal-matcher(190885bb24ee). Only commit24206a657b11belongs to this PR; earlier commits are dependencies.Connect one verified shadow traversal region to an opt-in native RayQuery upper bound for #1751. A compatible TLAS is bound directly at t0/space2. The original traversal still checks nearer intersections, including t=0, before the native endpoint is merged. No retail FPS benefit is established.
What is in it
Tested
x86_64-pc-windows-gnullvmcross-build, debug tests and release runtime. Executed under Proton Experimental, with DXC 1.9.2609.5 and the local vkd3d-proton compatibility build.cargo test --locked --target x86_64-pc-windows-gnullvm -p xcl --lib --no-run, then run through the local Proton runner with--test-threads=4: 1104 passed, 2 failed, 26 ignored; 24 explicit SKIPPED messages.XCL_HOST_RAYQUERY=1; the private shader sample was available throughXCL_SAMPLE_RAYQUERY. No title bytes are committed.main(568e7db7729c), same runner and hardware: 1096 passed, 2 failed, 26 ignored; 24 explicit SKIPPED messages. Both fail the same existing depth-state negative check (gpu_depth_buffer_created_for_unordered_access_is_placed) and XMA voice check (xma2_source_voice_decodes_and_manages_lifetime). Skips include unavailable hardware wave64 and Windows Developer Mode.24206a657b11:cargo build --locked --target x86_64-pc-windows-gnullvm --workspaceandcargo test --locked --target x86_64-pc-windows-gnullvm --workspace --no-runpassed after adapting the four integration-test accesses to the shared-DXILArcAPI in Shaders: share compiled DXIL across pipeline builds #2085.Regression run
The repository's unchanged
scripts/smoke.ps1generated these blocks, using PowerShell 7.7.0 on Linux and a shell wrapper that executes the EXE through Proton.Z:is mapped for reading the Windows log path. Both clean-source runs use the same title/profile copy, 90 s,XCL_PSO_PRELOAD=0, no automatic input, and a separate Xwayland surface on a background workspace. The PR's opt-in flag is enabled where available. Coverage is startup/start screen/menu, not world loading or native traversal execution.Both runs exited without recorded crashes or device removals. Wine prints 0 MB for process commit, so the memory-growth comparison is not established by this counter. The existing queue-drain warning may be present at timer shutdown.
Not tested
24206a657b11, all 19 non-library workspace executables were attempted under Proton.e2e,pls_quota,gpu_compute_e2eandpredication_e2efail on both main and head. The resource/sync executable aborts with four test threads on both (main: access violation; head: division by zero), so no aggregate pass is claimed.AI use
Codex (GPT-6 family; exact variant unavailable in this session) prepared the implementation, split the commits, cross-built the binaries, ran the listed Linux/Proton checks and drafted this description. No game data or console SDK headers are included.