Skip to content

GSplatProcessor: Add numSplats uniforms and automatic padding skip#8430

Merged
mvaligursky merged 1 commit into
mainfrom
mv-GSplatProcessor-Add-numSplats-uniforms-and-automatic-padding-skip
Feb 2, 2026
Merged

GSplatProcessor: Add numSplats uniforms and automatic padding skip#8430
mvaligursky merged 1 commit into
mainfrom
mv-GSplatProcessor-Add-numSplats-uniforms-and-automatic-padding-skip

Conversation

@mvaligursky

@mvaligursky mvaligursky commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds srcNumSplats and dstNumSplats uniforms to processing shaders
  • Automatically skips padding pixels in the shader wrapper (texture may be larger than actual splat count)

Details

GSplatProcessor now automatically discards padding pixels before calling the user's process() function. This matches the behavior of rendering shaders and removes the burden from users to handle texture padding manually.

The following uniforms are now available in processing shaders:

  • srcNumSplats - Number of splats in source resource
  • dstNumSplats - Number of splats in destination resource

These complement the existing splatTextureSize and dstTextureSize uniforms.

@mvaligursky mvaligursky self-assigned this Feb 2, 2026
@mvaligursky mvaligursky added enhancement Request for a new feature area: graphics Graphics related issue labels Feb 2, 2026
@mvaligursky mvaligursky requested a review from a team February 2, 2026 16:52
@mvaligursky mvaligursky merged commit d30aa6a into main Feb 2, 2026
8 checks passed
@mvaligursky mvaligursky deleted the mv-GSplatProcessor-Add-numSplats-uniforms-and-automatic-padding-skip branch February 2, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: graphics Graphics related issue enhancement Request for a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant