Repository navigation
feat(extensions): port DataFilterExtension to WebGPU - #10990
Conversation
Codex Review SummaryThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
[Medium impact] The PR appears safe to merge; no new actionable issue was found. SummaryPorts
The previous findings are addressed by plugin forwarding, corrected icon/text color order, device checks, and extension-attribute updates. All supplied previous threads are unnumbered, so they have no numbered ledger entries. ibgreen explicitly defers WebGPU Heatmap filtering because its weight pass needs separate integration. Attribute interleaving and hardware-limit work are also deferred. Review checks were source-based; no build, browser tests, or visual capture was run.
|
64d579f to
b66d286
Compare
58e9c9e to
453eb33
Compare
453eb33 to
e52f98c
Compare
b66d286 to
7a26276
Compare
e52f98c to
54938e5
Compare
7a26276 to
2170274
Compare
f7c4f1f to
b2e1e09
Compare
2170274 to
8c2216c
Compare
8c2216c to
4744265
Compare
869dfe5 to
3653b77
Compare
3653b77 to
9941ce7
Compare
f112734 to
d243e8b
Compare
9941ce7 to
f5ccac7
Compare
4f9fdcc to
3bff823
Compare
1286280 to
50040cb
Compare
f9be900 to
0e719b8
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 90fb2e3. Configure here.
108d861 to
8604fcd
Compare
2a816bd to
86e6032
Compare
8604fcd to
6aafc5c
Compare
6aafc5c to
9a88e8d
Compare

For #9504
Background
Port DataFilterExtension to WebGPU using luma.gl ShaderPlugins. Depends only on #10996, independently of Brushing and Clip; item counting remains WebGL-only.
Some background: we’re porting deck.gl extensions to WebGPU using luma.gl’s new ShaderPlugin API.
The critical new feature is that luma.gl ShaderPlugins handle the required “surgery” on WGSL shader source code. In WGSL, adding an attribute or varying cannot be done simply by adding global declarations as in GLSL. It requires editing the main shader functions’ parameters and input/output structs, and carefully assigning attribute and varying locations.
deck.gl retains attribute creation, accessor updates, and extension lifecycle management. luma.gl ShaderPlugins handle shader composition. This gives Brushing, Clip, and DataFilter a common path across both backends.
Change List
countItemsbefore resource creationVerified: rebased onto master after #10996. Full build and lint passed with luma.gl alpha.10. CI rerunning.
TODO
Integrate filtering into Heatmap's custom WebGPU passes; currently unsupported
Follow up with extension-managed vertex attribute interleaving
Address vertex-buffer and attribute limits comprehensively; interleaving saves buffer slots, not attribute locations
Note
Medium Risk
Adds WGSL shader pipelines for data filtering and adjusts aggregation invalidation logic across GPU backends, though WebGL behavior remains largely unchanged and WebGPU counting restrictions are explicitly guarded.
Overview
Ports
DataFilterExtensionto WebGPU using luma.glShaderPlugindefinitions. The new plugin implements WGSL shaders and injections for numeric and categorical filtering, 64-bit precision values, soft ranges, and geometry size/color transformations. Filtered item counting (countItems) remains WebGL-only and explicitly throws an error if configured on WebGPU.Updates
AggregationLayerto properly forward extension shader uniforms to GPU aggregators and trigger aggregation updates when extension uniforms or attributes change. Also updates documentation, adds comprehensive WebGPU unit tests, and enables WebGPU in visual regression test suites and website examples.Reviewed by Cursor Bugbot for commit 9a88e8d. Bugbot is set up for automated code reviews on this repo. Configure here.