Skip to content

Latest D3D12 Agility SDK breaks running Debug builds #1638

@DeaTh-G

Description

@DeaTh-G

The following validation error is triggered when running the game using the D3D12 backend on Debug builds. It triggers the moment the textures used for ImGui are trying to be loaded.

Agility SDK: 1.616.1

D3D12 ERROR: ID3D12CommandList::CopyTextureRegion: Barrier layout(D3D12_BARRIER_LAYOUT_LEGACY_COPY_DEST), pResource = 0x0000008008045BA0:'Unnamed ID3D12Resource Object', subresource = [0], does not match expected layout (D3D12_BARRIER_LAYOUT_COMMON) using D3D12_COMMAND_LIST_TYPE_COPY command list 0x00000080077F5B80:'Unnamed ID3D12GraphicsCommandList Object') in CopyTextureRegion for use as a destination resource [ STATE_SETTING ERROR #1334: INCOMPATIBLE_BARRIER_LAYOUT]
D3D12: **BREAK** enabled for the previous message, which was: [ ERROR STATE_SETTING #1334: INCOMPATIBLE_BARRIER_LAYOUT ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions