fix(upscaling): revert depth copy condition#2309
Conversation
📝 WalkthroughWalkthroughThe depth-copy operation in ChangesDepth Upscaling Logic
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 OpenGrep (1.20.0)OpenGrep fatal error (exit code 2): [00.19][ERROR]: Error: exception Unix_error: No such file or directory stat src/Features/Upscaling.cpp Comment |
|
No actionable suggestions for changed features. |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
src/Features/Upscaling.cpp (1)
1922-1924: ⚡ Quick winAdd an issue-closing reference in the PR description.
Since this change is a bug fix, consider adding
Fixes #<issue>orCloses #<issue>for traceability.As per coding guidelines, "When reviewing PRs, please provide suggestions for: ... Issue References (if PR fixes bugs or implements features): Suggest adding appropriate GitHub keywords: - 'Fixes
#123' or 'Closes#123' for bug fixes".🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@src/Features/Upscaling.cpp` around lines 1922 - 1924, The PR lacks an issue-closing reference: update the PR description to include a GitHub keyword like "Fixes #<issue>" or "Closes #<issue>" that corresponds to this bug fix (the change around copyIfNonAliased(depthCopy.texture, depth.texture)); mention the related issue number so the PR will auto-close the bug when merged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@src/Features/Upscaling.cpp`:
- Around line 1922-1924: The PR lacks an issue-closing reference: update the PR
description to include a GitHub keyword like "Fixes #<issue>" or "Closes
#<issue>" that corresponds to this bug fix (the change around
copyIfNonAliased(depthCopy.texture, depth.texture)); mention the related issue
number so the PR will auto-close the bug when merged.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 7d1dbdb3-6ce5-42e4-9f2d-406a7ea77395
📒 Files selected for processing (1)
src/Features/Upscaling.cpp
|
✅ A pre-release build is available for this PR: |
reverted the added condition in #2193
to fix frozen depth after upscaling
Summary by CodeRabbit