Skip to content

Failures in CTS tests using primitive_index on DX12 with FXC #9105

@andyleiserson

Description

@andyleiserson

From https://github.com/gfx-rs/wgpu/actions/runs/22362494999/job/64719570505?pr=9101:

[fail] webgpu:api,validation,capability_checks,limits,maxInterStageShaderVariables:createRenderPipeline,at_over:limitTest="atDefault";testValueName="atLimit";async=true;items=["front_facing","primitive_index","sample_mask_out"] (94ms). Log:
  - EXPECTATION FAILED: REJECTED
    Internal error in ShaderStages(FRAGMENT) shader: FXC D3DCompile error (Unspecified error (0x80004005)): D:\a\wgpu\wgpu\cts\Shader@0x0000011168E94400(51,27-42): error X4576: Non system-generated input signature parameter () cannot appear after a system generated value.
    
        at LimitTests.eventualAsyncExpectation (file:///D:/a/wgpu/wgpu/cts/out/common/framework/fixture.js:258:24)
        at LimitTests.shouldResolve (file:///D:/a/wgpu/wgpu/cts/out/common/framework/fixture.js:280:10)
        at LimitTests.shouldRejectConditionally (file:///D:/a/wgpu/wgpu/cts/out/webgpu/api/validation/capability_checks/limits/limit_utils.js:706:12)
        at LimitTests.testCreateRenderPipeline (file:///D:/a/wgpu/wgpu/cts/out/webgpu/api/validation/capability_checks/limits/limit_utils.js:945:18)
        at file:///D:/a/wgpu/wgpu/cts/out/webgpu/api/validation/capability_checks/limits/maxInterStageShaderVariables.spec.js:216:15
        at file:///D:/a/wgpu/wgpu/cts/out/webgpu/api/validation/capability_checks/limits/limit_utils.js:664:15
        at LimitTests._testThenDestroyDevice (file:///D:/a/wgpu/wgpu/cts/out/webgpu/api/validation/capability_checks/limits/limit_utils.js:587:11)
        at LimitTests.testDeviceWithRequestedMaximumLimits (file:///D:/a/wgpu/wgpu/cts/out/webgpu/api/validation/capability_checks/limits/limit_utils.js:660:16)
        at eventLoopTick (ext:core/01_core.js:179:7)
        at async RunCaseSpecific.fn (file:///D:/a/wgpu/wgpu/cts/out/webgpu/api/validation/capability_checks/limits/maxInterStageShaderVariables.spec.js:210:3)

Note: FXC is no longer the default in cts_runner, so will need to be selected using DENO_WEBGPU_DX12_COMPILER env. var. to reproduce.

Metadata

Metadata

Assignees

Labels

area: ctsIssues stemming from the WebGPU Conformance Test Suitebackend: dx12Issues with DX12 or DXGIexternal: fxc issueIssues with the FXC HLSL compilerplatform: windowsIssues with integration with windowstype: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions