Repository navigation
fix(tools): reject non-finite First Light clear values (Codex) - #5782
Open
evilclanker9000 wants to merge 1 commit into
Open
evilclanker9000 wants to merge 1 commit into
evilclanker9000 wants to merge 1 commit into
Conversation
A non-finite clear reference turns every background pixel into coverage and can hide an incomplete textured draw.
Contributor
|
Tested
AI-assisted. No game files. |
This was referenced Nov 23, 2026
Contributor
|
Tested
AI-assisted. |
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.
Claimed in the coordination issue as: EGEN-FIRST-LIGHT-FINITE-MANIFEST-CLEAR
Depends on: #3771 (overlapping rewrite of the coverage checker and its tests)
What and why
Reject NaN and infinite clear values in the First Light manifest before counting readback coverage. A non-finite reference causes every finite background pixel to be counted as covered, so an incomplete textured draw can pass.
Tested
python -m pytest -q tests/test_first_light.py tests/test_first_light_harness_paths.py tests/test_text_write_line_endings.py: 50 passed, four skipped, 94 subtests passed.git diff --checkpassed. Trial merge with fix(tools): reject non-finite First Light readbacks (Codex) #5396 was clean. The trial merge with First light: check_image reads the frame in place instead of a float per channel (BUILD-1052) #3771 conflicts in the coverage checker and test file.AI-assisted: yes
Checklist