Skip to content

feat(aggregation-layers): clip borrowed ScreenGrid GPUVector inputs - #11185

Merged
ibgreen merged 2 commits into
masterfrom
codex/screen-grid-vector-extensions
Nov 18, 2026
Merged

ibgreen merged 2 commits into
masterfrom
codex/screen-grid-vector-extensions

Conversation

@ibgreen

@ibgreen ibgreen commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

For #10712

Background

ScreenGrid rejects extensions when positions and weights come from GPU vectors. ClipExtension can use these columns directly.

Change List

  • Bind borrowed ScreenGrid columns to the clipping pass
  • Unit tests for interleaved inputs and clip bounds updates
  • Documentation for supported formats and buffer usage

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 ScreenGridLayer to support ClipExtension when positions and weights are supplied directly as borrowed GPUVector inputs on WebGPU.

Previously, AggregationLayer rejected any extensions when using GPU columns. This change introduces a supportsGPUColumnExtensions hook, allowing ScreenGridLayer to permit ClipExtension when borrowed float32x3 positions and float32 weights have vertex buffer usage.

When GPU column inputs are present, the layer directly binds positions, positions64Low, and counts instance 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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T14:07:57.812548Z faff838 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Summary

ScreenGrid now supports ClipExtension with compatible borrowed GPU inputs on WebGPU. The follow-up adds the missing release note and links to the input requirements.

  • WebGPU ScreenGridLayer clips borrowed position and weight columns.

Reviews (3) · Last reviewed commit: "Document ScreenGrid GPUVector clipping i..." · Reviewed by Greptile

@coveralls

coveralls commented Nov 18, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 82.598% (-0.04%) from 82.637% — codex/screen-grid-vector-extensions into master

@ibgreen
ibgreen merged commit 2e3d73f into master Nov 18, 2026
9 checks passed
@ibgreen
ibgreen deleted the codex/screen-grid-vector-extensions branch November 18, 2026 14:40

@chrisgervang chrisgervang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants