chore(tracy): add GPU profiling subzones#2194
Conversation
- Zero-copy RCAS: redirect DLSS output to sharpenerTexture so RCAS writes directly to kMAIN.UAV, eliminating a ~214µs CopyResource - Terrain blending: DepthBlend CS writes mainDepth inline to u2 (R32_FLOAT UAV), eliminating a CopyResource(terrainDepth←mainDepth) of ~393µs - Depth upscale: gate kMAIN→kMAIN_COPY copy to non-3D menu contexts only; the engine already does this copy during gameplay (~200µs) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add Tracy GPU zones to UpscaleDepth (Depth Upscale, Underwater Mask, Depth VR Propagate) and Deferred Composite (Copies, Draw) for finer granularity in captures. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis pull request adds Tracy performance profiling instrumentation to two rendering operations. In the deferred composite stage, copy and draw operations are wrapped within separate profiling zones. Additionally, the depth upscaling function is instrumented with profiling markers around three sub-operations: depth upscale, underwater mask upscale, and VR depth propagation. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
No actionable suggestions for changed features. |
|
✅ A pre-release build is available for this PR: |
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> (cherry picked from commit 4fc77d9)
Summary
UpscaleDepth:Upscaling - Depth Upscale,Upscaling - Underwater Mask,Upscaling - Depth VR PropagateDeferredPasses:Deferred Composite - Copies,Deferred Composite - DrawEnables finer-granularity timing in Tracy captures for these passes.
Note: depends on #2193 (perf/vr-reduce-copies) for context; base branch can be updated to
devafter that merges.Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit