Repository navigation
test(core): cover off-center WebGPU picking and readback rows - #11019
Merged
Merged
Conversation
chrisgervang
commented
Nov 3, 2026
[Low impact] This test-only PR appears safe to merge. SummaryAdds a WebGPU regression test for asynchronous picking in a partial-height view.
No actionable issues found. This review checked source code; tests were not run. Reviews (5) · Last reviewed commit: "test(core): cover off-center WebGPU pick..." · Reviewed by Greptile |
Davien21
added a commit
to Davien21/deck.gl
that referenced
this pull request
Nov 3, 2026
This reverts commit e41af4e. The mirrored WebGPU picking is tracked in visgl#11020 and fixed separately, so this PR stays on canvas mounting. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ibgreen
force-pushed
the
chr/webgpu-y-origin
branch
from
November 9, 2026 15:38
8969a11 to
cac337e
Compare
ibgreen
force-pushed
the
chr/webgpu-y-origin-picking
branch
from
November 9, 2026 15:39
50cd29d to
b871369
Compare
ibgreen
approved these changes
Nov 9, 2026
ibgreen
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed the reworked test-only diff. It retains off-center picking, scissor-origin and radius-readback ordering coverage without duplicating the implementation landed in #11027. All five picker tests and lint pass locally; no blocking findings.
ibgreen
force-pushed
the
chr/webgpu-y-origin-picking
branch
from
November 9, 2026 15:53
b871369 to
77474c6
Compare
Davien21
added a commit
to Davien21/deck.gl
that referenced
this pull request
Nov 26, 2026
This reverts commit e41af4e. The mirrored WebGPU picking is tracked in visgl#11020 and fixed separately, so this PR stays on canvas mounting. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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. The picking implementation landed in #11027 and the viewport fix in #11018. This follow-up retains dedicated regression coverage without duplicating either implementation.
Change List
Rebased on master after #11018; all five picker tests and lint pass. Final CI is running.
Backport: the 9.4 release line needs #11018's viewport fix plus the picking implementation now in #11027 (original commit
38c9fa7e71). This PR adds tests only; it does not supply that implementation. Ensure the target luma.gl release applies render-pass parameters (visgl/luma.gl#3650).Note
Low Risk
Test-only changes with no modifications to production runtime code.
Overview
Adds regression test coverage for asynchronous picking in
DeckPickerwhen running on WebGPU devices.The test verifies picking behavior within a partial-height viewport, confirming that the render pass scissor rectangle uses a top-left origin, queries outside the viewport return empty results, and readback rows maintain bottom-to-top ordering during radius queries.
Reviewed by Cursor Bugbot for commit 77474c6. Bugbot is set up for automated code reviews on this repo. Configure here.