Skip to content

WebGPURenderer default maxBufferSize too small #29865

@AndrewChan2022

Description

@AndrewChan2022

Description

WebGPURenderer backend default device.maxBufferSize = 256M too small, WebGLRenderer has no such limit.

However hardware limit is more than 256M, so user need explicitly get adapter.maxBufferSize to set param.requiredLimits.maxBufferSize.

Also check other limit such as maxStorageBufferBindingSize, ...

Solution

WebGPUBackend set necessary limit from adapter to device if user not set.

Alternatives

or a flag to require set limit from adapter to device.

Additional context

No response

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions