Skip to content

fix(core): per-stage resource limit validation (v0.21.1)#104

Merged
kolkov merged 1 commit intomainfrom
fix/bgl-stage-limits
Mar 15, 2026
Merged

fix(core): per-stage resource limit validation (v0.21.1)#104
kolkov merged 1 commit intomainfrom
fix/bgl-stage-limits

Conversation

@kolkov
Copy link
Contributor

@kolkov kolkov commented Mar 15, 2026

Validates storage/uniform/sampler/texture counts per stage in CreateBindGroupLayout before calling HAL. Prevents wgpu-native abort on Rust backend.

Prevents wgpu-native abort when Vello compute requests 9 storage buffers
on devices with limit 8. Error returned gracefully, enabling SDF fallback.
@kolkov kolkov merged commit 236cc3c into main Mar 15, 2026
10 checks passed
@codecov
Copy link

codecov bot commented Mar 15, 2026

Codecov Report

❌ Patch coverage is 3.57143% with 27 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
core/validate.go 3.57% 18 Missing and 9 partials ⚠️

📢 Thoughts on this report? Let us know!

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