Repository navigation
feat(aggregation-layers): clip borrowed ScreenGrid GPUVector inputs - #11185
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Low impact] The PR appears safe to merge. SummaryScreenGrid now supports
Reviews (3) · Last reviewed commit: "Document ScreenGrid GPUVector clipping i..." · Reviewed by Greptile |
chrisgervang
left a comment
There was a problem hiding this comment.
Reviewed 037985e after merge; recommend approval. No P1s.
#11188 moved this binding and its docs into AggregationLayer, and the follow-ups for the shared path are on #11188.
Labels: P1 settle before this is merged, P2 can follow, Non-blocking optional.
Generated by Claude Code
For #10712
Background
ScreenGrid rejects extensions when positions and weights come from GPU vectors. ClipExtension can use these columns directly.
Change List
Verified with lint and 13 Chromium WebGPU aggregation tests.
Note
Low Risk
Low risk feature addition scoped to WebGPU ScreenGrid aggregation with borrowed GPUVector inputs and ClipExtension.
Overview
Enables
ScreenGridLayerto supportClipExtensionwhen positions and weights are supplied directly as borrowedGPUVectorinputs on WebGPU.Previously,
AggregationLayerrejected any extensions when using GPU columns. This change introduces asupportsGPUColumnExtensionshook, allowingScreenGridLayerto permitClipExtensionwhen borrowedfloat32x3positions andfloat32weights have vertex buffer usage.When GPU column inputs are present, the layer directly binds
positions,positions64Low, andcountsinstance attributes on the aggregator model, bypassing accessor generation and attribute manager updates.Reviewed by Cursor Bugbot for commit 037985e. Bugbot is set up for automated code reviews on this repo. Configure here.