Skip to content

Shader model 6.10: Follow up on 'Cooperative Vector build fails when disabling optimizations' #8833

Closed as duplicate

Description

@mbouchard2

Description
Following up on issue #8433

I did tried the fix with 1.10.2605.37-preview, I do confirm that build issue has been fixed but now I do have similar error at runtime when trying to create the shader:

Steps to Reproduce
Build shader referenced in #8433

Create compute shader at runtime.

Actual Behavior
17:20:02:344 D3D12 ERROR: ID3D12Device::CreateComputeShader: error: Declaration '0x.types.LinAlgMatrixC8M32N32U0S0 = type { i8* }' uses a reserved prefix. [ STATE_CREATION ERROR #1423: BYTECODE_VALIDATION_ERROR]

If I do remove Od argument, I no longer have runtime issue.

Environment

  • DXC version 1.10.2605.37-preview
  • Host Operating System Version 24H2 (OS Build 26 100.9168)

Activity

  1. V-FEXrt commented on Sep 3, 2026

    @V-FEXrt
    Collaborator

    Talked with some folks over here and this is expected! The runtime compiler is going to have the older validator from the preview release we did back in April. The fix from the previous issue came later so I'd expect this to continue to fail until the AgilitySDK is updated

  2. V-FEXrt commented on Sep 3, 2026

    @V-FEXrt
    Collaborator

    It should be possible to bypass the validation per https://microsoft.github.io/hlsl-specs/proposals/infra/inf-0004-validator-hashing/#d3d-debug-layer-validation-control

    Here is a snippet from copilot that has not been validated but should point in the right direction

    D3D12_DEBUG_DEVICE_BYTECODE_VALIDATION_MODE mode =
        D3D12_DEBUG_DEVICE_BYTECODE_VALIDATION_DISABLED;
    
    ComPtr<ID3D12DebugDevice1> debugDevice;
    ThrowIfFailed(device->QueryInterface(IID_PPV_ARGS(&debugDevice)));
    ThrowIfFailed(debugDevice->SetDebugParameter(
        D3D12_DEBUG_DEVICE_PARAMETER_BYTECODE_VALIDATION_MODE,
        &mode,
        sizeof(mode)));
  3. moved this from Planning to Closed in HLSL Supporton Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugBug, regression, crashneeds-triageAwaiting triage

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions