Repository navigation
fix(core): use top-left viewport origin on WebGPU - #11018
Merged
Merged
Conversation
chrisgervang
marked this pull request as ready for review
November 3, 2026 16:31
[Medium impact] The PR appears safe to merge; no actionable defects were found. SummaryFixes vertically misplaced partial-height views on WebGPU.
Static review found no actionable issues. Tests were not run. Reviews (3) · Last reviewed commit: "fix(core): use top-left viewport origin ..." · Reviewed by Greptile |
ibgreen
force-pushed
the
chr/webgpu-y-origin
branch
from
November 9, 2026 15:38
8969a11 to
cac337e
Compare
ibgreen
approved these changes
Nov 9, 2026
ibgreen
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed the refreshed viewport-origin fix. WebGPU preserves top-left viewport coordinates while WebGL retains the existing bottom-left conversion. The partial-height viewport regression passes locally; no blocking findings.
This was referenced Nov 18, 2026
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.
Background
Part of #11020. WebGPU views covering part of the canvas render at a vertically mirrored location. The picking-coordinate fix has landed in #11027, so this PR now stands on its own.
Change List
Rebased on master after #11027; viewport regression and lint pass. Fresh CI is running.
Left: WebGPU before. Middle: WebGPU after. Right: WebGL. Top and bottom views cover 60% and 40% of the canvas.
Backport: retain this viewport fix alongside the picking implementation from #11027 (original picking commit
38c9fa7e71) for the 9.4 release line.