Misleading create_render_pipeline error message when hitting bind group limit #2526
Labels
area: validation
Issues related to validation, diagnostics, and error handling
help required
We need community help to make this happen.
type: enhancement
New feature or request
Description
When calling create_render_pipeline with a shader that goes over the allowed maximum bind groups as set by
DeviceDescriptor::limits::max_bind_groups
(by default 4), the returned error message is quite misleading:The error should mention hitting the limit and possibly suggest raising it (if the new value would be less than the adapter limit)
The text was updated successfully, but these errors were encountered: