Repository navigation
test(compositor): fix two local-only D3D11 render tests - #1090
Conversation
output_geometry_golden still sent roundnessPx, gone from the scene contract since the px-to-fraction refactor: every golden test panicked on a missing roundnessFrac. 24 px at 1080p is 0.0222, the value scene.rs uses for the same conversion. the_device_trails_with_the_screen_under_motion_blur built its OPENSCREEN_DEVICE_OUT file names from the rotation JSON, which for the orbit camera contains quotes and a colon (os error 123 on Windows). Each rotation now carries a short label for the file name.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to This change updates local compositor render tests without establishing a production behavior regression. No actionable issue remains that should block merging. Pre-merge checks |
|
|
@coderabbitai review |
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
Two D3D11 render tests that only run locally (Windows CI is
cargo check) were broken on main. Test-only change.output_geometry_golden: its three scenes still sentroundnessPx, dropped from the scene contract by the px-to-fraction refactor. All three tests panicked on a missingroundnessFrac. Now0.0222, the valuescene.rsalready uses for 24 px at 1080p.the_device_trails_with_the_screen_under_motion_blur: withOPENSCREEN_DEVICE_OUTset, it built file names from the rotation JSON. The orbit camera's fragment holds quotes and a colon, so Windows refused the name (os error 123). Each rotation now carries a short label (flat,iso,orbit).Related issue
None. Found while reviewing #933.
Type of change
Release impact
Desktop impact
Screenshots / video
N/A
Testing
Local Windows run on a D3D11 GPU, with a real recording in
OPENSCREEN_GOLDEN_SCREEN/_WEBCAMandOPENSCREEN_DEVICE_OUTset:missing field roundnessFrac); device trail test failed ontrail-laptop-orbit","focusMode":"auto-sharp(os error 123).Not addressed here: the golden never calls
set_live_params, so the scene'spaddingis not applied to its frames. Separate change.🤖 Generated with Claude Code
Summary by CodeRabbit