GPUAdapter.limits seems unable to detect the true capabilities of the GPU #4533
Replies: 2 comments 4 replies
-
This is completely expected. Browser can expose any limits lower than what the hardware supports, and for a variety of reasons. They are required to bucket limits and features to limit the amount of fingerprinting exposed, they could have implementation limits (for example It would be useful to know what limit is making it difficult to port your WebGL code so we could suggest a workaround, or add some new buckets in implementations. |
Beta Was this translation helpful? Give feedback.
-
It's been brought up before for
|
Beta Was this translation helpful? Give feedback.
-
The GPUSupportedLimits obtained by Chrome(dawn) and Firefox(wgpu) are not consistent.
And the capabilities of modern GPUs are obviously higher than these data.
This data appears to be fixed in the software rather than being read from the hardware. And it's set very conservatively.(e.g. maxUniformBuffersPerShaderStage, maxVertexBuffers...)
This makes it difficult to convert some webgl programs into webgpu programs
Beta Was this translation helpful? Give feedback.
All reactions