Open Bug 1864498 Opened 6 months ago Updated 1 month ago

Expected shader code compilation failures should pass

Categories

(Core :: Graphics: WebGPU, defect, P3)

defect

Tracking

()

People

(Reporter: teoxoy, Unassigned)

References

(Blocks 2 open bugs)

Details

CTS tests that use t.expectCompileResult(false, '<code>'); seems to always? return FAIL even if there was an error.

Example:

[cts.https.html?q=webgpu:shader,validation,decl,const:no_indirect_recursion_via_struct_attribute:*]
  [:target="b";attribute="align"]
    expected: FAIL

  [:target="b";attribute="location"]
    expected: FAIL

  [:target="b";attribute="size"]
    expected: FAIL

Naga does throw errors for those, so I was expecting PASSes here.

Severity: S2 → S4
Priority: P2 → P3
Blocks: 1886808
You need to log in before you can comment on or make changes to this bug.