You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When requesting POLYGON_MODE_LINE in webgpu it doesn't give an error despite it not working. Webgl correctly gives an error.
A similar issue also happen when using PolygonMode::Line without requesting the feature. In webgl it will give an error while in webgpu it gives no error but doesn't render correctly.
Repro steps
I discovered this with bevy. I tried making a simple reproduction but I couldn't figure out how to build a simple repro and build it for wasm, I kept getting unrelated errors, I was probably doing something wrong. Is there a simple template somewhere that I could use?
Expected vs observed behavior
Expected: All platform that do not support POLYGON_MODE_LINE to raise an error if the feature is requested
Observed: Some platform that do not support POLYGON_MODE_LINE do not raise an error if the feature is requested
Platform
I was using windows, but I don't think this is OS related.
This was found with bevy 0.12-dev which is still on wgpu 0.16
The text was updated successfully, but these errors were encountered:
@teoxoy I'm not sure that PR completely fixed the issue. Like I said, I'm not sure how to reproduce it outside of bevy, but that PR only fixed the primitive validation not the feature check validation. Was it just already fixed on main?
teoxoy
changed the title
POLYGON_MODE_LINE in webgpu doesn't give an error despite not being supported
[WebGPU] Error if any required feature is not available
Jul 6, 2024
Description
When requesting POLYGON_MODE_LINE in webgpu it doesn't give an error despite it not working. Webgl correctly gives an error.
A similar issue also happen when using
PolygonMode::Line
without requesting the feature. In webgl it will give an error while in webgpu it gives no error but doesn't render correctly.Repro steps
I discovered this with bevy. I tried making a simple reproduction but I couldn't figure out how to build a simple repro and build it for wasm, I kept getting unrelated errors, I was probably doing something wrong. Is there a simple template somewhere that I could use?
Expected vs observed behavior
Expected: All platform that do not support
POLYGON_MODE_LINE
to raise an error if the feature is requestedObserved: Some platform that do not support
POLYGON_MODE_LINE
do not raise an error if the feature is requestedPlatform
I was using windows, but I don't think this is OS related.
This was found with bevy 0.12-dev which is still on wgpu 0.16
The text was updated successfully, but these errors were encountered: