The WebGPU document shows the maximum maxStorageBufferBindingSize is 134217728 bytes (128 MiB).
And I can get the parameter from the Chrome Console.
But I could get much larger size when I was in the Playground as below. The limit size is a little less than 2G.
But now, things wired happen. When I set a size like “241582080” of StorageBuffer in my local project, which is larger than 134217728 bytes, I got an error, “Binding size (241582080) of [Buffer “BabylonWebGPUDevice0_Buffer_CopySrc_CopyDst_Storage_size241582080”] is larger than the maximum binding size (134217728).”
So what’s the difference between Playground and my local project? How can I do if I want a larger size of StorageBuffer?




