Report PRECONDITION_FAILED
-ish outcomes for unavailable optional features
#3859
Labels
enhancement
New feature or request
Quite a few tests in CTS exercise optional features in the WebGPU spec. When these tests' feature dependencies are not satisfied, they currently report
PASS
(IME; this may be incorrect, viz., some may yieldFAIL
instead).According to WPT upstream's "Optional features" section, tests of optional features (i.e., the
shader-f16
feature) should use theassert_implements_optional
API to emit anPRECONDITION_FAILED
outcome. This seems an interesting distinction not only for WPT, but also for the standalone runner's reports.The text was updated successfully, but these errors were encountered: