Skip to content

CTS render_pass:storeOp tests fail on Vulkan and DX12 if run together, but pass if run separately #8021

@andyleiserson

Description

@andyleiserson

On Vulkan and DX12, if run in a single run (i.e. with the test selector webgpu:api,operation,render_pass,storeOp:*), these tests fail with errors like:

** Failures **
[fail] webgpu:api,operation,render_pass,storeOp:render_pass_store_op,multiple_color_attachments:storeOperation1="discard";storeOperation2="discard" (46ms). Log:
  - (in subcase: colorAttachments=1) EXPECTATION FAILED: Array had unexpected contents at indices 10 through 127.
     Starting at index 9:
       actual == 0x: 00 80 3f 00 00 80 3f a6 03 1d 70 a6 03 1d 70 a6 03 1d 70 a6 03 1d 70 cd cc 4c 3f 00 00 40 3f cd cc 4c 3f ...
       failed ->        xx xx       xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx       xx xx xx xx xx xx ...
     expected ==     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
    Error
        at AllFeaturesMaxLimitsGPUTest.eventualAsyncExpectation (file:///D:/a/wgpu/wgpu/cts/out/common/framework/fixture.js:258:24)
        at AllFeaturesMaxLimitsGPUTest.expectGPUBufferValuesPassCheck (file:///D:/a/wgpu/wgpu/cts/out/webgpu/gpu_test.js:695:10)
        at AllFeaturesMaxLimitsGPUTest.expectGPUBufferValuesEqual (file:///D:/a/wgpu/wgpu/cts/out/webgpu/gpu_test.js:711:10)
        at AllFeaturesMaxLimitsGPUTest.expectGPUBufferRepeatsSingleValue (file:///D:/a/wgpu/wgpu/cts/out/webgpu/gpu_test.js:755:12)
        at AllFeaturesMaxLimitsGPUTest.expectSingleColor (file:///D:/a/wgpu/wgpu/cts/out/webgpu/gpu_test.js:924:10)
        at RunCaseSpecific.fn (file:///D:/a/wgpu/wgpu/cts/out/webgpu/api/operation/render_pass/storeOp.spec.js:299:7)
  - (in subcase: colorAttachments=1) INFO: subcase ran
  - (in subcase: colorAttachments=2) INFO: subcase ran
  - (in subcase: colorAttachments=3) INFO: subcase ran
  - (in subcase: colorAttachments=4) INFO: subcase ran

If run separately, they pass. They are also passing in Firefox CTS runs.

Metadata

Metadata

Assignees

Labels

area: ctsIssues stemming from the WebGPU Conformance Test Suitebackend: dx12Issues with DX12 or DXGIbackend: vulkanIssues with Vulkantype: bugSomething isn't working

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions