Skip to content

chore(gsplat): remove compute-renderer leftovers#8940

Merged
mvaligursky merged 1 commit into
mainfrom
mv-gsplat-deadcode
Jun 22, 2026
Merged

chore(gsplat): remove compute-renderer leftovers#8940
mvaligursky merged 1 commit into
mainfrom
mv-gsplat-deadcode

Conversation

@mvaligursky

Copy link
Copy Markdown
Contributor

Cleans up two pieces of dead code left behind by the compute-renderer removal (#8921).

Changes:

  • Remove the unused _createTonemapIncludes helper and its two now-orphaned shader-chunk imports from GSplatRenderer (internal, @ignore).
  • Refresh two stale comments in gsplat-renderer.js that still referenced the compute renderer (class header + setDataSource JSDoc).
  • Remove the "Occluder" toggle from the lod-streaming example (control, orange cube, and observer wiring). It only enabled sceneDepthMap for the compute splat rasterizer's manual depth test; nothing in the raster path reads it, so it was dead demo UI.

Examples:

  • gaussian-splatting/lod-streaming — "Occluder" toggle removed.

Cleans up dead code left behind by the compute-renderer removal (#8921).

- Remove the unused _createTonemapIncludes helper and its two orphaned
  shader-chunk imports from GSplatRenderer.
- Refresh two stale comments that still referenced the compute renderer
  (class header + setDataSource JSDoc).
- Remove the Occluder toggle from the lod-streaming example (control,
  orange cube, observer wiring); it only enabled sceneDepthMap for the
  compute rasterizer's manual depth test, which the raster path ignores.
@github-actions

Copy link
Copy Markdown

Build size report

This PR changes the size of the minified bundles.

Bundle Minified Gzip Brotli
playcanvas.min.js 2282.6 KB (−0.3 KB, −0.01%) 585.4 KB (−0.2 KB, −0.03%) 455.2 KB (−0.2 KB, −0.04%)
playcanvas.min.mjs 2280.0 KB (−0.3 KB, −0.01%) 584.6 KB (−0.2 KB, −0.03%) 454.8 KB (+0.2 KB, +0.04%)

@mvaligursky mvaligursky merged commit 37ecd65 into main Jun 22, 2026
10 checks passed
@mvaligursky mvaligursky deleted the mv-gsplat-deadcode branch June 22, 2026 13:35
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.

1 participant