-
Notifications
You must be signed in to change notification settings - Fork 103
fix(snow): remove dead snow code #1650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughRemoved SNOW feature logic from Lighting.hlsl (functions, PS_OUTPUT field, and all SNOW-conditioned code paths). Also simplified SPARKLE conditional in LightingEval.hlsli by dropping the SNOW exclusion so SPARKLE compiles regardless of SNOW. Changes
Sequence Diagram(s)(omitted — changes do not introduce a multi-component sequential flow that benefits from a diagram) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (2)**/*.{cpp,cxx,cc,c,h,hpp,hxx,hlsl,hlsli,fx,fxh,py}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/*⚙️ CodeRabbit configuration file
Files:
🧠 Learnings (9)📓 Common learnings📚 Learning: 2025-08-05T18:22:40.578ZApplied to files:
📚 Learning: 2025-08-03T18:37:19.690ZApplied to files:
📚 Learning: 2025-07-01T18:01:07.079ZApplied to files:
📚 Learning: 2025-08-05T17:40:44.828ZApplied to files:
📚 Learning: 2025-08-17T18:37:35.839ZApplied to files:
📚 Learning: 2025-07-05T05:20:45.823ZApplied to files:
📚 Learning: 2025-06-17T05:40:22.785ZApplied to files:
📚 Learning: 2025-08-17T18:37:35.839ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (7)
✏️ Tip: You can disable this entire section by setting 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 |
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
|
✅ A pre-release build is available for this PR: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should leave mask code in if we want to support snow deformation in the future. So still making the mask, just not doing anything with it and not writing to anything.
I forgor I fix soon |
removes dead snow define code from lighting.hlsl. no failed shaders, looks the same.
code was dead anyway, we explicitly set bImprovedSnow=0.
Summary by CodeRabbit
Bug Fixes
Chores
✏️ Tip: You can customize this high-level summary in your review settings.