Skip to content

feat(layers) Port ColumnLayer to WebGPU - #10122

Closed
ibgreen wants to merge 0 commit into
masterfrom
ib/webgpu-column-layer
Closed

feat(layers) Port ColumnLayer to WebGPU#10122
ibgreen wants to merge 0 commit into
masterfrom
ib/webgpu-column-layer

Conversation

@ibgreen

@ibgreen ibgreen commented Mar 22, 2026

Copy link
Copy Markdown
Collaborator

Closes #

Background

Change List

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

modules: [project32, flatShading ? phongMaterial : gouraudMaterial, picking, columnUniforms]

P1 Badge Load the WGSL color module for ColumnLayer

In WebGPU, this layer now assembles column-layer.wgsl.ts, but that shader reads color.opacity and calls deckgl_premultiplied_alpha while getShaders() only registers project32, the material module, picking, and columnUniforms. Because no color WGSL source is included, the assembled shader has no color symbol or premultiplied-alpha helper, so creating a ColumnLayer (and therefore GridCellLayer, which subclasses it) on WebGPU fails at shader compilation time.

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@coveralls

coveralls commented Mar 22, 2026

Copy link
Copy Markdown

Coverage Status

Coverage is 83.391%ib/webgpu-column-layer into master. No base build found for master.

const smoothSource = /* wgsl */ `\
${sharedSource}

struct Varyings {

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.

Seems like a lot of repeated code, compared to the much more limited #define blocks in the GLSL

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.

Instead use string interpolation?

@chrisgervang chrisgervang added this to the v9.3 milestone Apr 1, 2026
@chrisgervang chrisgervang modified the milestones: v9.3, v10 Jun 29, 2026
@ibgreen-openai
ibgreen-openai force-pushed the ib/webgpu-column-layer branch from 7dedee7 to 928c5bd Compare July 23, 2026 11:43
@ibgreen-openai
ibgreen-openai force-pushed the ib/webgpu-column-layer branch from 928c5bd to bd7866d Compare July 23, 2026 11:58
@ibgreen-openai ibgreen-openai mentioned this pull request Jul 23, 2026
26 tasks
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.

5 participants