Reject unknown offscreen GPU operations #215
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!215
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/215/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@RonLogic on GitHub · 2026-11-21 18:29 UTC · original
RonLogic:fix/offscreen-invalid-option→main· +26 −0 · 3 files · 1 commits · merged 2026-11-21 19:11 UTCSummary
A typo such as
offscreen_check.exe warp --bvh-wavefalls through to the triangle renderer. It generates a BMP named--bvh-waveand exits successfully, which can make a script report a test pass when the requested GPU operation never ran.Reject unrecognized
--operations at the draw fallback. The command now prints an argument error and exits with status 2 without writing an image. Positional BMP paths and valid GPU checks keep their existing behavior.Verification
The new regression check failed before the fix because the command created an image and returned 0. All four tests passed after the fix on Windows 11 with an RTX 4070 and WARP.
Refs #166.
AI-assisted. The Windows results were verified locally.