Skip to content

fix(aggregation-layers): prefer supported float32 Heatmap accumulation - #11174

Merged
ibgreen merged 4 commits into
masterfrom
codex/heatmap-float-capabilities
Nov 18, 2026
Merged

ibgreen merged 4 commits into
masterfrom
codex/heatmap-float-capabilities

Conversation

@ibgreen

@ibgreen ibgreen commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

For #10712

Change List

  • Select a blendable, filterable accumulation format by device capabilities
  • Unit tests for the new path
  • Documentation

Note

Low Risk
Low risk change to texture format negotiation that maintains existing fallbacks and adds targeted unit test coverage.

Overview
Updates HeatmapLayer to dynamically select the highest-precision supported texture format for weight accumulation (rgba32float, rgba16float, or rgba8unorm). Accumulation candidates are evaluated in descending precision by checking device capabilities for rendering, linear filtering, and blending across both WebGPU and WebGL backends.

Adds documentation on enabling optional WebGPU float32 features for higher precision, along with unit tests validating the format selection fallbacks.

Reviewed by Cursor Bugbot for commit e1fb239. 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-18T00:10:06.892128Z e4f44d0 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

[Medium impact] The reviewed changes appear safe to merge; no new actionable issues were found.

Summary

HeatmapLayer now chooses the highest-precision float texture that supports drawing, blending, and smooth sampling.

  • HeatmapLayer picks the most precise texture that supports blending and filtering.

Reviews (4) · Last reviewed commit: "Check Heatmap formats on both backends a..." · Reviewed by Greptile

@coveralls

coveralls commented Nov 18, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 82.641% (+0.09%) from 82.555% — codex/heatmap-float-capabilities into master

@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 9a6dc0c; recommend approval. No P1s. The WebGPU check matches luma.gl's capability rules, but Deck's default WebGPU device never enables the float32 features, so most apps still get rgba16float.

Labels: P1 settle before this is merged, P2 can follow, Non-blocking optional.


Generated by Claude Code

@ibgreen
ibgreen added this pull request to the merge queue Nov 18, 2026
Merged via the queue into master with commit 0205a2b Nov 18, 2026
9 checks passed
@ibgreen
ibgreen deleted the codex/heatmap-float-capabilities branch November 18, 2026 13:50
@ibgreen ibgreen mentioned this pull request Nov 18, 2026
14 of 70 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.

3 participants