Repository navigation
Skip BVH builder input dispatches while it is off (VICTORY_BVH_INPUT_SKIP, off by default) - #16
Open
oceansde012 wants to merge 1 commit into
Open
oceansde012 wants to merge 1 commit into
oceansde012 wants to merge 1 commit into
Conversation
…INPUT_SKIP, off by default) Ported from ZigZagBoi1/ScarlettPort 1cb880b (#399, Marwan Mohamed, GPL-3.0-or-later). About 41 title compute programs only make the input geometry of the ray-tracing structure builder, which stays off unless VICTORY_BVH_BUILDER=1. With VICTORY_BVH_INPUT_SKIP=1 their dispatches are dropped while the builder is off; every 256th present logs how many a frame were dropped. Off by default here (upstream: on by default); also a live VICTORY_AB switch in diagnostics builds. Upstream measurement (RTX 3060): median frame 118-129 -> 82-83 ms, p95 150-156 -> 97-100 ms, same picture. Not measured on our base yet. The 41 hashes were checked byte for byte against upstream. Direct dispatches only, as upstream; skinlog diagnostics not taken. Code by DeepSeek (two rounds; reviewed and assembled by Claude). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLuVRnf5ZnWpyc3Cx9oASj
Owner
Author
|
CI Generated by Claude Code |
This was referenced Nov 28, 2026
Open
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.
Requested by Vlad · project thread
On top of #12 (integration). One commit: e0e43b1.
What
Port of ZigZagBoi1/ScarlettPort 1cb880b (#399, GPL-3.0-or-later). ~41 title compute programs only feed the ray-tracing structure builder, which is off unless
VICTORY_BVH_BUILDER=1(our launchers do not set it). WithVICTORY_BVH_INPUT_SKIP=1their dispatches are dropped while the builder is off. A log line every 256 presents says how many a frame were dropped.Why
Our frame is bound by the submit thread (68 of 70 ms). Every dropped dispatch saves bind/copy work there plus GPU time. Upstream on an RTX 3060: median 118-129 -> 82-83 ms, same picture. Not measured on our base yet.
Checks
CARGO_FEATURE_PURE=1 cargo check -p victory-gpu --target x86_64-pc-windows-msvcOK, with and without--features diagnostics.VICTORY_BVH_INPUT_SKIP=1, look for the log line "dispatches a frame ... dropped" (N > 0 means the list matches our build), compare picture with base run1.Code by DeepSeek, reviewed by Claude. Report: project files
reports/scarlettport-056-2026-11-28.md.Generated by Claude Code