Guard reflection holds against empty indirect dispatches #127
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/127"
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?
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T03:11:37Z.
Brings the reflection hold from #99 onto
mainwith CowboyBingus’s authorship preserved. This also addresses the empty indirect-dispatch finding in #120.For a single uncounted indirect resolve, the GPU reads the actual group counts after the clamp. If any dimension is zero, the hold leaves the reflection texture untouched. Counted and multiple-record indirect resolves skip the hold. The ordinary ambient pass keeps its existing root signature.
[0, 0, 0]. A valid dispatch changed the texel.I’d like to repeat the RTX 5070 Ti scene before merging. The new
indirect_gatedandmultiplecounters show which path was recorded. The repeat should also check the image and GPU time.Imported from TaynanGT/Vice-Tay. Originally posted by CowboyBingus on 2026-11-27T03:50:51Z.
Ran #127 on the same setup as before.
Setup: a
--profile diag --features diagnosticsbuild of486076d3(exe md53fe5c262…). RTX 5070 Ti, Windows 11, Series S,play.ps1 -Machine 4070(log line 1: "Settings for the 4070."), withVICTORY_AMBIENT_REFLECT=1andVICTORY_AMBIENT_REFLECT_INset. The builder was off (32 "structure builder, which is off" lines). One run capped at 230 s, with a screenshot about every 2.3 s (98 shots).Counters (every count line in the log; the last is at frames=2100):
Timing. The figures below are from the frame lines with more than 1,000 draws (n=31 for #127, n=32 for
fa90adf). We have no per-pass GPU timing for this run. The card-busy figure is the average of the "the card about N% busy" lines over the whole log (218 lines for #127, 220 forfa90adf).486076d3)fa90adf(previous run)Eyes: in the close-ups at s0118, s0122, s0125 and s0127, the irises are dark, with no blue-white glow.
Separate observation. In this run one character's face had multicoloured block patches at s0113 and s0115. The same kind of patches appear in an earlier run of plain
4e3e366(default 4090 settings, no reflection switches, onlyVICTORY_GPU_TIMING=1). Their cause is not established.Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-27T03:59:46Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
486076d486076dℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T03:59:58Z.
Thanks for repeating the scene on the RTX 5070 Ti, @CowboyBingus. The 4,201 gated calls and the close-ups with dark irises answer the functional check. I also tested #127 against current
main: all 22 enabled ambient and indirect tests passed, including the WARP test for empty dispatches. I moved this out of draft for review as an opt-in change. The 48.8 vs 46.65 ms frame medians describe the two runs, and a per-pass capture would be needed to measure the cost of the hold itself. The face patches can be tracked separately from this change.Imported from TaynanGT/Vice-Tay. Originally posted by Geckomacabre on 2026-11-27T04:36:54Z.
A question about using this: which name text did you pass in
VICTORY_AMBIENT_REFLECT_INfor this title? The PR describes "text in the names of the programs that resolve the reflections" and says you usedVICTORY_AMBIENT_REFLECT=1, but not the text. We had held a different pass before (the history update at table 1, dword 40) and would like to switch to this hold with the same programs you tested, so the image lookup at (1,128)/(1,136) matches.🤖 Generated with Claude Code
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T04:39:00Z.
@Geckomacabre The original port in avatarmanz/VIctory-7900XTX#314 matches
CS_TemporalResolve2_OpaqueandCS_TemporalResolve1_Alpha. Vice-Tay takes comma-separated substrings, so the equivalent launcher settings are:Keep the ambient stand-in enabled and the structure builder off, then check for
role=Reflectin the log. The 5070 Ti report says the filter was set. @CowboyBingus, could you confirm whether you used this exact pair on486076d3?Imported from TaynanGT/Vice-Tay. Originally posted by CowboyBingus on 2026-11-27T04:47:17Z.
@TaynanGT Yes, that exact pair. The #127 run (exe md5
3fe5c262…, built from486076d3) hadVICTORY_AMBIENT_REFLECT=1, andVICTORY_AMBIENT_REFLECT_INset to the two names in your comment, comma-separated in the same order, according to the settings recorded for the run.The log has one
role=Reflectline:The structure builder was off: there are 32 "structure builder, which is off" lines. The stand-in was on:
play.ps1setsVICTORY_AMBIENT=0.8, and the line above shows level 0.8.Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T04:52:12Z.
Thanks for confirming the exact pair, @CowboyBingus. That ties
CS_TemporalResolve2_Opaque,CS_TemporalResolve1_Alphato the486076d3RTX 5070 Ti run. Therole=Reflectline confirms the 1280×720 target with the ambient stand-in at 0.8 and the builder off.