Specify when missing texture format is a downlevel restriction #2837
Labels
area: validation
Issues related to validation, diagnostics, and error handling
good first issue
Good for newcomers
help required
We need community help to make this happen.
type: enhancement
New feature or request
Is your feature request related to a problem? Please describe.
wgpu started supporting software rendering and as a result I got this error from my tests running on headless CI with the llvmpipe software renderer:
This is a downlevel restriction (not-
WEBGPU_TEXTURE_FORMAT_SUPPORT
) but the error message doesn't say it is, unlike others.Describe the solution you'd like
Make this error message specify that this is a downlevel issue. This should be possible by, at
CreateTextureError::InvalidFormatUsages
error printing time, checking the combination requested against the WebGPU specification's required support.The text was updated successfully, but these errors were encountered: