-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Full error: WebGPU error [frame][validation]: Binding size (146847752) of [Buffer "hair-segments-per-tile"] is larger than the maximum binding size (134217728).
- While validating entries[2] as a Buffer.
Expected entry layout: {type: BufferBindingType::Storage, minBindingSize: 12, hasDynamicOffset: 0} - While validating [BindGroupDescriptor "HairTilesPass-sintelHair-uniforms"] against [BindGroupLayout (unlabeled)]
- While calling [Device].CreateBindGroup([BindGroupDescriptor "HairTilesPass-sintelHair-uniforms"]).
EDIT: I was able to fix by changing line 38 of "segmentCountPerTileBuffer.ts" from
const size = entries * BYTES_U32;
to
const size = Math.min(entries * BYTES_U32, device.limits.maxStorageBufferBindingSize);
Thanks for sharing this awesome project!
Metadata
Metadata
Assignees
Labels
No labels