Skip to content

feat(gsplat): Remove raster GPU sort path and sort-key compute#8685

Merged
mvaligursky merged 1 commit into
mainfrom
mv-remove-raster-gpu-sort
May 5, 2026
Merged

feat(gsplat): Remove raster GPU sort path and sort-key compute#8685
mvaligursky merged 1 commit into
mainfrom
mv-remove-raster-gpu-sort

Conversation

@mvaligursky

@mvaligursky mvaligursky commented May 5, 2026

Copy link
Copy Markdown
Contributor

Removes the experimental WebGPU path that combined GSplatQuadRenderer with a separate sort-key compute pass and indirect radix sort, along with GSplatSortKeyCompute and its WGSL chunk. The hybrid raster pipeline (GSplatProjector + radix sort) is unchanged.

Changes

  • Remove public constant GSPLAT_RENDERER_RASTER_GPU_SORT and the manager code path that used GSplatSortKeyCompute + sortGpu / dispatchGpuSort.
  • Set GSPLAT_RENDERER_RASTER_HYBRID to 2 (was 4); GSPLAT_RENDERER_COMPUTE remains 3.
  • Delete gsplat-sort-key-compute.js and WGSL chunk compute-gsplat-sort-key.js; adjust related comments in compute-gsplat-projector.js and gsplat-sort-bin-weights.js.
  • Gaussian splatting examples: drop “Raster (GPU Sort)” from renderer dropdowns; align hybrid to v: 2. Benchmark: one fewer column, use pc.GSPLAT_RENDERER_* for RENDERERS.

Public API

  • GSPLAT_RENDERER_RASTER_GPU_SORT removed (was 2).
  • GSPLAT_RENDERER_RASTER_HYBRID value is now 2 (was 4). Code that passed the hybrid mode as the number 4 should use 2 or the constant.

- Drop GSPLAT_RENDERER_RASTER_GPU_SORT; set GSPLAT_RENDERER_RASTER_HYBRID to 2
- Remove quad+sort-key compute+radix path from gsplat-manager; delete dead modules
- Update gaussian-splatting examples and benchmark renderer options
@mvaligursky mvaligursky self-assigned this May 5, 2026
@mvaligursky mvaligursky added the area: graphics Graphics related issue label May 5, 2026
@mvaligursky mvaligursky merged commit 332ff8e into main May 5, 2026
8 checks passed
@mvaligursky mvaligursky deleted the mv-remove-raster-gpu-sort branch May 5, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: graphics Graphics related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant