Skip to content

D3D12 Debug Layer throws 'COMMAND_LIST_STATIC_DESCRIPTOR_RESOURCE_DIMENSION_MISMATCH' for AccelStructs #125

Description

@Gistix

[11352] D3D12 ERROR: ID3D12CommandList::Dispatch: Static Descriptor SRV resource dimensions (UNKNOWN (11)) differs from that expected by shader (D3D12_SRV_DIMENSION_BUFFER) at register 0 space 0. Static Descriptor (ptr = 0x0065678a001d4080) is from Descriptor Table Handle (ptr = 0x0065678a001d4080) at 0 descriptor offset. Also Root Signature (0x00000000D4206060:'Unnamed ID3D12RootSignature Object')'s Descriptor Table (at Parameter Index [5])'s Descriptor Range (at Range Index [0])'s Descriptor (at descriptorIndex in range [0]). [ EXECUTION ERROR #1023: COMMAND_LIST_STATIC_DESCRIPTOR_RESOURCE_DIMENSION_MISMATCH]
[11352] D3D12: **BREAK** enabled for the previous message, which was: [ ERROR EXECUTION #1023: COMMAND_LIST_STATIC_DESCRIPTOR_RESOURCE_DIMENSION_MISMATCH ]

UNKNOWN (11) is D3D12_SRV_DIMENSION::D3D12_SRV_DIMENSION_RAYTRACING_ACCELERATION_STRUCTURE = 11

Shaders work just fine (without debug layer that is) and after inspecting the codebase I can't really see where the issue might be

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions