Skip to content

scripts: compile the sun lattice sampler in shader fixtures - #5235

Open
jakildev wants to merge 1 commit into
masterfrom
claude/5234-render-harness-red
Open

jakildev wants to merge 1 commit into
masterfrom
claude/5234-render-harness-red

Conversation

@jakildev

@jakildev jakildev commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

Turns render-harness-tests.yml green again. The sun shadow lattice change (#5223) merged with this check red: its sampler divides and floors vec2 values, 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.

  • The shared source-face fixture (seven suites) gains a vec2(double) constructor for GLSL's vec2(0.5).
  • The mixed-source fixture gains the scalar constructor, vec2 / vec2 and floor(vec2).
  • The shade-only metric and its suite join 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.
  • CI render-harness-tests (Linux, gcc) on this head: pass.
  • Before the fix on fa65f0004: the same nine suites the CI run lists as failed also failed here.
Reviewer notes

Notes for reviewer

  • The mixed-source fixture keeps its map origin at zero, so it proves the lattice formula compiles and keeps layer ownership, not that a non-zero origin is addressed correctly.
  • simplify was not run: the diff is test files only.

Closes #5234

🤖 Generated with Claude Code

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 jakildev added fleet:author-claude Implementation last authored by Claude; route review to Codex fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend labels Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fleet:author-claude Implementation last authored by Claude; route review to Codex fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

master red: render-harness-tests.yml

1 participant