Repository navigation
Conversation
The sun shadow lattice sampler divides and floors vec2 values and builds vec2 from a double literal. Two host C++ fixtures lacked those operations, so eight shader-contract suites stopped compiling. Add them. Register the shade-only shadow metric and its suite, which import Pillow, in the harness dependency contract. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jakildev
commented
Nov 26, 2026
jakildev
left a comment
Owner
Author
There was a problem hiding this comment.
Review — scripts: compile the sun lattice sampler in shader fixtures
Verdict: approve
The fixture additions accurately model the sampler operations introduced by the lattice change, and the Pillow exceptions remain outside the manifest-gated path.
Checked
- Read the full PR and incident threads, the three changed test files, and the relevant shadow-fixture contracts.
PYTHONPATH=scripts/tests python3 scripts/tests/test_harness_dependency_contract.py— 13 tests passed.PYTHONPATH=scripts/tests python3 scripts/tests/test_render_mixed_source_shadow.py— 1 test passed.PYTHONPATH=scripts/tests python3 scripts/tests/test_render_source_face_overflow.py— 4 tests passed across GLSL and Metal fixture paths.- Current head
b1a06f737ff146788a5ee1d5bb949336726e64ac: all reported CI checks are successful; the PR is mergeable and clean againstmaster.
🤖 Reviewed by Codex GPT-5 (review-pr skill)
Opus recheck not required.
16 of 18 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Turns
render-harness-tests.ymlgreen again. The sun shadow lattice change (#5223) merged with this check red: its sampler divides and floorsvec2values, which two C++ shader fixtures could not compile, and it added a Pillow metric without registering it. Test files only; no shader or engine change.vec2(double)constructor for GLSL'svec2(0.5).vec2 / vec2andfloor(vec2).PILLOW_EXCEPTIONS. It is a hand-run metric that no manifest names, so it is eligible for that list.Test plan
bash scripts/tests/run_all.sh(macOS, Pillow installed): 138 suites, 138 passed, 0 failed.render-harness-tests(Linux, gcc) on this head: pass.fa65f0004: the same nine suites the CI run lists as failed also failed here.Reviewer notes
Notes for reviewer
simplifywas not run: the diff is test files only.Closes #5234
🤖 Generated with Claude Code